Search found 10 matches
- Fri Jan 12, 2007 6:31 am
- Forum: PHP - Code
- Topic: how to call a php page on an other server
- Replies: 1
- Views: 320
how to call a php page on an other server
Hello, How can I call a page2.php from page1.php as in calling a function, so call page2 and stay in page1? Is this possible (reason is, got two local servers, server1 and server2), server1 is connected trough a tunnel with an internet database. I have got things happening on server2 where i need to...
- Fri Oct 27, 2006 2:03 pm
- Forum: PHP - Code
- Topic: Assign some content of a page to a variable
- Replies: 3
- Views: 368
what when fopen disabled
And what when fopen and file_get_contens is disabled for security reasons, probably have to go call a c program to do the job ?
- Fri Oct 27, 2006 4:02 am
- Forum: PHP - Code
- Topic: Assign some content of a page to a variable
- Replies: 3
- Views: 368
Assign some content of a page to a variable
What i want to do...
I want to store the content of webpage into a variable (to store in database)
For example, I want to store the result of this page (which gives some text) in variable
http://api.hostip.info/get_html.php?ip= ... ition=true
Sombody knows a way to this ?
Thx
I want to store the content of webpage into a variable (to store in database)
For example, I want to store the result of this page (which gives some text) in variable
http://api.hostip.info/get_html.php?ip= ... ition=true
Sombody knows a way to this ?
Thx
- Thu Sep 28, 2006 8:22 am
- Forum: PHP - Code
- Topic: adding zeroes in front
- Replies: 1
- Views: 264
adding zeroes in front
Hello,
Ive created an array form a query which contains numbers like 5 , 45, 2, 846
But i should have it as 00005 , 00045 , 00002, 00846
What kind of instrucitions whould do this in a nice way...?
THx
Ive created an array form a query which contains numbers like 5 , 45, 2, 846
But i should have it as 00005 , 00045 , 00002, 00846
What kind of instrucitions whould do this in a nice way...?
THx
- Sat Aug 26, 2006 4:23 am
- Forum: PHP - Code
- Topic: newbie question why is '@' used ?
- Replies: 35
- Views: 5521
newbie question why is '@' used ?
Hello i have basic knowledge of php syntax but i was analyzing some code and had code like this $result = @mysql_query("SELECT folderkey FROM viduser WHERE serial = '".$_REQUEST['serial']."'"); and @fwrite($fh_p, " <play fn='".$fn."' time='".$time."' slid...
- Tue Aug 22, 2006 4:11 am
- Forum: PHP - Code
- Topic: [Solved]when variable contains a quot Insert does not work
- Replies: 4
- Views: 671
- Tue Aug 22, 2006 3:42 am
- Forum: PHP - Code
- Topic: [Solved]when variable contains a quot Insert does not work
- Replies: 4
- Views: 671
[Solved]when variable contains a quot Insert does not work
$qs = "INSERT INTO videodb VALUES ('$id','$title','$artist');"; $result = mysql_query($qs); This code normaly works unless $artist or $title contains a quot ' I when i echo $qs and try it in phpmyadmin, it says quot not closed and refering to the end... Any way to work around this issue ? ...
- Mon Apr 03, 2006 9:55 am
- Forum: PHP - Code
- Topic: php forwarding
- Replies: 1
- Views: 156
php forwarding
Hello, I'm updating an existing application which contains a lot of scripts to do forwording to other pages, like this for example }else{ echo "<script>window.location=\"login.php\"</script>"; Do we have a clean php solution for this matter, cause this is not a very beatifull sol...
- Mon Apr 03, 2006 7:08 am
- Forum: PHP - Code
- Topic: My sql contains "Joël" when i read this via php i
- Replies: 3
- Views: 220
more info
old server redhat
PHP Version 4.2.2
Your MySQL connection id is 85597 to server version: 3.23.54
new server ubuntu
PHP Version 5.0.5-2ubuntu1.2
Your MySQL connection id is 197 to server version: 4.0.24_Debian-10ubuntu2-log
I hope this helps
PHP Version 4.2.2
Your MySQL connection id is 85597 to server version: 3.23.54
new server ubuntu
PHP Version 5.0.5-2ubuntu1.2
Your MySQL connection id is 197 to server version: 4.0.24_Debian-10ubuntu2-log
I hope this helps
- Mon Apr 03, 2006 6:32 am
- Forum: PHP - Code
- Topic: My sql contains "Joël" when i read this via php i
- Replies: 3
- Views: 220
My sql contains "Joël" when i read this via php i
So my mysqldb contains a name "Joël" when i read this via php i get something like this Jo�l , i assume this has something to do with charset but im not able to find the clue here, anyone ?
Thx
Thx