Search found 6 matches

by stv
Sun Jul 06, 2008 7:58 pm
Forum: PHP - Code
Topic: I don't retrieve full HTML page using file_get_contents
Replies: 1
Views: 132

I don't retrieve full HTML page using file_get_contents

Hi People, an absolute beginner here. I' trying to get an html page using the function: file_get_contents($requestURL) I'm a flash programmer and I have to get Google Images by a certain query value, etc but file_get_contents is sending my flash file only a part of the result page; almost like 20 ro...
by stv
Wed Dec 06, 2006 8:07 pm
Forum: PHP - Code
Topic: mySql - update a field in a table on condition on another fi
Replies: 2
Views: 232

oh oh

thanks a lot jcart

(it's 3 am here...)
by stv
Wed Dec 06, 2006 7:49 pm
Forum: PHP - Code
Topic: mySql - update a field in a table on condition on another fi
Replies: 2
Views: 232

mySql - update a field in a table on condition on another fi

Hi there

why (in table: portfolio):

Code: Select all

$query = "UPDATE `portfolio` SET `showposition = showposition+1`  WHERE `published` NOT LIKE 0 AND `published` <= " . $timestamp . "ORDER BY id DESC";
doesn't work?

help!!!
by stv
Tue Dec 05, 2006 9:59 am
Forum: PHP - Code
Topic: xmlstring to Flash and IE cache...
Replies: 2
Views: 187

Yeah!

It works
thank you very much feyd
by stv
Tue Dec 05, 2006 9:18 am
Forum: PHP - Code
Topic: xmlstring to Flash and IE cache...
Replies: 2
Views: 187

xmlstring to Flash and IE cache...

Hi guys sending pieces of db to Flash in form of xml string, I can't show immediately (in Flash) modifications to the xml/db stuff in ASP I wrote: Response.Buffer = True Response.ExpiresAbsolute = Now() - 1 Response.Expires = 0 Response.CacheControl = "no-cache" it's ok. in PHP I tried: se...
by stv
Thu Oct 19, 2006 8:32 am
Forum: PHP - Code
Topic: query string syntax problems...
Replies: 2
Views: 483

query string syntax problems...

hi folks, I'm a beginner in php so please be patient. my question is why this query doesn't work?

Code: Select all

$query = "SELECT * FROM `songs` LIMIT '" . $_REQUEST['fromID'] . "','" . $_REQUEST['toID'] . "'";
thanks for help