Why not just pass a variable:
and then in the PHP file do:
if ($function) {
function();
}
Ryan Shrout
Amdmb.com
-Original Message-
From: Geer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 1:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Function call from a hyperlink
Hello,
Ok I've got a script going to a Bcc but can't seem to get it to work
when it's like this?
\nBCC:$recipients";
include("password.inc");
if($mailusername == $username && $mailpassword == $password);
{
mail($to, $subject, $bodytext, $headers);
};
?>
So how do I get mail to Bcc a variabl
Are IE and Netscape both set the same as far as caching?
-
Brian S. Dunworth
Sr. Software Development Engineer
Oracle Database Administrator
The Printing House, Ltd.
(850) 875-1500 x225
<[EMAIL PROTECTED]>
Try a newline at the end of $headers
-Original Message-
From: Marcus James Christian [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 10:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Mail Bcc to a $variable?
Hello,
Ok I've got a script going to a Bcc but can't seem to get it to
you can't.
you have to write handler code to read in the
information being passed to the script and
properly execute a function.
(if anyone could arbitrarily execute any function
they wanted just by passing in the function name,
havoc would be wreaked on PHP programs everywhere :)
> -Origin
I like this idea but it's giving me a parse error on this code:
if (!{$C_Last_Name}{$y})
I'm looking at the other ideas also.
Jeff Oien
> > if (!$C_Last_Name$y) {
> > The form submitting information to this code has field name like
> > C_Last_Name1 C_Last_Name2 depending on how many Child
another way is to do eval () on $function but that kinda stuff is really bad
for security. Also bad to get carried away with making one file that passes
tons of different function names so your whole website's in one file :)
There should be some criminal punishment for doing that.
-Original
Hi all,
I was curious if anyone was aware of a XSLT compiler that outputs PHP
source? XSLTC which Sun donated to Apache Foundation creates Java source and
is part of the Xalan project. Java is slow and we are all PHP here.
Thanks!
Sincerely,
Steven Roussey
Network54.com
http://network54.com/?p
I'm trying to parse a xml document in php and to get in an array, but it
sometime give me really strange result.
Like if I have:
$simple=" test ";
$parser = xml_parser_create();
xml_parser_set_option($parser,XML_OPTION_SKIP_WHITE,1);
xml_parse_into_struct($parser,$simple,$vals,$index);
xml_par
I think you want
if (!(${"C_Last_Name$y"})) {
or
if (!(${"C_Last_Name".$y})) {
-Original Message-
From: Jeff Oien [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 10:22 AM
To: PHP
Subject: RE: [PHP] Variable Next To Variable?
I like this idea but it's giving me a parse error
No. It also depends on the internal engine used by the browser to
'contruct' the elements. On Windows plataforms, Netscape are slower to
render cached pages. But IE has an advantage, it is built around some native
windows functionalities, one of the reasons it is faster. I don't know for
other
recently heard of a review which measured that
IE 6(on win) was 3 times faster with 'tricky'-pages then
everything else on win & linux.
looking at HTML specifications it also won with 93% of supported
html-standard
the review as in a linux mag/webpage
( even opera which runs VERY nice in
What I'm doing is having a form page ask, "How many
children do you want to sign up?" Then it spits out form
fields for as many children as they asked for. So each
field has name="C_Last_Name$x" and $x in incremented
for each child. Should I make it name="C_Last_Name[$x]" ?
Jeff Oien
> you should
I added DISTINCT to the code (as per below):
Kamil Choma wrote:
> Mike Gifford wrote:
>>However, when I run this query:
>>mysql_query("SELECT DISTINCT
>> WLPbib.bibID,
>> WLPbib.title,
>> WLPbib.publisher,
>> WLPbib.publicationDate,
>> WLPaddress.city,
i agree that putting it all into one file is
usually bad form, but for small sites that dont
change much, it's usually OK to do something like:
file.php?page=Main
file.php?page=News
file.php?page=Contact
anything above 5-10 pages probably requires a
separate-page-per-section or fusebox-style de
Sounds like you want a GROUP BY bibID, then you'll have to put group by
functions on all the items you are selecting.
-Original Message-
From: Mike Gifford [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 10:00 AM
To: Kamil Choma
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Duplicat
well... ahem... netscape 4.x is 1996-97 technology.
4-5 years since the last major release of netscape
is an eternity of internet time in those
years, microsoft has been pouring money and time
into their browser no duh it kicks the crap
outta netscape 4.x :)
> -Original Message
you should make the form names
C_Last_Name1, C_Last_Name2, C_Last_Name3
and then have a hidden variable saying the maximum, then make a small
routine on the receiving page which loops 1 to the max and uses array_push
to make an array of children names. Check for empty() so that way is
someone f
Like this...
$headers = "From: Me <[EMAIL PROTECTED]>\nBCC:$recipients\n";
Or somewhere else?
Thanks,
Marcus
Russell Chadwick wrote:
> Try a newline at the end of $headers
>
> -Original Message-
> From: Marcus James Christian [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 200
Yeah, and it might even be picky about the spacing BCC: $recipients\n
whenever I've had a mail problem, its solved by viewing the headers. See if
your BCC is making it into the headers and then make sure its spaced like
the other fields or the mail server/client may not be using the field.
>Fr
how about :
if ((isset($number ))&&($number <= $max)){
while ($number > 0;$number -- ) {
echo 'Last Name';}
}
if you're not crazy about having the fields labled in reverse order you
could push to an array and then arsort the array.
Ma
Hello. I wrote a comments application that allows the use of some HTML
tags for text formatting (). I ran into a problem of users not
closing the tags (), so when I display a page with all the
comments, if the user did not close the tag then all the text in the
other comments is bold.
Is there a
sure. Quick and dirty is to count all the '' tags and compare
this to the number of '' tags. If the number doesn't match
up spit out a message saying "Sorry, I can't complete your request you
have $countopen - $countclose $whatever tags not closed". Also check
for the reverse; closed but not
Ahh! I forgot to meantion the \n at the end of the headers in my
original post...
-Original Message-
From: Marcus James Christian [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 1:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Mail Bcc to a $variable?
Like this...
$heade
I have a page with about 80 checkboxes on it. The values are names and my users are
to select names. Now on the next step I want to be able to list all names processed.
I thought a for loop would be best but am having problems. $ffromx is the number of
checkboxes generated in the previous s
I think using isset should do it. try:
for ($i = 0; $i <= $ffromx; $i++) {
if (isset($ffrom.$i)){
echo $ffrom.$i."";}
}
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
Is it possible to get the average of two tables. I have an age column in two tables.
I can get the age average for one table both can the average of both tables be found
in one statement? One table is for hitters, the other for pitchers.
Jeff
That gives the following error which is the isset line:
Parse error: parse error, expecting `','' or `')''
- Original Message -
From: "Matthew Luchak" <[EMAIL PROTECTED]>
To: "Jeff Lewis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 2:14 PM
Subject: RE: [PHP]
I don't think variable substitution works within quotes when not used with
echo...
Try (I think you also a space after BCC:)
> $headers = "From: Me <[EMAIL PROTECTED]>\nBCC: ".$recipients;
instead of
> $headers = "From: Me <[EMAIL PROTECTED]>\nBCC:$recipients";
and you should be fine
Ar
personally, that's what i would do.
dealing with arrays usually makes the code a
lot cleaner and easier to follow than using
awkward constructs like ${$C_Last}{$i}
and besides, if you ever wanted to expand your
code, you could easily pass the entire array
to a function like so: children( $C_La
SELECT round((hitters.age+pitchers.age) / 2) as avg_age
...
-Original Message-
From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 11:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Averaging columns in two tables?
Is it possible to get the average of two tables. I h
your $recipients only containt the string "mailinglist.inc", it does not
contain the e-mail addresses, so the bcc is sent to the mailinglist.inc,
which is a non-existent address.
Basically, your header should looks like:
From:[EMAIL PROTECTED]\nBcc:[EMAIL PROTECTED],[EMAIL PROTECTED]\n
etc.
ec
or throw in the needed number of closing tags
at the end of that specific message...
> -Original Message-
> From: Matthew Luchak [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 2:09 PM
> To: php php
> Subject: RE: [PHP] HTML tags in database fields
>
>
>
> sure. Quick and
"Rodrigo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello. I wrote a comments application that allows the use of some HTML
> tags for text formatting (). I ran into a problem of users not
> closing the tags (), so when I display a page with all the
> comm
Hi There,
I currently use .htaccess files to override the include path, which works
great for me... One of my concerns was the portability of the code, and the
possibility of not having control of http.conf
I'm now in the process of porting some of the sites onto a winnt architecure
(but st
this is like the last post on form submissions with
individually numbered elements...
if you can use an array, you should... it'll
make things easier for you in the long run.
> -Original Message-
> From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 2:15 PM
> To
"Warren Vail" <[EMAIL PROTECTED]> said:
>
>When generating a download file from PHP to IE (Netscape is not used by my
>client base) the browser prompts with an option to download the file or open
>the file where it is. Opening the file fails and I am forced to download
>the file to my local drive
making them relative is probably the best option
for portability and maintainability...
that way, you can change the underlying directory
structure and not have to change any of the actual
code... it's great if you ever have to change
servers, or if the directory structure undergoes
any structura
Hi all, I have a line that deletes a previously set cookie:
setcookie("membership","",time()-86400);
That line works fine in IE, but doesn't delete the cookie in Netscape (both Mac and
Linux).
On a side note, both IE and Netscape do not pop up a warning when the cookie is being
sent. Since it
Dear Everyone,
I'm sure you have already seen this problem a thousand times before;
however, I can't find the answer.
I'm trying to compile php 4.0.6 with imap support and get the module to
work with apache. Everything compiles fine; however, a restart of apache
gives...
Starting httpd: Synt
I have a page that brings up the info on a rock, I wanted to
add the functionality of doing like a and option
to go thru all the rocks in my database. I can't figure out how
to exactly do this, could someone give me some help?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Looks like I should have been keeping a close eye on that thread... I am pulling
fields from a database and displaying them on my page. I am adding a checkbox next to
the name and storing the name in the checkbox value. Anyway, on submission I want to
process them but am having problems...
p
how do you have the data stored?
by ID number?
if you have it stored by ID number, just
put next/back links something like this:
0)? $id-1 : 0 );
$next = (($id<$max)? $id+1 : $max );
?>
previous
next
> -Original Message-
> From: Devin Atencio [mailto:[EMAIL PROTECTED]]
> Sent: Wednes
>> Netscape is notoriously slug-like when it comes to loading large tables
(i.e. the output of phpinfo()).
A way around this is to break up large tables into numerous smaller ones (or
at least have one table at the top that displays something so that the user
doesn't think that things have gone a
I'm working with an new ISP and I'm having trouble connecting to MySQL
through PHP 4.
Here's some server specifics;
PHP Version 4.0.4pl1
Apache/1.3.14
DBA supportenabled
Supported handlersgdbm db2 db3
I'm getting the following error;
Fatal error: Call to undefined function: mysql_pconn
HI
I know this isn't elegant but it will work. Just put in extra close
tags after the field input. etc. Browsers
will ignore the extra close tags.
>Hello. I wrote a comments application that allows the use of some HTML
>tags for text formatting (). I ran into a problem of users not
>closing
Since IDs can disappear when records are delted, I think it's best to do
a COUNT() first, then retrieve your listings with
SELECT * FROM table WHERE blah LIMIT offset,number_to_retrieve;
-Original Message-
From: scott [gts] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 2:
Have you tried a non-persistant connection? Does that work?
mysql_connect()?
-Original Message-
From: Tom Beidler [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 3:12 PM
To: php list
Subject: [PHP] Fatal error: Call to undefined function: mysql_pconnect()
in ...
I'm worki
ah yes... that was my quick-n-dirty way ;)
you could also do it this way:
file.php?id=1&act=next
if ($act eq 'next') {
$sql = "SELECT id FROM table WHERE id > '$id' LIMIT 1";
}
elsif ($act eq 'prev') {
$sql = "SELECT id FROM table WHERE id < '$id' LIMIT 1";
}
but that's also a quick-n-dir
perhaps they didnt compile PHP with mysql support...
> -Original Message-
> From: Matthew Loff [mailto:[EMAIL PROTECTED]]
> Subject: RE: [PHP] Fatal error: Call to undefined function:
> mysql_pconnect() in ...
>
> Have you tried a non-persistant connection? Does that work?
>
> mysql_co
Hi,
I am trying to install PHP 4.0.6 as a DSO with Apache 1.3.x.
I get thru the configuration and installation without any error
messages, but
when I try to restart Apache with the new configuration, I get this
erroe message:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
Did you try a
to see if mysql is compiled in
Matthew Loff wrote:
>
> Have you tried a non-persistant connection? Does that work?
>
> mysql_connect()?
>
> -Original Message-
> From: Tom Beidler [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 3:12 PM
> To: php list
> Subj
I'm making a map (image) which you can click on and the script finds the
area-code based on where you click on the map.
Before I spend time on writing my own code to find if xy values are
within a certain coordinates of a polygon, do you know of any build in
function to do it? I have browsed ligh
recent posts introduced me to the handy GetImageSize, and it's just what
I need! What I want to do is write a script that will go through a
directory of images and write [image name];[image dimensions] to a file
so I can query that into my products database for dynamic use on my
site.
BUT, i'm a
I would also like to know what's going on with that error. I have gotten
that while compiling on FreeBSD.
Tyler
- Original Message -
From: "Heiko Maiwald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 3:06 PM
Subject: [PHP] Trouble with php 4.06 and Apache
try this:
$files = opendir($dir) or die("Cannot opendir $dir");
while ($file = readdir($files)) {
// do whatever
}
> -Original Message-
> From: Rory O'Connor [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 3:09 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] using GetImageSize i
Oh! My mistake... I thought he was retrieving several listings at a
time...
If he's doing a single record each page, your method is definitely the
best that I can think of. :)
-Original Message-
From: scott [gts] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 3:58 PM
To: p
(This is assuming you'll have all images in the directory, and no other
file types...)
$directory = opendir("./");
$dirEntry = readdir($directory); // Skip "."
$dirEntry = readdir($directory); // Skip ".."
while($dirEntry = readdir($directory))
{
// GetImageSize Code for Each $dirEnt
Where can I download GD 2.0 or later? (php_gd.dll for Win)
SED
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Is there a way in PHP to get the referring url when a link is click to get
to that page?
Thanks.
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL P
Joseph Bannon wrote:
> Is there a way in PHP to get the referring url when a link is click
> to get to that page?
$HTTP_REFERER
getenv('HTTP_REFERER')
regards
Wagner
--
Madness takes its toll. Please have exact change.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
> > Is there a way in PHP to get the referring url when a link is click
> > to get to that page?
> $HTTP_REFERER
> getenv('HTTP_REFERER')
Note that this isn't supported on all browsers and can be turned
off or faked/munged.
Chris
What I really wanted ask about was if any knows about GD 2.x version
with build in GIF-support (I need both GIF-support and all the new
GD-JPEG function to work on the same time).
SED
-Original Message-
Where can I download GD 2.0 or later? (php_gd.dll for Win)
SED
--
PHP General Ma
I have tried mysql_connect() with the same result "Fatal error: Call to
undefined function: mysql_connect()..."
> From: "Matthew Loff" <[EMAIL PROTECTED]>
> Organization: Willetts Systems
> Date: Wed, 11 Jul 2001 16:01:13 -0400
> To: "'Tom Beidler'" <[EMAIL PROTECTED]>, "'php list'"
> <[EMAIL
SED wrote:
> What I really wanted ask about was if any knows about GD 2.x version
> with build in GIF-support (I need both GIF-support and all the new
> GD-JPEG function to work on the same time).
This is probably impossible, for legal reasons.
Gif-Support had to be dropped from GDlib because of
use phpinfo to see if they even compiled php with
mysql support, probably didn't
--- Tom Beidler <[EMAIL PROTECTED]> wrote:
> I'm working with an new ISP and I'm having trouble
> connecting to MySQL
> through PHP 4.
>
> Here's some server specifics;
> PHP Version 4.0.4pl1
> Apache/1.3.14
>
Is php compiled with mysql support?
- Original Message -
From: "Tom Beidler" <[EMAIL PROTECTED]>
To: "Matthew Loff" <[EMAIL PROTECTED]>; "php list"
<[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 5:22 PM
Subject: Re: [PHP] Fatal error: Call to undefined function:mysql_pconnect()
in ...
Warning: mail() is not supported in this PHP build in testmail.php on line 1
I don't remember disabling it when I compiled, and I can't find anything to
specifically enable it when compiling. I'm running PHP 4.0.6. My
sendmail_path is correct in my php.ini.
I tried recompiling php4 and apache
On 11-Jul-01 scott [gts] wrote:
> Has anybody heard if this will affect PHP in any way?
>
> Copied from the "Unix Guru mailing list":
>
> -=-=-=-=-=-=-=-=-=-=-=-
> The unix time() value becomes
> 10 digits for the first time on
> Sun Sep 9 01:46:40 2001
>
> For the first time in modern
>
I am in need of a mail form script which has the subject line filled in for
the userHere's what I mean
Let's say I have a webpage.
On the web page is a picture of a truck, maybe a 1999 Ford F150.
If the user clicks the pic, he/she is taken to a brief description of the
truck.
On the de
...Or call it a riddle.. Whatever... :-)
What did the following code look like in it's original form?
function bitdef($prefix, $name, $bitnum)
{
define($prefix."B_".$name, $bitnum);
define($prefix."F_".$name, 1 << $bitnum);
}
--
Lasse
--
PHP General Mailing List (http://www.php.net
"Sed" <[EMAIL PROTECTED]> wrote in message
009301c10a46$3db4eba0$0100a8c0@mamma">news:009301c10a46$3db4eba0$0100a8c0@mamma...
> I'm making a map (image) which you can click on and the script finds the
> area-code based on where you click on the map.
>
> Before I spend time on writing my own code
"Reuben D Budiardja" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> your $recipients only containt the string "mailinglist.inc", it does not
> contain the e-mail addresses, so the bcc is sent to the mailinglist.inc,
> which is a non-existent address.
DOH! Mis
hey-
i have a page containing a form with a textarea field. The first part of the
page is a quick IP check to make sure the request is coming from my
computer. Here's the code I'm confused about:
-this part above reads in data from the news file and it's put in between
the textarea ta
I am still learning about .htaccess files - what you suggested could be useful
to me.
The approach I have taken is to use the auto_prepend feature, namely
php_value auto_prepend_file "/path/to/autoprepend.php"
This is then a single hook, and the contents of autoprepend.php
can then be as comple
I need to create an authentication hash based on the user agent, to
connect to a server but I need PHPs User Agent, which is usually
something like PHP/4.0.X. Is there a variable or way to get this? Thank
you.
Thanks to Lasse I found a good solution, you can view it here:
http://softlab.od.ua/algo/other/alg/node158.html
Thanks!
SED
-Original Message-
From: Lasse [mailto:[EMAIL PROTECTED]]
Sent: 11. júlí 2001 22:02
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Function? How to find if xy
It looks like the Microsoft vs RedHat Open Source Debate is part of the
summit
(http://conferences.oreillynet.com/cs/os2001/pub/w/os2001/sessions_summit.html),
in this case the price can be something around $1495 ($1295 if you have
already registered early). Looks like Mr. O'Reilly is going to mak
Hello all,
I wanted to pass the word about our PHP Training Course to those of you
on this list.
Our most recent class, in June, was quite successful - our participants
came away with a
solid grounding in PHP, and those who were already familiar with PHP
learned new techniques
and concepts.
You could have PHP open a URL that contained the phpinfo(); function and
then just look through that...
-philip
On Wed, 11 Jul 2001, Nathan wrote:
> I need to create an authentication hash based on the user agent, to
> connect to a server but I need PHPs User Agent, which is usually
> somethin
Just that: $HTTP_USER_AGENT
Philip Hallstrom wrote:
>
> You could have PHP open a URL that contained the phpinfo(); function and
> then just look through that...
>
> -philip
>
> On Wed, 11 Jul 2001, Nathan wrote:
>
> > I need to create an authentication hash based on the user agent, to
> >
No... that would give you your own browser (say Netscape or IE). He wants
what PHP uses...
On my system it's: PHP/4.0.4pl1
See http://www.adhesivemedia.com/~philip/bar.php which is just
"phpinfo();"
and http://www.adhesivemedia.com/~philip/foo.php which is just
"readfile('http://www/~philip/ba
hi.
i'm using the mail() function to send email from a PHP script on a UNIX
system. sample code is:
$result=mail ($mail_to, $mail_subject, $mail_body, $mail_headers);
and it seems to be placing the mail in the sendmail queue which gets
sent every 30 mintues. is there a PHP mail() option or anoth
Oops, I mean get php to open a page that get
$HTTP_USER_AGENT and to send it back to you, or to show it to you.
Nathan wrote:
>
> I need to create an authentication hash based on the user agent, to
> connect to a server but I need PHP?s User Agent, which is usually
> something like PHP/4.0.X. I
in article [EMAIL PROTECTED], Randy
Johnson at [EMAIL PROTECTED] wrote on 7/13/01 10:53 AM:
> How do I rename a file on Linux in PHP?
>
> Thanks
>
> Randy
$err = `mv moo.php foo.php`
_a
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
> > How do I rename a file on Linux in PHP?
>
> $err = `mv moo.php foo.php`
Or, to be safe:
http://www.php.net/manual/en/function.rename.php
... `` doesn't work in Safe Mode.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
You can also do
rename("moo.php", "foo.php");
provided that both are on the same filsystem.
On Wed, 11 Jul 2001, Alex Black wrote:
> in article [EMAIL PROTECTED], Randy
> Johnson at [EMAIL PROTECTED] wrote on 7/13/01 10:53 AM:
>
> > How do I rename a file on Linux in PHP?
> >
> > Thanks
> >
>
I know that someone is working on an xslt->c compiler, which you could
construct hooks in php for.
but I know of no xslt->php compiler (though that would be groovy, bigtime
groovy)
:)
_a
in article [EMAIL PROTECTED], Steven
Roussey at [EMAIL PROTECTED] wrote on 7/11/01 10:25 AM:
> Hi all,
>
that has nothing to do with php.
it's that netscape is crap at rendering large tables, whereas IE is
amazingly good. :)
-a
in article [EMAIL PROTECTED], Don at [EMAIL PROTECTED] wrote on
7/11/01 9:47 AM:
> Hi,
>
> Has anyone tries any test loading PHP pages into IE 5.x and Netscape
> 4.7x?
>
> rename("moo.php", "foo.php");
Also, works cross-platform. In most cases try to find a function that is
part of PHP rather than using the shell, especially if you are interested in
making sure the code works across platforms. There's also most likely a
performance hit when starting a shell
> ... but when the page expires, IE simply reloads it!
IE is probably loading it from its cache.
Try setting these:
This should force IE to reload it properly.
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Developer, Melbourne IT
"Work now, freak later!"
--
PHP General Mailing List (http:
Sendmail should (by default) attempt to send the mail immediately... If
it can't deliver it on that attempt, then it should be queued to send
again later (30 mins?)...
Unless you've configured sendmail differently, it should attempt to
deliver as soon as the mail is sent from PHP.
You can re
A friend of mine needs help, we are both PHP newbies. Here's her prob:
I have user authentication program that uses mySQL to store the username/password and
other information that they entered when they registered. The secured pages use
?userid=$userid at the end of the page name to designate
Addendum: to original post
I can change the ?userid=$userid if there's an easier way to do it but I haven't been
able to figure that out yet.
- Original Message -
From: Steph
To: [EMAIL PROTECTED]
Sent: Wednesday, July 11, 2001 5:45 PM
Subject: Security and Cookies
A f
On Thu, 12 Jul 2001 05:45, SED wrote:
> I'm making a map (image) which you can click on and the script finds
> the area-code based on where you click on the map.
>
> Before I spend time on writing my own code to find if xy values are
> within a certain coordinates of a polygon, do you know of any
A more secure choice would be using a basic authentication scheme. If
you're using apache there are several apache based modules for MySQL
username/password authentication. With a little finess a similar scheme can
be done for PHP.
However if that's not an option my recommended PHP choice is to
On Sat, 14 Jul 2001 00:40, Randy Johnson wrote:
> I am adding a feature to my site where members can download their
> information from the database. What is the best way to accomplish
> this?
>
> Create a text file every time a member wants to download their info?
> I thought about this ..how
On Thu, 12 Jul 2001 09:17, Ed Peddycoart wrote:
> I am in need of a mail form script which has the subject line filled in
> for the userHere's what I mean
>
> Let's say I have a webpage.
>
> On the web page is a picture of a truck, maybe a 1999 Ford F150.
>
> If the user clicks the pic, he
On Thu, 12 Jul 2001 08:09, Chris Cocuzzo wrote:
> hey-
>
> i have a page containing a form with a textarea field. The first part
> of the page is a quick IP check to make sure the request is coming from
> my computer. Here's the code I'm confused about:
>
>
>
>
> readfile("lib/news_file.dat");
>
Hello. I wrote a routine that queries a table (Mysql) to pull about 300
records and record their emails. I iterate over this recorset invoking
the mail() function to send an email for each record in this recordset.
The problem is that on my providers server, there is a big delay before
the script
101 - 200 of 221 matches
Mail list logo