[PHP] Re: How can obtain referer's name?

2002-05-12 Thread Austin Marshall
Alex Shi wrote: Hi! I want to know how can a script obtain the page name where it was linked. e.g., there's a link on page.html, and the link points to script.php, how can script.php know the name of page.html? Thanks in advance for all answer! Alex $_SERVER[HTTP_REFERER] -- PHP

Re: [PHP] restricting extentions at install

2002-05-12 Thread Jason Wong
On Monday 13 May 2002 08:54, Andrew DeFever wrote: Just would like to know how you restrict php to certain extentions before you compile. You mean whether or not to interpret file as php depending on .php, .php3 etc ? If so that is determined at run-time by your webserver. -- Jason Wong -

[PHP] Getting only 255 chars from SQL Server

2002-05-12 Thread David McGregor
I have an SQL Server database running on a server on the internet. I need to have php connecting to the db and returning values. Simple stuff. No problem making the connection and getting data using the mssql functions. The weird thing is that 4 of the fields in the table are vchar fields of

RE: [PHP] Generate inline image

2002-05-12 Thread Engineering Software Center
Thanks for the reply. But how do I do that exactly? img src=\generateimage.php\ ? is this correct? HTML docs only contain text. If you want images inline then you use the img tag. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Generate inline image

2002-05-12 Thread Martin Towell
yep, then in the file generateimage.php you'd have ? $im = imagecreate(...); // ... image creation code here header(Content-Type: image/png); // I do this anyway, I've found some browsers complain when you don't imagepng(); imagedestroy($im); ? obviously, the above code is for png,

RE: [PHP] inserting data to mutliple mysql tables

2002-05-12 Thread Peter
Thanks every one who replied Sorry for posting that question here. Miguel thanks for putting me on the right track with this .. i couldn't get it to work with mysql_insert_id() but looking that up it basically said that this one works better LAST_INSERT_ID() but I wouldn't have found that if

[PHP] Searching for XML mailing list

2002-05-12 Thread Manisha
I am searching for good XML related mailing lists / sites etc. Please give me some info about this. manisha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2