On 17-Jun-2003 Ron Dyck wrote:
> I need to match text between two html comment tags.
>
> I'm using: preg_match("/(.*)/", $data,
> $Match)
>
> Which work fine until I have carriage returns. The following doesn't
> match:
>
Use the m (multiline) modifier:
preg_match("/(.*)/m", ...
Regards,
--
php-general Digest 18 Jun 2003 07:36:47 - Issue 2124
Topics (messages 151886 through 151931):
PHP.net Manual Magic?
151886 by: Mark D Hiatt
151889 by: CPT John W. Holmes
Re: Translate easy the language of the web site
151887 by: Jacob Marble
Re: Password generator
This list is not owned by Zend. One should still not be talking about
cracking software (Zend or otherwise) on it, though...
Zeev
At 14:51 14/06/2003, Ryan A wrote:
What can i say?
if you aint living on the edge you're taking up too much space
> I reccomend you don't talk about cracking Ze
Hi,
The following preg_match work fine under linux but under windows I get a
warning. Why?
preg_match("[EMAIL PROTECTED]:space:]]?connect[[:space:]]?\([[:space:]]?[\'\"]([[:graph:]]*)[\'\"][[:space:]]?,[[:space:]]?[\'\"]([[:graph:]]*)[\'\"][[:space:]]?,[[:space:]]?[\'\"]([[:graph:]]*)[\'\"]
LS,
I try to get connected to a MSSQL via ODBC (setup with Windows
authentication) , but this is the error I get.
<<
Warning: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Login
failed for user 'NT AUTHORITY
\ANONYMOUS LOGON'., SQL state 28000 in SQLConnect
>>
Anyone any ideas ?
Thx,
Well said !
More in general , I would like to take the opportunity to thank you and the
Zend team for your contribution with regards to the complete PHP project.
Wim
-Oorspronkelijk bericht-
Van: Zeev Suraski [mailto:[EMAIL PROTECTED]
Verzonden: Wednesday, June 18, 2003 9:50 AM
Aan: Ryan
Hi Other PHP Users,
i am a new PHP "programmer" and i love it; I am really at the beginning,
and i have dowloaded some scripts and programs to begin understand
how it works...
(I have installed PHP + MySql + Apache on a Win98 machine).
To install 1 of those programs, the instructions say that I
Hello
Two things:
First wouldn't it be faster to use strpos and substr if you simply have to
find the literate and .
Second: If you use your regex and you have something like
" This is some text to grasp this is
text I don't want This is some other text I want"
The result would be " This is so
On Wednesday 18 June 2003 16:30, Giuliano wrote:
> i am a new PHP "programmer" and i love it; I am really at the beginning,
> and i have dowloaded some scripts and programs to begin understand
> how it works...
> (I have installed PHP + MySql + Apache on a Win98 machine).
>
>
> To install 1 of tho
Hi List
I don't know what I'm doing wrong:
Firstly, I upgraded from 4.0.1 to 4.3.1 and made sure that I have
similar settings in php.ini wrt register_globals and magic_quotes.
I now have problems with some of my apps:
For instance:
IN a mysql db, I would have a name like :[ whatever "whateve
"Shien Hang Low" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
>
> From: Gabor Hojtsy <[EMAIL PROTECTED]>
> To: Shien Hang Low <[EMAIL PROTECTED]>
> CC: [EMAIL PROTECTED]
> Subject: Re: need help on coding
> Date: Sun, 15 Jun 2003 12:26:53 +0200
>
> Please ask support questions a
IN a mysql db, I would have a name like :[ whatever "whatever" ]
I do a select on the table and then echo the name on a page, as well as
add it to a url:
page.php?myvar=$myvar
where $myvar contains the [ whatever "whatever" ]
Now, when I try to echo $myvar on the page.php, I don't get the ent
> if ($_GET['x']=='')
{$i='whatever "Whatever"';
echo 'link';
}
else
echo 'x is '.urldecode($_GET['x']);
Incomming GET values are urldecoded automaticaly, no need to do this.
?>
and the url looks
like:http://www.X.nl/get.php?x=whatever+%22Whatever%22
--
PHP General Mailing List (ht
Create a string which is six char long,
(for instance shop the head and tail
of the first string if you are not able
to generate a six char string)
If you chop an 8 char string and MUST have
the special chars in the string then check
that the chopped char's is not a memember of
the special char's
What platform are you running, where did you get php, do you have
imap.so in the extension directory, did you restart webserver after
changing its configuration?
Skon Lapamnuaypol wrote:
Hi,
I'm newbie in PHP and tried to install webmail appliction on PHP engine.
That webmail require a module IM
Hi Jason,
Sorry but your code doesn't work. I tried fiddling with it but since
I'm a newbie, I'm a bit lost.
for lines that has '$isbn" -> should it read '$isbn'?
After submitting the form to itself, I tried to echo the $status, $newisdn
but nothing comes out.
For The Javascript, can
> -Original Message-
> From: Logan McKinley [mailto:[EMAIL PROTECTED]
> Sent: 17 June 2003 19:55
>
> right now if a the 'field' key does not exist at all in the
> querystring it
> returns the following error:
> Notice: Undefined index: Register in
> c:\inetpub\wwwroot\PHP\Register.php on
Hello all
I am trying to strip all HTML and other tags from a document, I have
read the docs and written a 4 line script that should do the job (from
my point of view ! ). However it seems to have literally no effect.
Heres the script :
http://namx.co.uk/webstats/";);
if (!($string = strip_tag
If you're using a RedHat linux distribution .. have you also installed the
php-mysql package .. I'm not totally sure about it's name, just give a
search for either mysql or php on the redhat network (rhn.redhat.com) and
you'll see that there's a package for php to connect with mysql ... Not sure
if
Hi List,
Is it possible to read XML data and return as string to browser (as string)?
I do have css file but I need to get data from database and create a XML string (with
the css file). This xml string has to be returned in browser(I.E.) rather than as XML
file.
regards..
Shishir Kumar Mi
On Wednesday 18 June 2003 18:27, Neil wrote:
> I am trying to strip all HTML and other tags from a document, I have
> read the docs and written a 4 line script that should do the job (from
> my point of view ! ). However it seems to have literally no effect.
>
> Heres the script :
>
>
> $file=rea
We use PHP 4.3.1 on Apache 1.3.27 (RedHat 7.3). We got a binary PHP rpm
package from rpmfind.com. The problem occurred on v-webmail from
phpguru.org. I already copied imap.so into /usr/lib/php4 and add an
extension of imap.so on /etc/php.ini, then restart httpd. But, the
application still can't se
Can anyone shed any light on why when I encrypt a string $str using
Initialisation Vector $iv TripleDES (ECB mode)
I get different results on .NET platform when compared to php?
I am attempting to interface to a third party (.NET) host and we need to be
able to both create shared secret tokens bu
Jason Wong wrote:
On Wednesday 18 June 2003 18:27, Neil wrote:
I am trying to strip all HTML and other tags from a document, I have
read the docs and written a 4 line script that should do the job (from
my point of view ! ). However it seems to have literally no effect.
Heres the script :
http:/
Jason Wong wrote:
On Wednesday 18 June 2003 18:27, Neil wrote:
I am trying to strip all HTML and other tags from a document, I have
read the docs and written a 4 line script that should do the job (from
my point of view ! ). However it seems to have literally no effect.
Heres the script :
http://n
Neil wrote:
> I know that file() returns arrays, but i think
readfile() returns a string.
Stop thinking and read the manual. :)
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
PHP|Architect: A magazine for PHP Professionals – www.phparch.com
--
PHP General Mail
Hi guys sorry for the off topic post.
i am not getting any success with Css @ the moment.
What I need is basically a class in my CSS file that defines everything about A links.
I have this class but it aint working (i know its wrong):
.sideMenu {
hover{color:white};
visited {color: black}
John W. Holmes wrote:
Jason Wong wrote:
On Wednesday 18 June 2003 18:27, Neil wrote:
I am trying to strip all HTML and other tags from a document, I have
read the docs and written a 4 line script that should do the job (from
my point of view ! ). However it seems to have literally no effect.
Here
Skon Lapamnuaypol wrote:
We use PHP 4.3.1 on Apache 1.3.27 (RedHat 7.3). We got a binary PHP rpm
package from rpmfind.com. The problem occurred on v-webmail from
phpguru.org. I already copied imap.so into /usr/lib/php4 and add an
extension of imap.so on /etc/php.ini, then restart httpd. But, the
a
I've run into a similar situation before because my default PHP install was
not using the php.ini in /etc/ . In your phpinfo() does it list
/etc/php.ini for the ini file or is something else listed?
-Original Message-
From: Neil [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 7:1
> From: "Angelo Zanetti" <[EMAIL PROTECTED]>
>
> Hi guys sorry for the off topic post.
>
> i am not getting any success with Css @ the moment.
>
> What I need is basically a class in my CSS file that defines everything about
> A links.
>
> I have this class but it aint working (i know its wrong
Check apache logs, or run php from command line.
Skon Lapamnuaypol wrote:
We use PHP 4.3.1 on Apache 1.3.27 (RedHat 7.3). We got a binary PHP rpm
package from rpmfind.com. The problem occurred on v-webmail from
phpguru.org. I already copied imap.so into /usr/lib/php4 and add an
extension of imap.
thanks, now if I want to take off the first element how can I do it and also
get the key back as well ? If I do an array shift that resets the keys and I
dont want to do that.
"David Nicholson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello,
This is a reply to an e-mail that
I have recently created a site that has some PHP in it. It works fine in
all browsers except AOL. I can see some of the PHP page in AOL except the
one that fetches information from MySQL database. I also host my own server
for this site. Maybe this is a server setting or securtity issue. Anyon
[snip]
I have recently created a site that has some PHP in it. It works fine
in
all browsers except AOL. I can see some of the PHP page in AOL except
the
one that fetches information from MySQL database. I also host my own
server
for this site. Maybe this is a server setting or securtity issue.
how can I do an array shift without reseting the keys?
how can I get the key of the first element removed with an array _shift?
thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK, this is the URL that my code produces after it get's the my_var from
the mysql table.
my_var in the table is => whatever whatever "whatever whatever"
So I do a select and I do a $my_var = $myrow['my_var'] (after all the
proper mumbo jumbo about the $myrow = mysql_fetc_assoc...etc.)
I then do
im use PHPcoder too, and the best :) http://devphp.sourceforge.net/ , and in
Linux Zend Studio :)
--
--
Alberto Ferrer
[EMAIL PROTECTED]
http://www.barrahome.org
--
Syntax Error in KITCHEN.H:
(cutted the part about sending a var as get)
page.php?my_var=whatever+whatever++%5C%22whatever+whatever%5C%22&next_var=blabla
ok so here the variable is still complete, including slashes and quotes.
And now, on page.php
If I do an
echo stripslashes($my_var);
I get exactly this:
whatever what
At 14:39 18-6-03, you wrote:
Hi,
i tried installing mysql-4.1.0-alpha, apache, php4.3.2 on windows2000Pro.
now the issue is that i have all the 3 application running and interacting
with each other in
sync but every time i try to connect to mysql through php it gives me
this error:
Warning: my
Hi lists ( and all the guys trying to help me)
Firstly
SORRY, I oversimplified my examples that I posted in the hope that I
would get to the solution faster.
What i failed to mention in my stupidity, was that I echoed the variable
as the value of a form input text field, so I actually messed up
On Wed, 2003-06-18 at 07:14, Angelo Zanetti wrote:
> Hi guys sorry for the off topic post.
>
> i am not getting any success with Css @ the moment.
>
> What I need is basically a class in my CSS file that defines everything about A
> links.
>
> I have this class but it aint working (i know its w
Oh come on now, we don't flame people, or even engage in name-calling for
that matter on this list... :)
We all learn our lessons.
--
Aaron Gould
Web Developer
Parts Canada
-Original Message-
From: Petre Agenbag [mailto:[EMAIL PROTECTED]
Sent: June 18, 2003 8:49 AM
To: Chris Hayes
C
No, I'm all for a public flaming... let him serve as an example to others!!
:)
In all honesty, I have posted about the htmlentities/htmlspecialchars()
requirement when putting data in form inputs quite a lot recently. You
should have picked up on it sooner. :) Oh well, though... at least you know
Hi People,
The below output is quite strange since i think to have set up php.ini
correctly. I simply ran a php_w32api demo script and took care of all i know
wich had to be configured. I'm not sure what this message really means, is
it either the dl() function i should be paying attention to or i
Check the logs if php_w32api.dll extension is really loaded.
Lambrecht Joris wrote:
Hi People,
The below output is quite strange since i think to have set up php.ini
correctly. I simply ran a php_w32api demo script and took care of all i know
wich had to be configured. I'm not sure what this mess
Hi Group,
Does anyone know about the ideal session filesize
limit? I am using the common functionality in the
entire application. So i am thinking to store data
into the session file once user logs into the system
rather retrieving the information from database on
each user request. But i dont kno
[snip]
Does anyone know about the ideal session filesize limit? I am using the
common functionality in the
entire application. So i am thinking to store data into the session file
once user logs into the system
rather retrieving the information from database on each user request.
But i dont know wh
> Does anyone know about the ideal session filesize
> limit? I am using the common functionality in the
> entire application. So i am thinking to store data
> into the session file once user logs into the system
> rather retrieving the information from database on
> each user request. But i dont kn
Hi,
i tried installing mysql-4.1.0-alpha, apache, php4.3.2 on windows2000Pro.
now the issue is that i have all the 3 application running and interacting
with each other in
sync but every time i try to connect to mysql through php it gives me
this error:
Warning: mysql_connect(): Client does n
On Wed, 2003-06-18 at 14:39, Anand Tomar wrote:
> i tried installing mysql-4.1.0-alpha, apache, php4.3.2 on windows2000Pro.
> now the issue is that i have all the 3 application running and interacting
> with each other in
> sync but every time i try to connect to mysql through php it gives me
>
Hi Jay,
Thanks for your quick reply. I am storing the session
file on the server.
Once user logs into the system, i am storing username
and his/her roles (status) in the session files and on
each page request i am retrieving the information from
the session files. Now i need to add some more
fun
when i use str_word_count() i got the following :
Fatal error: Call to undefined function: str_word_count()
and my PHP is Version 4.2.3
What is the problem ???
thanks in advance
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"nabil" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> when i use str_word_count() i got the following :
> Fatal error: Call to undefined function: str_word_count()
>
> and my PHP is Version 4.2.3
>
> What is the problem ???
Reading English?
us2.php.net/str_word_cou
Hi everyone,
I am trying to connect to MSSQL and create a table in a database using
PHP.
Here is my code:
");
$s = @mssql_connect($myServer, $myUser, $myPass)
or die("Couldn't connect to SQL Server on $myServer");
print ("stage2");
$d = @mssql_select_db($myDB, $s)
or die("Couldn't open
hello,
I thought I posted this yesterday but accidentally posted to php-db.
Anyway, can any make a suggestion on how to connect to a c function from
a php app?
I have to connect to a sales tax calculation software. The function
is being written for me but I have to figure how to call it - get
[snip]
");
$s = @mssql_connect($myServer, $myUser, $myPass)
or die("Couldn't connect to SQL Server on $myServer");
print ("stage2");
$d = @mssql_select_db($myDB, $s)
or die("Couldn't open database $myDB");
#this is the create bit
print ("Connected trying to send the query!");
$query = "C
Actually the @ just supress's error messages.
And even then, the "or die" part would still get
executed if the function error'd out.
On Wed, 2003-06-18 at 10:51, Jay Blanchard wrote:
> [snip]
>
> $myServer = "192.92.0.248";
> $myUser = "repro";
> $myPass = "repro";
> $myDB = "repro";
>
>
> Anyway, can any make a suggestion on how to connect to a c function from
> a php app?
>
> I have to connect to a sales tax calculation software. The function
> is being written for me but I have to figure how to call it - get the
> variable - and use it again in my php app.
>
> I've been told th
[snip]
Actually the @ just supress's error messages.
And even then, the "or die" part would still get
executed if the function error'd out.
[/snip]
Well, if that is the case then his script is 'hanging up' during the
mssql_connect phase. Add this line to the top of the script
error_reporting
If I take out the "@" sign I get the following error:
Fatal error: Call to undefined function: mssql_connect() in F:\Program
Files\Apache Group\Apache2\htdocs\REPRO\reprotables.php on line 10
Any more ideas? =)
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: 18 Ju
Uncomment the extension in your php.ini,
usually in:
c:\winnt\php.ini
On Wed, 2003-06-18 at 10:57, Gary Ogilvie wrote:
> If I take out the "@" sign I get the following error:
>
> Fatal error: Call to undefined function: mssql_connect() in F:\Program
> Files\Apache Group\Apache2\htdocs\REPRO\rep
if you want to integrate the c/c++ codes in php you can use the build_skel
that follows php to do this. write:
./build_skel --extname=calculate --proto=/path/to/calculate.proto
--assign-params
where extname is the extension name and proto is a file containing the
prototypes of the functions t
I have tried it on a different machine and it is working... so maybe its
something to do with the setup of my computer?
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: 18 June 2003 15:59
To: [EMAIL PROTECTED]
Cc: Gary Ogilvie; [EMAIL PROTECTED]
Subject: RE: [PHP] Co
why won't this write?
> No Name";
echo "$errorbk";
}
else if ($email=="") {
echo "Form Erorr >> No e-mail";
echo "$errorbk";
}
else if ($input=="") {
echo "Form Error >> No Comment found";
echo "$errorbk";
}
else if ($wb=="1") {
mail($webemail, $subject, $input);
}
if ($action) {
$data = "$name\n$
[snip]
I have tried it on a different machine and it is working... so maybe its
something to do with the setup of my computer?
[/snip]
Check your php.ini as Adam suggested...I strongly suspect that the
;extension=php_mssql.dll
line is still commented out.
Jay
--
PHP General Mailing List (http
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: 18 June 2003 16:14
To: Gary Ogilvie; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X
WindowsMachine
[snip]
I have tried it on a different machine and it is wor
what is it not doing? I see you are referencing the variables directly, is
register globals 'on'? Are you getting errors?
-Original Message-
From: Mark Clarkstone [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 11:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help with my code
wh
How do I comment out a line in an ini file...
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: 18 June 2003 16:14
To: Gary Ogilvie; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X
WindowsMachine
[snip]
I have
Take the semicolon off the start of the line
to uncomment it.
On Wed, 2003-06-18 at 11:18, Gary Ogilvie wrote:
> How do I comment out a line in an ini file...
>
> -Original Message-
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> Sent: 18 June 2003 16:14
> To: Gary Ogilvie; [EMAIL PRO
What is the value of $subject? fwrite() expects the third
value passed to it to be the number of bytes to write.
James
-Original Message-
From: Mark Clarkstone [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 11:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help with my code
why
To echo multiple lines you have to write
echo <<
...
..
END;
and in the beginning you have
if( $action ) {
if...
elseif ..
elseif..
if( $action ) { => why this? you have already checked if $action is true
earlier...
}
}
(nb! posting the what the error is might help solve a
Now I get an error message when going to load the page:
Unknown(): Unable to load dynamic library './php_mssql.dll' - The
specified module could not be found.
-Original Message-
From: Adam Voigt [mailto:[EMAIL PROTECTED]
Sent: 18 June 2003 16:29
To: Gary Ogilvie
Cc: 'Jay Blanchard'; [EMA
Copy all the dll's in the dll folder, which is inside the PHP
folder, to c:\winnt\system32, as well as the php_mssql.dll out
of the extensions folder, to the same path. Then change the line
in the php.ini that says "extension_path" to: c:\winnt\system32.
On Wed, 2003-06-18 at 11:23, Gary Ogilvie
It appears don't have a extension_path line in my ini file
-Original Message-
From: Adam Voigt [mailto:[EMAIL PROTECTED]
Sent: 18 June 2003 16:35
To: Gary Ogilvie
Cc: 'Jay Blanchard'; [EMAIL PROTECTED]
Subject: RE: [PHP] Connecting to MSSQL Using PHP on
Apache2.X.XWindowsMachine
Copy al
Ok thanks everyone I found out the problem
"James E Hicks III" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What is the value of $subject? fwrite() expects the third
> value passed to it to be the number of bytes to write.
>
> James
>
>
> -Original Message-
> From: Mark Cla
[snip]
It appears don't have a extension_path line in my ini file
[/snip]
it may say extension_dir
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Don't worry all - its all been fixed now - thanks for the help :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
After changing the dir to "f:\php\exstensions" all was ok =)
-Original Message-
From: Gary Ogilvie [mailto:[EMAIL PROTECTED]
Sent: 18 June 2003 16:40
To: 'Terje Torkelsen'; [EMAIL PROTECTED]
Subject: [PHP] My Problem
Don't worry all - its all been fixed now - thanks for the help :)
--
[snip]
Don't worry all - its all been fixed now - thanks for the help :)
[/snip]
:7)
Hey Gary, can you do us a favor? When something gets cleaned up like
this change the title of the thread to add SOLVED to it, such as this
RE: [PHP] Connecting to MSSQL Using PHP on Apache2.X.XWindowsMachine
SOLV
>> LISA, in collaboration with Lemoine International has made "Software
>> Testing and Internationalization" by Galileo Computing freely
>> available for download.
>> [snip]
>> To download a copy, please visit
>> http://www.lisa.org/interact/2003/swtestregister.html
>
>How about a privacy statemen
On Wed, 2003-06-18 at 08:23, Terje Torkelsen wrote:
> To echo multiple lines you have to write
>
> echo <<
>
>
>
>
>
> ...
> ..
>
> END;
No offense, but this is completely false. Double-quotes will work just
fine.
--
Torben Wilson <[EMAIL PROTECTED]>+1.604
Could anyone tell me how to print all the variables and values from a submitted form,
so that I can check them?
Thanks,
Matt
> >> LISA, in collaboration with Lemoine International has made "Software
> >> Testing and Internationalization" by Galileo Computing freely
> >> available for download.
> >> [snip]
> >> To download a copy, please visit
> >> http://www.lisa.org/interact/2003/swtestregister.html
> >
> >How about a
print_r($_POST) OR print_r($_GET)
On Wed, 2003-06-18 at 11:51, Matt Palermo wrote:
> Could anyone tell me how to print all the variables and values from a submitted
> form, so that I can check them?
>
> Thanks,
>
> Matt
--
Adam Voigt ([EMAIL PROTECTED])
Linux/Unix Network Administrator
The
Depending on Form Method (example uses POST METHOD)
echo "";
print_r($HTTP_POST_VARS);
echo "";
"Matt Palermo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Could anyone tell me how to print all the variables and values from a
submitted form, so that I can check them?
Thanks,
Ma
never mind I found the answer, use key(arrayname) to get the key and
next(arrayname) to move to next element without reseting the keys.
"Diana Castillo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> how can I do an array shift without reseting the keys?
> how can I get the key of t
hehe.. know, i seem to write it a little fast.. it a _long_ time since ive
use this notation.. :)
im gonna check it to be sure next time..
On Wed, 18 Jun 2003 17:45:26 +0200, Lars Torben Wilson wrote
(in message <[EMAIL PROTECTED]>):
> Organization:
> MIME-version: 1.0
> X-Mailer: Ximian Evolut
On Wed, 2003-06-18 at 08:51, Matt Palermo wrote:
> Could anyone tell me how to print all the variables and values from a submitted
> form, so that I can check them?
>
> Thanks,
>
> Matt
print_r($_REQUEST);
...or, depending on the method your form is using, one of:
print_r($_POST);
//
We have a server running Windows 2000 with IIS, and
PHP 4.2.3 and we are having a fairly continuous stream
of the standard "CGI Application Misbehaved" errors
(like every 5 pages). There doesn't seem to be any pattern
in relation to code or particular page.
Upgrading versions of PHP would be my fi
[snip]
We have a server running Windows 2000 with IIS, and
PHP 4.2.3 and we are having a fairly continuous stream
of the standard "CGI Application Misbehaved" errors
(like every 5 pages). There doesn't seem to be any pattern
in relation to code or particular page.
Upgrading versions of PHP would b
Affirmative.
On Wed, 2003-06-18 at 12:53, Jay Blanchard wrote:
> [snip]
> We have a server running Windows 2000 with IIS, and
> PHP 4.2.3 and we are having a fairly continuous stream
> of the standard "CGI Application Misbehaved" errors
> (like every 5 pages). There doesn't seem to be any pattern
I know this is more of a mySQL question but, how do I delete and add rows
and columns?
--
- Zavaboy
[EMAIL PROTECTED]
www.zavaboy.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
A search on mysql.com reveals.
http://www.mysql.com/search/index.php?q=DELETE&from=%2Fdocumentation%2Findex
.html
--
Aaron Gould
Web Developer
Parts Canada
-Original Message-
From: zavaboy [mailto:[EMAIL PROTECTED]
Sent: June 18, 2003 1:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
http://www.mysql.com/doc/en/ALTER_TABLE.html
> I know this is more of a mySQL question but, how do I delete and add rows
> and columns?
>
> --
>
> - Zavaboy
> [EMAIL PROTECTED]
> www.zavaboy.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www
On Wed, 2003-06-18 at 10:03, zavaboy wrote:
> I know this is more of a mySQL question but, how do I delete and add rows
> and columns?
>
> --
>
> - Zavaboy
> [EMAIL PROTECTED]
> www.zavaboy.com
Using the mysql_*() function and the SQL language. The mysql_*()
functions are documented here:
h
I have a forms page that a user will fill out. When it is submitted, it checks to see
if any of the field entries entries are empty, and if so, it has a die() statement
that has a link (javascript:history.back()) which sends the user back to the form
page. However, when they go back to the for
Hi, need someone with a fresh mind on tacking this problem. I haven't
gotten this to work right for 1 1/2 days now.
In the sample script, you will noticed that the php variable, '$ODBC_RESULT'
represent a year in 4 digit, like 2003, 2002, 2001, 2000, etc... When I
grab the data from the database
If you want to see any data beside the form, then you can do this...
print_r($GLOBALS);
Only if you want to see data beside the submitted form.
"Matt Palermo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Could anyone tell me how to print all the variables and values from a
submitt
On Wed, 2003-06-18 at 10:32, Scott Fletcher wrote:
[snip]
> if ($ArrayCheck == 0) {
> $ArrayDataCount['$ODBC_RESULT'] = "0";
What happens when you remove the single-quotes? You're currently
defining only one array value, with the key being the literal string
'$ODBC_RESULT'--
1 - 100 of 185 matches
Mail list logo