very quick and *very* dirty, put this in top of your file
extract($_POST);
and voila, you bypassed registerglobals off
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http://www.careercross.com
- Original Message
What Javascript calendar works good with PHP?
Thanks
http://www.blueshoes.net/en/javascript/datepicker/
Regards,
Nadim Attari
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 3:42 PM
having apache be the groupowner doesn´t change anything
You may also need to change the user/owner, depending on what Apache is
running as.
User and group is apache. It made
Hi Ryan,
You might wanna take a look at PunnBB : http://www.punbb.org/
Best regards,
Davy
Ryan A wrote:
Hi,
a client wants me to add a forum to his existing site...which is not a
problem, the problem is he wants it to work off his existing site
eg:
once someone logs in to the main site they dont
-- Forwarded message --
From: Joe Harman [EMAIL PROTECTED]
Date: Apr 6, 2005 2:50 AM
Subject: Re: [PHP] Re: Javascript Calendar and PHP
To: Nadim Attari [EMAIL PROTECTED]
interakt has a great one that is used with field forms... it's like
$30 or something... it's actually a
On Wednesday 06 April 2005 14:41, Kim Madsen wrote:
User and group is apache. It made _no_ difference at all, I´m still
getting permission denied, when calling fopen :-/
[EMAIL PROTECTED] dev]# ls -al ttyS*
crw-rw-rw- 1 apache apache 4, 64 Apr 5 16:01 ttyS0
Well if other has rw then it
Hi to all,
I've wrote a program with a web-browser interface (IE) and
a built-in server (INDY) which call the php-cgi.exe CGI application
and redirect stdio/stdout/sterr to pass .php scripts readed from
a crypted and zipped sets of files. The arguments are passed
between QUERY_STRING
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 9:36 AM
Well if other has rw then it doesn't really matter who owns the file.
My point exactly!
What does the php error log say?
Samething as on the site:
Apr 6 10:16:12 lager httpd:
Hello,
is there a way to download a set of files at once, without zipping them.
I want to offer my visitors to select several files for download. Now i
don't know how i can handle the download at once.
Any ideas or solutions?
Thanks
Thomas
--
PHP General Mailing List (http://www.php.net/)
To
Kim Madsen wrote:
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 9:36 AM
Well if other has rw then it doesn't really matter who owns the file.
My point exactly!
What does the php error log say?
Samething as on the site:
Apr 6 10:16:12
-Original Message-
From: Burhan Khalid [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 10:43 AM
Are you running mod_security?
Nops:
[EMAIL PROTECTED] ~]# httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
And SELinux is now disabled, still no change... :-/
Hello,
I need to test if a variable value is 3 or 6 or 9 or 12 or 15 or 18 ... goes
on like this.
How this can be done?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday 06 April 2005 16:18, Kim Madsen wrote:
Are you running SELinux?
Jeps, that?s installed, but I have no clue, what that is and do. The
server with the problem runs Feodora 3, I?m running RH9 on my own
servers.
Check the archives, there have been a lot of people having problems
On Wednesday 06 April 2005 10:47, William Stokes wrote:
Hello,
I need to test if a variable value is 3 or 6 or 9 or 12 or 15 or 18 ...
goes on like this.
How this can be done?
Thanks
-Will
switch($yourvar)
{case 3: somestuff;
break;
case 6: somestuff;
I have often seen php code included inside braces. What does this mean or
do?
Jacques
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Apr 6, 2005 10:47 AM, William Stokes [EMAIL PROTECTED] wrote:
Hello,
I need to test if a variable value is 3 or 6 or 9 or 12 or 15 or 18 ...
goes
on like this.
How this can be done?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Jacques wrote:
How should I formulate my sql statement to create a result set of members
who registered between now and 7 days ago?
I have tried the following and it is obviously incorrect:
$sqlnewmembers = Select uid, uprofilename from tblusers where udatereg
between (date() and date()
William Stokes wrote:
Hello,
I need to test if a variable value is 3 or 6 or 9 or 12 or 15 or 18 ... goes
on like this.
How this can be done?
if ($var % 3 == 0) { echo $var. is divisible by 3; }
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: William Stokes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 10:48 AM
I need to test if a variable value is 3 or 6 or 9 or 12 or 15 or 18
...
goes
on like this.
How this can be done?
Have a look at modulus:
Hi,
I have the following problem:
An external system passes me a post request as bellow (server names etc
changed):
POST /cgi-bin/sms-weather HTTP/1.1
Host: sms-app.company.com
X-Recipient: 12345:0:0
X-Sender: 040123456:0:0
X-Service: weather
Content-Length: 7
WEATHER
==
Thank you all for your input.
Andy
--
Registered Linux User Number 379093
--
Feel free to check out these few
php utilities that I released under the GPL2 and
that are meant for use with a php cli binary:
http://www.vlaamse-kern.com/sas/
--
--
PHP General Mailing List (http://www.php.net/)
possible solution:
http://www.php.net/function.in-array
William Stokes wrote:
Hello,
I need to test if a variable value is 3 or 6 or 9 or 12 or 15 or 18 ... goes
on like this.
How this can be done?
Thanks
-Will
--
Kyriacos Sakkas Netsmart Development Team
Tel: + 357 22 452565
I need to test if a variable value is 3 or 6 or 9 or 12 or 15 or 18 ... goes
if ($variable%3 == 0) #do something
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http://www.careercross.com
I need to get all the X headears (which I can) plus the
content from this POST. My problem is that the content is not
a key/value pair, and so does not apear as a _POST[] variable
http://hu2.php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data
Felh
--
PHP General Mailing List
I'm having problem with my session, when I login my session is registered ok but
when I click on another page it's canceled again.
I use that kind of link:
index.php?menu=voyage#038;sid=$sess_id
then on top of the page I use:
if(session_id()){
session_id(strip_tags($_GET['sid']));
Hodicska Gergely wrote:
I need to get all the X headears (which I can) plus the
content from this POST. My problem is that the content is not
a key/value pair, and so does not apear as a _POST[] variable
http://hu2.php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data
Felh
session_start() has to be at the top of the page...
cheers
Hi,
I have been investigating ways of preventing automated account
creation on the e-commerce system I am currently working on. Obviously I
have seen the graphical solutions to this problem, a small image containing
several letters and numbers which must be typed in by the user to
Jacques wrote:
I have often seen php code included inside braces. What does this mean or
do?
you mean inside a double quoted string? like:
?php
$var = {$myArray[$myAssocKey]} {$myObj-property};
?
the braces are used to delimit the variables that are to be interpolated,
this is done to make sure
I am running a Woody server. I'd like to run php scripts from the command
line, but I note that the php/php4 executable is not in my PATH.
I have php4, version 4.1.2-7.0.1 installed.
Is the command-line option available with this version, or do I need to
install another package?
I understand
Dear phpers,
I've got some swf file to be tested their size with php.
But it worked on some of the swf files. Some don't.
I wonder if someone could tell me why.
Any help will be appreciated:)
Thanks in advance.
Sincerely,
Kun
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hodicska Gergely wrote:
I need to get all the X headears (which I can) plus the
content from this POST. My problem is that the content is not
a key/value pair, and so does not apear as a _POST[] variable
http://hu2.php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data
Felh
I have a snippet of code that looks something like:
if (is_array($p_sub_values)) {
foreach ($p_sub_values as $i = $v) {
$p_sub_values_str[$i] = '$v';
}
$s = join(',', $p_sub_values_str);
$r = htmlentities(sprintf($tmp[0], $s, ENT_QUOTES);
}
$tmp[0] in this
Hey Davy,
Thanks for replying.
I checked out punbb before, a fantastic forum coz its real simple, and if
you want more complex stuff it supports it via mods...problem is the mods
can be a pain in the @ss when upgrading and I need something a little more
powerful (private messageing, polls etc) so
Hello Richard,
Shared Memory.
http://php.net/shmop
Not for the faint of heart. :-)
Oooh... this seems sweet... :)
Thanks a lot!
Cya.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Ryan,
Yes i agree the mods are a problem with upgrading. Its a great forum
when you dont need all the more complex stuff. Good luck with your forum
intergration!:-)
Cheers,
Davy
Ryan A wrote:
Hey Davy,
Thanks for replying.
I checked out punbb before, a fantastic forum coz its real simple,
[EMAIL PROTECTED] wrote:
Hi,
I have been investigating ways of preventing automated account
creation on the e-commerce system I am currently working on. Obviously I
have seen the graphical solutions to this problem, a small image containing
several letters and numbers which must be
Robert S wrote:
I am running a Woody server. I'd like to run php scripts from the command
line, but I note that the php/php4 executable is not in my PATH.
Should you ask this at a debian list?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jacques wrote:
I have often seen php code included inside braces. What does this mean or
do?
Jacques
A code block, rtfm :-)
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
[EMAIL PROTECTED] wrote:
Hi,
I have been investigating ways of preventing automated account
creation on the e-commerce system I am currently working on. Obviously I
have seen the graphical solutions to this problem, a small image containing
several letters and numbers which must be
This doesn't set the cookie? Can you see why? I can't...
$showbrowseteam = 'somejargon';
setcookie(showbrowseteam,$showbrowseteam,0,/);
Thanks
-will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.wellho.net/question/H1_5.html
and try google.
vk.
On Apr 6, 2005 2:55 PM, Jacques [EMAIL PROTECTED] wrote:
I have often seen php code included inside braces. What does this mean or
do?
Jacques
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Should you ask this at a debian list?
I tried . . .no luck. I thought that you php folks might know a bit more
about specific versions.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
If I have a function name held in a $_GET variable for example
...func=print_user_list how can I call the function dynamically? ie.
$_GET['func']()
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, CAPTCHA ( http://en.wikipedia.org/wiki/Captcha) is a
pretty neat solution (
http://www.pear.php.net/package/Text_CAPTCHA ). You can also
generate random numbers (www.php.net/rand
www.php.net/mt_rand) and combining it with this PEAR package
Hey,
I have a $data_recs array like this:
12
445
45655
4
343
etc
when the user gives me a number, i have to check if its in the array and
delete that entry...how do i do that?
I have looked at the manual but have gotten confused with array
pop,splice,array_key_exists etc
Thanks,
Ryan
--
Shaun wrote:
Hi,
If I have a function name held in a $_GET variable for example
...func=print_user_list how can I call the function dynamically? ie.
$_GET['func']()
Thanks for your help
Well, call_user_func() [ http://www.php.net/call_user_func ] will do the
job. But that is really bad,
Hi
You might want to download the php source and compile the cli binary yourself
(Command Line Interface)
It takes only little time compared to compiling it as an apache module
Once you got thing setup, you can drop the php extension and just put a
shebang like this
#! /usr/bin/php
At the
[EMAIL PROTECTED] wrote:
A this point to include a file in a my script I must use for each .PHP
file:
?phprequire_once $g_hostname .
'/config_inc.php';'/html_api.php';html_head_end();?
There is another way (i think to php.ini) to set default include,
require_once, working area to my
Ryan A wrote:
Hey,
I have a $data_recs array like this:
12
445
45655
4
343
etc
when the user gives me a number, i have to check if its in the array and
delete that entry...how do i do that?
I have looked at the manual but have gotten confused with array
pop,splice,array_key_exists etc
Thanks,
On Apr 6, 2005 3:09 PM, Ryan A [EMAIL PROTECTED] wrote:
Hey,
I have a $data_recs array like this:
12
445
45655
4
343
etc
when the user gives me a number, i have to check if its in the array and
delete that entry...how do i do that?
I have looked at the manual but have gotten
On Apr 6, 2005 3:27 PM, Ken [EMAIL PROTECTED] wrote:
On Apr 6, 2005 3:09 PM, Ryan A [EMAIL PROTECTED] wrote:
Hey,
I have a $data_recs array like this:
12
445
45655
4
343
etc
when the user gives me a number, i have to check if its in the array and
delete that
On Apr 6, 2005 2:30 PM, William Stokes [EMAIL PROTECTED] wrote:
This doesn't set the cookie? Can you see why? I can't...
$showbrowseteam = 'somejargon';
setcookie(showbrowseteam,$showbrowseteam,0,/);
Thanks
-will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Robert S a écrit :
I am running a Woody server. I'd like to run php scripts from the command
line, but I note that the php/php4 executable is not in my PATH.
just install php4-cgi package (apt-get install php4-cgi)
and the PHP 4 CLI will be install : /usr/bin/php4
Next time, try to use 'apt-cache
just download the php4-cli deb package and install it, i think this
should work, and correct me if it's a stupid idea.
and Sarge is ok for me, i'm running a production e-mail server for
last 6 months with a heavy load on it, i'm using php4-cli on it for
my 'home made' exim4 administration
Andy Pieters wrote:
-- Forwarded Message --
Subject:
Date: Wednesday 06 April 2005 07:30
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Thank you for contacting ActiveWire Inc!
snip
Nope, /dev/null gets it for me. ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL
Anyway, as the replies already show, you have to have a key to identify the
record to be deleted, otherwise, I don't see there can be a way. Why don't
use the data as key as well?
Satyam
Ryan A [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey,
I have a $data_recs array like
I do not question usefulness of include_once(). In fact, currently I'm
developing application that might use it exactly the way you described.
There are many API functions in several files, and there are cases when
I do not need all of them. That is exactly why I am concerned with it's
Tomás Rodriguez Orta wrote:
...
what is the differnece between isset($_session['use']) and
session_is_registered('user') ?
session_register() and session_is_registered() rely on the php.ini
directive register_globals. Register_globals *can* be an ugly monster
that gives crackers an easy
Hi
I am bulding a secure intranet.(php, mysql, apache)
I am using a session and Mysql to handel the user accounts. Everythying
works fine with that.
The client now needs to share word/pdf document with the registered user. I
created a secure directory using .htaccess for this purpose and it
Charles Hamel wrote:
Hi
I am bulding a secure intranet.(php, mysql, apache)
I am using a session and Mysql to handel the user accounts. Everythying
works fine with that.
The client now needs to share word/pdf document with the registered user. I
created a secure directory using .htaccess for
On Wednesday 06 April 2005 16:23, Charles Hamel typed:
Hi
I am bulding a secure intranet.(php, mysql, apache)
I am using a session and Mysql to handel the user accounts. Everythying
works fine with that.
The client now needs to share word/pdf document with the registered user. I
created a
On Wednesday 06 April 2005 16:32, Eric Gorr typed:
Perhaps, https?
HTTPS is a transport security layer, not an authentication or access control
layer.
--
My mind not only wanders, it sometimes leaves completely.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I try to use PDO with Oracle and PHP 5.0.4 on windows...
my php.ini includes php_pdo.dll
and when I try to create an object, I got an error message could not
find driver
Any idea ?
regards,
FENDT Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
For one, you are missing a right parenthesis ) in all of your examples.
htmlentities( sprintf( $tmp[0], $s, ENT_QUOTES )
Second, the string you are trying to format only has one variable
argument: $s.
Fred likes %1$s on his %2$s
You have it numbered for ordering, but you are still ordering
Duncan Hill wrote:
On Wednesday 06 April 2005 16:32, Eric Gorr typed:
Perhaps, https?
HTTPS is a transport security layer, not an authentication or access control
layer.
I understand that. However, some pages can only be accessed if a user
uses https. I though this might be the case here, but
I try to use PDO with Oracle and PHP 5.0.4 on windows...
my php.ini includes php_pdo.dll
and when I try to create an object, I got an error message could not
find driver
Any idea ?
regards,
FENDT Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Duncan Hill [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wednesday 06 April 2005 16:23, Charles Hamel typed:
Hi
I am bulding a secure intranet.(php, mysql, apache)
I am using a session and Mysql to handel the user accounts. Everythying
works fine with that.
The client now
Charles FENDT wrote:
I try to use PDO with Oracle and PHP 5.0.4 on windows...
my php.ini includes php_pdo.dll
and when I try to create an object, I got an error message could not
find driver
Any idea ?
regards,
FENDT Charles
disclaimerI have never used Oracle or PDO/disclaimer
I think
John Nichel wrote:
Andy Pieters wrote:
-- Forwarded Message --
Subject: Date: Wednesday 06 April 2005 07:30
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Thank you for contacting ActiveWire Inc!
snip
Nope, /dev/null gets it for me. ;)
John makes it all sounds so easy, I'll
Duncan Hill [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
IE dropped support (or severely neutered it) for username:password in URLs
a
while back.
If anyone is interested, I found this document which appears to provide
more details...
http://support.microsoft.com/kb/834489
--
PHP
Hey,
I have a $data array like this:
[0] = 158
[1] = 169926
[2] = 169931
[3] = 169932
[4] = 169933
then when i delete the first one ([0] = 158) it becomes like this:
[1] = 169926
[2] = 169931
[3] = 169932
[4] = 169933
how do I get it to sort again from 0,1,2,3
Jochem Maas wrote:
snip
John makes it all sounds so easy, I'll console myself
with the fact that John 'carries' the title Ubergeek :-)
(a title I can only hope to live upto :-)
First requirement is to still have in your possession, a computer from
the Atari/Commodore/Timex days. Root on your
[snip]
I have a $data array like this:
[0] = 158
[1] = 169926
[2] = 169931
[3] = 169932
[4] = 169933
then when i delete the first one ([0] = 158) it becomes like this:
[1] = 169926
[2] = 169931
[3] = 169932
[4] = 169933
how do I get it to sort again from
[snip]
First requirement is to still have in your possession, a computer from
the Atari/Commodore/Timex days. Root on your mail server helps too.
[/snip]
Does the Trash-80 count? I thought about giving it to an archaeology
group for study, but it is holding down a stack of box lids in my
Ryan A wrote:
what function should i lookup/use?
Thanks,
Ryan
This will do the job :
$array = array_values($array);
Hope this helps,
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hey,
I have a $data array like this:
[0] = 158
[1] = 169926
[2] = 169931
[3] = 169932
[4] = 169933
then when i delete the first one ([0] = 158) it becomes like this:
[1] = 169926
[2] = 169931
[3] = 169932
[4] = 169933
how do I get it to sort again from 0,1,2,3 etc?
I
Jay Blanchard wrote:
[snip]
First requirement is to still have in your possession, a computer from
the Atari/Commodore/Timex days. Root on your mail server helps too.
[/snip]
Does the Trash-80 count? I thought about giving it to an archaeology
group for study, but it is holding down a stack of
On Wednesday 06 April 2005 17:02, Charles Hamel wrote:
Duncan Hill [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
One way to handle this is to write a wrapper script that accepts the file
name
as a parameter. The script verifies that the user is allowed to access
Can you
On Wednesday 06 April 2005 16:40, Brent Baisley wrote:
For one, you are missing a right parenthesis ) in all of your examples.
htmlentities( sprintf( $tmp[0], $s, ENT_QUOTES )
Meh, syntax blip from the cut and paste.
Second, the string you are trying to format only has one variable
[snip]
Nope, array_pop is just deleting the last key/valuei need to reindex
it
without deleteing anything.
[/snip]
Always reply to the list ('reply all') as the individual who answered
you might not be there. Always. I mean it.
You shouldn't just delete an item from an array, it is improper
[snip]
Jay Blanchard wrote:
[snip]
First requirement is to still have in your possession, a computer from
the Atari/Commodore/Timex days. Root on your mail server helps too.
[/snip]
Does the Trash-80 count? I thought about giving it to an archaeology
group for study, but it is holding
Jay Blanchard wrote:
snip
Dammittohell! No ÜberGeek for me. It's just as well, I can't pronounce it or anything.
I wouldn't lose sleep over it. I think the people here at work are
actually making fun of me when they 'changed my title'. Maybe it's
because at almost 40, I still collect comic
[snip]
I wouldn't lose sleep over it. I think the people here at work are
actually making fun of me when they 'changed my title'. Maybe it's
because at almost 40, I still collect comic books, and watch Star Trek.
:o
[/snip]
Well, I'm between 45 and 50 and still collect football cards, play
Making life groovy has been difficult since the 60's.
You want to have sprintf look at the contents of the variable instead
of the variable itself. Anytime you want to do something like this you
use the eval() function to evaluate the contents of the variable.
On Apr 6, 2005, at 12:46 PM,
Jason Barnett wrote:
Charles FENDT wrote:
I try to use PDO with Oracle and PHP 5.0.4 on windows...
my php.ini includes php_pdo.dll
and when I try to create an object, I got an error message could not
find driver
Any idea ?
regards,
FENDT Charles
disclaimerI have never used Oracle or
Hi All,
I need some help in searching string in a file.
My requirement is to search the string,append something to the string .
Write the string back to the file without changing other parts of the file.
e.g
Suppose I have the following string in a file
Set-Cookie:
PERFECT!
Thanks mate.
-Ryan
On 8/6/2005 6:47:22 PM, Josip Dzolonga ([EMAIL PROTECTED]) wrote:
Ryan A wrote:
what function should i lookup/use?
Thanks,
Ryan
This will do the job :
$array = array_values($array);
Hope this helps,
--
Josip Dzolonga
Just so you know what is happening, the numbers are keys (index) for
each array element, not the order number. It's the same as if you had
named the elements themselves. Like this:
['zero']=158
['one']=169926
['two']=169931
...
Or
[0]=158
[12]=169926
[5]=169931
...
Deleting an element won't
Nope, array_shift()... is taking off the last one too
Josip sent me the solution:
$array = array_values($array);
Cheers,
Ryan
On 4/6/2005 6:45:40 PM, Jay Blanchard ([EMAIL PROTECTED])
wrote:
[snip]
Nope, array_pop is just deleting the last key/valuei need to reindex
it
without
I need some help in searching string in a file.
My requirement is to search the string,append something to the string .
Write the string back to the file without changing other parts of the file.
e.g
Suppose I have the following string in a file
Set-Cookie: T_COOKIE=127.0.0.1-saswat-9; path=/
The
Duncan Hill [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wednesday 06 April 2005 17:02, Charles Hamel wrote:
Duncan Hill [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
One way to handle this is to write a wrapper script that accepts the
file
name
as a
Hello John,
Wednesday, April 6, 2005, 10:29:48 AM, you wrote:
J First requirement is to still have in your possession, a computer from
J the Atari/Commodore/Timex days. Root on your mail server helps too.
Heheh... I've still got (and most still working):
Commodore 64
Commodore 128
Atari 2600
Let's say I have a form and the action is thus;
form name=\managebatch\ action=\ . basename($PHP_SELF) .
?bid=edit\ method=\POST\\n;
Note the 'bid' attribute. Now, I have a case statement in which stuff
takes place since the form has called it because of the 'bid' attribute.
Before I break from
But, Jay:
Am I missing something here? It's obvious that the 'bid' parameter will
appear in the query string... That's how the form posts it.
Yes, you can unset it if you like, but the form will still add it to the
URL that it posts to, unless you change the action attribute of the
form tag.
[snip]
Am I missing something here? It's obvious that the 'bid' parameter will
appear in the query string... That's how the form posts it.
Yes, you can unset it if you like, but the form will still add it to the
URL that it posts to, unless you change the action attribute of the
form tag.
Jay Blanchard wrote:
[snip]
Am I missing something here? It's obvious that the 'bid' parameter will
appear in the query string... That's how the form posts it.
Yes, you can unset it if you like, but the form will still add it to the
URL that it posts to, unless you change the action attribute of
Jay Blanchard wrote:
Let's say I have a form and the action is thus;
form name=\managebatch\ action=\ . basename($PHP_SELF) .
?bid=edit\ method=\POST\\n;
Note the 'bid' attribute. Now, I have a case statement in which stuff
takes place since the form has called it because of the 'bid' attribute.
Jay Blanchard wrote:
Let's say I have a form and the action is thus;
form name=\managebatch\ action=\ . basename($PHP_SELF) .
?bid=edit\ method=\POST\\n;
Note the 'bid' attribute. Now, I have a case statement in which stuff
takes place since the form has called it because of the 'bid' attribute.
Hi
I appreciate this is an SQL issue, more than a PHP issue, but since it
isn't a DB specific issue, and I'm planning on using it with PHP(and
I'm not subscribed to any SQL lists), I thought I'd post it here.
I have a table a bit like the following:
create table thing (name char(10), value
1 - 100 of 141 matches
Mail list logo