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
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 -
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
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
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,
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
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
101 - 107 of 107 matches
Mail list logo