Search found 10 matches

by Pyro In A Cage
Sun Feb 11, 2007 12:32 pm
Forum: PHP - Code
Topic: file_get_contents cookie?
Replies: 7
Views: 791

I checked out snoopy, but can't figure it out either. Will you please give me an example of how to use it?
by Pyro In A Cage
Sat Feb 10, 2007 1:35 pm
Forum: PHP - Code
Topic: file_get_contents cookie?
Replies: 7
Views: 791

Thank you. I'm sorry that I responded with such hostility. It frustrates me when people try to tell me things like that, but I know your just trying to help.

I have to go to work right now, but when I get back I will check out Snoopy. Thank you for your help.
by Pyro In A Cage
Sat Feb 10, 2007 1:11 am
Forum: PHP - Code
Topic: file_get_contents cookie?
Replies: 7
Views: 791

If I wanted legal advice, I would not have come to a programming forum. Do you contact your ISP every time you check your E-Mail with a third-party E-Mail client such as outlook or thunderbird? Do you contact google everytime you view their website with firefox or internet explorer? How about asking...
by Pyro In A Cage
Fri Feb 09, 2007 10:27 pm
Forum: PHP - Code
Topic: file_get_contents cookie?
Replies: 7
Views: 791

Thank you very much, that looks like it will work. But it is very complicated, and I don't know how it works. I looked at the manual, but am still confused.

Would you mind giving me an example of how to use it to do what I need?
by Pyro In A Cage
Fri Feb 09, 2007 9:45 pm
Forum: PHP - Code
Topic: file_get_contents cookie?
Replies: 7
Views: 791

file_get_contents cookie?

I am trying to use file_get_contents to get the contents of a members-only webpage. Because the website is members-only, the contents of the webpage obviously changes for each user. Is there any way to give the server a cookie, so that it logs into the website before getting the contents? I will be ...
by Pyro In A Cage
Mon Jul 17, 2006 11:31 pm
Forum: Databases
Topic: No error, but no insertion
Replies: 8
Views: 635

Whoa, how did I not notice that.....


Thank you :)
by Pyro In A Cage
Mon Jul 17, 2006 11:18 pm
Forum: Databases
Topic: No error, but no insertion
Replies: 8
Views: 635

Damn you guys are fast...

I echoed query, and there was nothing there. It did give an error: "Query was empty".

Wtf?
by Pyro In A Cage
Mon Jul 17, 2006 10:53 pm
Forum: Databases
Topic: No error, but no insertion
Replies: 8
Views: 635

No error, but no insertion

I don't get an error when running this query, but when I look in phpmyadmin, the data that should have been inserted is not there. $db = mysql_connect($db_host, $db_user, $db_pass); //Connect to the database mysql_select_db($db_table_auths,$db); //Select the table $query = ( 'INSERT INTO'.$db_name.'...
by Pyro In A Cage
Mon Jul 17, 2006 6:44 pm
Forum: PHP - Code
Topic: Using waaay too much memory, on a very small script
Replies: 7
Views: 364

I found the problem. For future reference: code_verify.php was including functions.php and variables.php. fariables.php included functions.php functions.php included variables.php This caused a never-ending loop of inclusions, as shown in the diagram below. http://img301.imageshack.us/img301/1606/in...
by Pyro In A Cage
Mon Jul 17, 2006 4:33 pm
Forum: PHP - Code
Topic: Using waaay too much memory, on a very small script
Replies: 7
Views: 364

Using waaay too much memory, on a very small script

I am working on an authorization script for use with one of my programs (In short, product keys). The page that verifies the code is erroring saying that it has exhausted all of the memory. It makes no sense because the amount of memory it's trying to use is smaller than the maxium. Fatal error: All...