'; // Alternate: 'de_DE.ISO_8859-1'
setlocale(LC_TIME, $locale);
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http
string?
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I got 21 emails with attachments today from Microsoft.
Don
Payne [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Raquel Rice wrote:
On Fri, 19 Sep 2003 15:39:12 +
Curt Zirzow [EMAIL PROTECTED] wrote:
* Thus wrote Chris Sherwood ([EMAIL PROTECTED]):
To Whom it may
=file_get_contents('dafile.txt');
$msgblks=explode('TO', $data);
foreach($msgblks as $blk) {
list($to, $subj, $msg) =
explode($marker,preg_replace($pat, $marker, $blk));
...
do__your_stuff($to, $subj, $msg);
...
}
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's
, a blank
line and so on. I could write 26 different queries, one for each letter of
the alphabet, but surely there is a tidier way.
Any help is appreciated.
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus
))
{
return $arr;
// Something has to happen here!!!
Nothing will happen here!!!
You've already returned from the function.
}
snipage
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before
= preg_replace('!\d+!', '', $goodbadnum);
2nd: $goodbadnum =~ tr/0-9/x/; I think this one replaces and numbers with
an 'x'.
Yep. that replaces every digit with an 'x'.
$goodbadnum= preg_replace('!\d!', 'x', $goodbadnum);
Regards,
--
Don Read [EMAIL PROTECTED
($cmd 21, $output);
-- or --
exec($cmd, $output, $errno);
echo posix_strerror($errno);
-- or --
proc_open(...) and read from pipe[2]
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal
. that is the equivillent of the php exit() function but for
external programs. One that simply returns the integer exit code of an
executed shell program...
exec(), system(), popen()/pclose() will return exit code.
The manual is your friend.
Regards,
--
Don Read [EMAIL
a [optional] seat:
UPDATE seating SET guest='$idguest'
WHERE idforum='$idforum' AND block='$idblock' [AND seat='$idseat']
AND guest=0
General admission:
UPDATE seating SET guest='$idguest'
WHERE idforum='$idforum' AND block='$idblock'
AND guest=0
/programmer doodle
Regards,
--
Don Read
date('F j, Y, g:i a'), 'br';
putenv('TZ=PST8PDT');
echo date('F j, Y, g:i a'), 'br';
putenv('TZ=CHAST');
echo date('F j, Y, g:i a'), 'br';
?
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal
, $dbpass);
if (strcmp($dbpass,$epass)) {
...
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
(53kr33t w0rdz: sql table
#@@#, between them. Then,
when you read the cookie value in, just explode it by your delimiter.
setcookie (twovar, serialize(array($var1, $var2)), ...);
...
list($var1, $var2) = unserialize($_COOKIE['twovar']);
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's
,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
=' .$_POST['id'] .';
echo '!--Debug :', $update, '--';
mysql_query($update);
...
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP
On 19-Jun-2003 Awlad Hussain wrote:
How do i generate a unique random number?
http://www.php.net/manual/en/function.uniqid.php
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal
(/!--start_tag--(.*)!--end_tag--/m, ...
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http
/movies/news/2003/03/26/sens
ational_scenes/
:)
Oh. OK, Good.
Did you and Rasmus do a basketball scene in The Great Santini ?
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper
On 16-Jun-2003 Thomas Hochstetter wrote:
Hi.
[3rd try] ... where can i get mysql_error codes from? The ones that
mysql_errno returns.
You can get all the OS and MySQL error codes with:
$ perror `jot 1500` | grep -v 'Unknown error'
Regards,
--
Don Read
Hi,
Is the a PHP command that will empty the browser's current cache?
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
'til the image is properly created ...
snip
//here:
Header('Content-type: image/png');
ImagePng($image);
}
ImageDestroy($image);
?
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So
(', ', $chgflds)
.'WHERE id=' .$_POST['id'];
mysql_query($update);
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http
out:
To: @mainservername:[EMAIL PROTECTED]
-- or --
To: [EMAIL PROTECTED]@mainservername
... and the sysadmin will probably whack your pee-pee for doing that.
So let him/her know beforehand so they don't TOS you.
And the last resort is fsockopen(mainservername, 25)
Regards,
--
Don Read
=' '
REMOTE_ADDR=127.0.0.2 HOME=/ PS1='$ ' OPTIND=1 PS2=' ' PPID=2614
PATH=/sbin:/bin:/usr/sbin:/usr/bin IFS=' '
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's
or queue at lower loads.
Delivery is done later in the background.
try one of the option string:
'-O DeliveryMode=b'
-- or, if you can wait for a queue run --
'-O DeliveryMode=q'
mail($to, $subj, $msg, $hdrs, '-O DeliveryMode=q');
Regards,
--
Don Read [EMAIL
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Are Classes and Objects supported in PHP 3.0.14?
I am getting an error: Call to unsupported or undefined function
phpmailer()
on a server running PHP 3.0.14 but it works in PHP 4.3.2
Thanks,
Don
_
This email and any files transmitted with it are strictly confidential and
may
On 05-Jun-2003 nabil wrote:
Please help me how to print a timestamp string retrived from the
database,
and print it as -MM-DD
MySQL ?
http://www.mysql.com/doc/en/Date_and_time_functions.html
--
Don Read [EMAIL PROTECTED]
-- It's always darkest
the wwwroot'
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
will mysteriously go tits-up (or worse) and good code will
keep on cranking.
No matter what register_globals= is set to.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper
IMHO, of course.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
.
I'd start with :
$var=preg_replace('!tr bgcolor=.+!m', '[breakhere]', $var);
$listing=explode('[breakhere]', $var);
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper
adding one more 'hint':
header('Cache-Control: max-age=3600');
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http
;
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On 06-Apr-2003 David McGlone wrote:
Hi all, how can I combine this line to use just 1 echo statement?
echo Name: ; echo $_POST['name']
echo 'Name: ', $_POST['name'];
-or-
echo 'Name: ' .$_POST['name'];
Regards,
--
Don Read [EMAIL PROTECTED
Forgive my ignorance but I don't follow. I am not getting any compiling
error messages or warnings.
2) Installed PHP 4.3.1
One of my config options was --with-mysql=shared,/usr
I may be completely off base, but where did you intend the mysql
installation to go? Did it end up there? (I'm
want to start
over from scratch? I've alrweady upgraded the MySQL package to version
4.0.12.
Thanks,
Don
2) Installed PHP 4.3.1
One of my config options was --with-mysql=shared,/usr
I may be completely off base, but where did you intend the mysql
installation to go? Did it end up
The expected MySQL section is not even listed in the phpinfo() page. This
would explain my undefined function errors when attempting MySQL
functions. What I can't figure out is why MySQL is not being recognized by
PHP.
At 16:58 03.04.2003, Don spoke out and said:
[snip
' and found the following.
However, any change I made to the mysql config. directory gives me the
error:
error: Cannot find header file under directory
Please tell me what the directory should be in my mysql config option.
Thanks,
Don
/usr/bin/mysql
/usr/lib/mysql
/usr/libexec/webmin/caldera/mysql
Yup, you were correct. the 7.10.3 rpm was installed but I forgot to install
the 7.10.3 development rpm. I did so and all compiles fine now.
Thanks,
Don
My guess you have a mess in your curl library installation. For example
you use header from version 7.9.5 and specify that you have version
. This extension may be part of the PHP server
(compiled-in), otherwise it needs to be loaded dynamically. Its name is
probably mysql.so or mysql.dll. phpMyAdmin tried to load the extension but
failed.
What was I missing fom my install that is causing my problem?
Thanks,
Don
---
Outgoing mail
Hi,
Trying to install PHP with the ability to interact with MySQL. In my
configuration, I've included the option:
--with-mysql=shared,/usr
There are no compile errors. Any idea why PHP is not recognizing any MySQL
functions?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked
I altered the configuration to say -- --with-curl=/usr/bin as that is the
location of the curl executable but I am still getting the compile error.
Any other suggestion?
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: Don [EMAIL PROTECTED]
Cc: php list [EMAIL PROTECTED
;;
So, all I did was change the 7.9.5 to 7.10.3 and no more compile error.
Silly huh?
- Original Message -
From: Adam Voigt [EMAIL PROTECTED]
To: Don [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 11:19 AM
Subject: Re: [PHP] Problem installing PHP 4.3.1 - won't compile due to
odderror
Ok, now that I've solved my 'curl' problem, I've run in to another problem.
Now I am getting teh following error:
configure: error: snmp.h not found. Check your SNMP installation.
I've installed the ucd-snmp rpms so what am I missing?
Thanks,
Don
- Original Message -
From: Marek
/local/php-4.3.1/ext/curl/curl.c:1077: `CURLINFO_REDIRECT_TIME'
undeclared (first use in this function)
make: *** [ext/curl/curl.lo] Error 1
Assuming you also installed ucd-snmp-devel-*.rpm, likely you need to
specify --with-snmp=/usr or --with-snmp=/usr//include/ucd-snmp
Don wrote:
Ok, now
of it.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
use it) then add
putenv('TZ=GMT0BST'); at the start oof each script.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing
for?
Thanks in advance,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On 31-Mar-2003 Tim Haskins wrote:
My bad, I actually meant that the nothing was like, if the pr_ID in the
url is empty then show the following text.
if (empty($HTTP_GET_VARS[pr_ID]))
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before
;
}
if (count($blk) )
echo 'td', implode('br', $blk), '/td';
echo '/tr';
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General
bit --well it's a handy spot to increment $i, and the pre-increment
notation gets around the case when $i == 0.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's
On 30-Mar-2003 Antti wrote:
How do I test if a mysql table exists or not? Is there a function for
this? I didn't find a good one.
-antti
function tableexists($tbl) {
$res = @mysql_query(SELECT 1 FROM $tbl LIMIT 1);
return ($res ? true : false);
}
Regards,
--
Don Read
(and can't figure out) is how to have each email address
have a URL (i.e. mailto:[EMAIL PROTECTED]).
I'm fairly new to PHP, I hope this question made some sense.
Suggestions?
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before
is submitted.
Thank You Very much.
if ( (isset($submit)) ($submit =='Update') ) {
while (list($id, $val) = each($row)) {
// do something with $id and $val
}
}
yourforloop {
// fetch $id, $val
echo INPUT TYPE=TEXT NAME=\row[$id]\ VALUE=\$val\;
}
Regards,
--
Don Read
'];
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
(53kr33t w0rdz: sql table query)
--
PHP General Mailing List (http
On 28-Mar-2003 Chris Shiflett wrote:
--- Mike [EMAIL PROTECTED] wrote:
Is there anyway to get the HTTP Server Username (something like
$_SERVER['username']) I tried printing all the variables defined in a
page (and looking at a phpinfo.php) and wasn't able to figure it out...
--- Don Read
shutdown.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.Don Read
[EMAIL PROTECTED]
--
PHP General Mailing
Applications Development *
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
(53kr33t w0rdz: sql table query)
--
PHP
same people an HTML email composed in Outlook comes across
just fine, perhaps it's the anti abuse headers causing the issue?
Has anyone heard or had experience with this?
google 'mime multipart alternative HTML'
Regards,
--
Don Read [EMAIL PROTECTED
wordpad (or whatever they calling it this week) will grok
bare linefeeds.
Thanks!
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do
/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
(53kr33t w0rdz: sql table
Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do
emulation lib.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
operate on the formatted
`UNIX_TIMESTAMP()'
`UNIX_TIMESTAMP(date)'
`UNIX_TIMESTAMP()' is called with a `date' argument, it returns
snip
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's
Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oh, and I hope you're going to consider a multipart/alternative message
body. HTML-only e-mail is evil.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before
[].
Whatever's leftover --those are the project_ids to remove.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
(53kr33t
table with all the
desired fields and with the userid as primary key.
Then do 'REPLACE INTO temptbl SELECT ... ORDER BY whatever'.
And finally do a 'SELECT * FROM temptbl'
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So
2-3 micro-seconds?
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
-authenticate method
would work better for your application.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http
On 05-Mar-2003 Sebastian wrote:
I have a date field in mysql in this format: Y-m-d H:i:s
I would like to echo Today if the date is today, can someone offer some
help? Thanks.
SELECT IF(TO_DAYS(datefld)=TO_DAYS(current_date),'Today',LEFT(datefld,10)) as
datefld, ...
Regards,
--
Don Read
On 03-Mar-2003 Dan Sabo wrote:
Thanks Larry,
What are some of the more active MySQL lists? Do you have a URL or two?
Thanks,
Dan
post to [EMAIL PROTECTED]
or browse http://www.mysql.com/documentation/lists.html
Regards,
--
Don Read [EMAIL
if session
cookies are enabled in the user's browser?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
with me?
Thanks,
Don Hicks
Portland, OR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
write a shell script (and put in your safe_mode_exec_dir):
---
#!/bin/sh
/usr/bin/du -k $1 | tail -1
exit 0
---
then use popen/fgets to call the script and parse output.
Regards,
--
Don Read [EMAIL PROTECTED]
-- Beer is proof that God loves us and wants us to
=submit name=parent value=fooimg
src=icon.gif/button
$parent will equal img src=icon.gif NOT foo
How do I get the value of foo to be returned in $parent and still use a
graphical icon instead of a standard submit button?
input TYPE=IMAGE NAME=parent VALUE=foo SRC=icon.gif
Regards,
--
Don Read
Sorry if this is not really PHP related but I can't get it to work.
I am using fopen and I get the following:
Warning: fopen(testfile2.php, w) - Permission denied in
/usr/local/psa/home/vhosts/complementarymedicines.net/httpdocs/reg/regformte
st.php on line 411
I have tried setting this
Use ?php echo $_GET['abc']; ?
Rahul [EMAIL PROTECTED] wrote in message
00b301c2c38e$c9d83f80$[EMAIL PROTECTED]">news:00b301c2c38e$c9d83f80$[EMAIL PROTECTED]...
Hello All,
When i pass a value through browser to a php page as below
http://www.xyz.com/test.php?abc=test
But when i try to
Thanks for all the help so far folks.
I have finally got PHP to create a page on the web server now but the owner
is set to apache. As it uses an include() function it will not allow me to
display the page giving Warning: SAFE MODE Restriction in effect. uid not
allowed to etc.
I dont seem
LIMIT 1);
return ($res ? true : false);
}
Regards,
--
Don Read [EMAIL PROTECTED]
-- Beer is proof that God loves us and wants us to be happy.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
}
Simple when someone tells you what to do :o)
Thanks and regards.
Don Mc Nair [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi
Is there a way for a php page to automatically increment a number and
store
it every time the page is loaded.
On 19-Jan-2003 Don Mc Nair wrote:
Thanks Guys
I just needed a pointer. I decided to use the database and created two
tables, one for invoice number and one for order number then defined a
function to read the current number and the increment it.
That'll work, but it's not atomic. At high
Hi
Is there a way for a php page to automatically increment a number and store
it every time the page is loaded.
I want to generate an invoice number that goes up 1 everytime the HTML form
is sent to it.
Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
Hi,
How do I access $DOCUMENT_ROOT when register_gobals is set off? I think
there's an array, something like $HTTP_ENV_VARS['DOCUMENT_ROOT'] but I can't
find it in the documentation.
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http
force a reload the first time a page is
called?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
Hi folks
I am having trouble writing a script to dump the data from tables in MYSQL.
Can anyone provide help on how to use the mysqldump command within PHP
(4.2).
Many thanks
Don
www.complementarymedicines.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http
I try in I.E., it works fine.
When I try in Netscape 7, I get a page not found error. Looking at Netscape's address
bar, it says:
http://www.lclnav.com/staging_area/login/..%5Cphpscript%5Cgeneral%5Cformmail.php
Why is it encoding my URL???
Thanks,
Don
---
Outgoing mail is certified Virus
- Original Message -
From: Chris Shiflett [EMAIL PROTECTED]
To: Don [EMAIL PROTECTED]; php list [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 4:24 PM
Subject: Re: [PHP] Why is my URL encoding itself?
--- Don [EMAIL PROTECTED] wrote:
In my PHP page, the FORM line reads as:
echo
been reloaded. Is this a normal effect of setting
register_globals OFF? Is there a way to continue caching?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
Don wrote:
I'm using I.E. 6.
Its not a browser thing, but a PHP thing.
I noticed that register_globals was set ON in my php.ini file so I
changed it to OFF in as per the security warning. I've noticed a side
effect. When I submit a form via POST and then go back from the results
page
,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
('REQUEST_METHOD') . '_VARS';
global $$request;
if ($$request[$val]['size']) {
However, it is always failing the test and therefore not working. Any ideas?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.435 / Virus
Hi,
I need to search a MySQL table based on a condition that can change at
runtime.
Example
==
$condition = CustCode = $HTTP_SESSION_VARS['logoncustcode'];
other code
$queryID = mysql_query(SELECT * FROM CustTariff WHERE . $condition .
ORDER BY CustCode);
Will the above work?
Thanks,
Don
it.
I've seen it on 2 different windows 2000 machines running the same
versions of php and apache, as well as connecting to 2 different smtp
servers.
Environment
Window 2000
Apache 1.3.27
PHP 4.2.3
Thanks
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
?
Sincerely,
Don Hicks
Portland, OR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
BINGO!
That was exactly what I needed!
Thanks!
Don.
===
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:003801c284fc$4fd8d2b0$8102a8c0;000347D72515...
[snip]
$Query=
SELECT FieldName1, FieldName2
FROM TableName
WHERE FieldName1 LIKE '$CriterionRecord'
;
[/SNIP
- Original Message -
From: Jay Blanchard
To: 'DonPro' ; 'php list'
Sent: Thursday, October 31, 2002 3:43 PM
Subject: RE: [PHP] Saving form input fields to MySQL br clicking on a button
[snip]
I created a button called Memorize but how do I have the page save the
values to my MySQL
putting the following into my php:
system(C:\Program Files\Microsoft Office\Office\MSACCESS.EXE
C:\Inetpub\wwwroot\DATABASENAME.mdb /x MACRONAME)
The server shows that MS Access is running a process, but it never finishes
(seems to hang up).
Does anyone have advice for me?
Don Hicks
--
PHP
201 - 300 of 509 matches
Mail list logo