Search found 10 matches

by eddy05
Fri Jun 06, 2003 4:38 am
Forum: mySQL & php coding
Topic: Remote SQL?
Replies: 2
Views: 1151

Remote SQL?

I have a question. I'm able to connect and access to by database if I used mysql_connect("localhost") but I cannot access my database if I put mysql_connect("203.125.125.203") instead. (Assuming that was my IP. The error i got was: Access denied for user: '@203.125.125.203' to database 'db1' I wanna...
by eddy05
Fri Jun 06, 2003 2:27 am
Forum: PHP coding => General
Topic: Referer?
Replies: 4
Views: 1327

Referer?

How can I check the http referer? i tried $_SERVER["HTTP_REFERER"] but can't. There's no value. Please help. I'm using PHP 4.3.1
by eddy05
Thu Mar 13, 2003 11:32 pm
Forum: PHP coding => General
Topic: Differences in code
Replies: 3
Views: 1347

THANKS! It was very useful. Got it into my head :)
by eddy05
Thu Mar 13, 2003 7:38 pm
Forum: PHP coding => General
Topic: Differences in code
Replies: 3
Views: 1347

Differences in code

What are the differences between:

Object("Something");
Object["Something");
Object->Something;
Object=>Something;

I've seen these in php.net but not fully sure what is it.
by eddy05
Wed Mar 05, 2003 6:40 pm
Forum: PHP coding => General
Topic: Need Ideas for Page Expiry
Replies: 3
Views: 1499

Erm not quite right.

When the admin keys in the correct password, he will be able to access the admin page. But after he uses the admin page, he is still able to access it using the BACK on the browser. my point is how to I make it expire so that even the BACK function won't work
by eddy05
Wed Mar 05, 2003 6:16 pm
Forum: PHP coding => Mail
Topic: Show Name instead of address in From:
Replies: 0
Views: 1440

Show Name instead of address in From:

This is rather a mailing question than a php question. I wanna send email using my SMTP server, and use a name in the From: field. Previously, the receiver's email client will show like: From: eddy05@hotmail.com To: Receiver@whatever.com I wanna change it to be: From: eddy05's Mailing Server 1.0 To:...
by eddy05
Wed Mar 05, 2003 5:58 pm
Forum: PHP coding => General
Topic: Need Ideas for Page Expiry
Replies: 3
Views: 1499

Need Ideas for Page Expiry

I needed ideas for page expiry for security. I made a page that checks the $_POST and see whether the password is correct. If it's correct, it'll display the page. If not, the user will be directed to another page. 1 thing is that after this page has been accessed, the user can use the back function...
by eddy05
Wed Mar 05, 2003 12:05 am
Forum: mySQL & php coding
Topic: Setting up connection to .mdb [NEWBIE]
Replies: 4
Views: 1579

I found an alternate solution to my problem. Thanks!

The way I update my database is through SQL.
by eddy05
Tue Mar 04, 2003 9:24 pm
Forum: mySQL & php coding
Topic: Setting up connection to .mdb [NEWBIE]
Replies: 4
Views: 1579

Thank you very much RedCircle. I managed to get it *almost* working. I couldn't seem to update the database. It says: Warning: main(): PropPut() failed: Exception occurred. Source: ADODB.Field Description: Current Recordset does not support updating. This may be a limitation of the provider, or of t...
by eddy05
Tue Mar 04, 2003 6:58 pm
Forum: mySQL & php coding
Topic: Setting up connection to .mdb [NEWBIE]
Replies: 4
Views: 1579

Setting up connection to .mdb [NEWBIE]

I'm a ASP Migrater to PHP I wanna ask how do I establish a connection to my .mdb, update and display it? I'm using it for my hit counter. Previously, in ASP, the way I did it was: [PSEUDOCODE! NOT ASP CODE!] Create ADODB.Connection object Create ADODB.RecordSet object Open RecordSet using SQL and Co...