turn register globals ON on php.ini (they now default to off), then read the
1000's of threads about register globals, missing/empty form variables,
super global arrays, etc etc in the archives.
post vars are found in $_POST, session in $_SESSION, get in $_GET, etc etc
Justin French
on
Hello Justin,
That worked perfect but I have one more problem I need to know if one
of the word is UNAVAILABLE I need to know if it is the first one or
the second one. I don't know if there is any way to do this.
1st 2nd
$string =UNAVAILABLE AVAILABLE More Info;
hi guys..
i've really seached alot for Soalris8/intel PHP binaries with no result..
i've tried also to do the compiling but every tme thier is a lots of
errors..
so my only solution now is to find any pre-made binaries for Solaris8/i386
platforme
my question is : does it exist ?
thanx alot
hi guys..
i've really seached alot for Soalris8/intel PHP binaries with no result..
i've tried also to do the compiling but every tme thier is a lots of
errors..
so my only solution now is to find any pre-made binaries for Solaris8/i386
platforme
my question is : does it exist ?
thanx alot
Hi Erwin,
and anyone else too.
It's me again. Maybe you are able to solve another problem for me.
The last Scriptcode I returned to you is working fine in IE6 and below
(I believe), but a friend of mine tried to download a tared file with IE
on MacOS. After checking this behaviour (I'm not
Hello ,
a href=Delay.php?hid=?php echo $hid+1; ?img src=Gif/nextque.gif
border=0/a
While clicking this link the $hid value get incremented and fetch the value
from the database according to that..the same thing is working in linux
platform and it is not working for the windows platform..the
Hi,
I think I could solve the problem on my own.
Thanks anyone for listening, thanks!
Sascha
At 9/27/2002, you wrote:
Erwin mailto:[EMAIL PROTECTED] scribbled;
Qmail List wrote:
Hello List,
I'm putting a php app that has been off-line for about 18 months back
on-line. During my absence from php I had heard about some security
issues, so figured I'd try the latest 4.2.3
Is it possible to specify more than 1 domain in a cookie?
-
[EMAIL PROTECTED]
http://www.cool-palace.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is this because you have domain aliases?
Debbie
- Original Message -
From: Tony Harrison [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 28, 2002 10:25 AM
Subject: [PHP] Multiple Domains in cookie?
Is it possible to specify more than 1 domain in a cookie?
Must be a register globals problem again - php.ini (register_globals) - on
for linux off for windows.
You should keep it switched off (or at least code for it being off) and use
the superglobal arrays $_POST, $_GET etc
Debbie
- Original Message -
From: Uma Shankari T. [EMAIL PROTECTED]
Hi folks,
I just got nuts by trying to find a regexp for use with preg_replace to achive the
following:
remove all br / which are in the text between a pre and a /pre Tag.
So, I want no br between these tags.
Any ideas or quick help?
thanks in advance,
Thomas
--
PHP General Mailing List
GREAT Q!
I have been trying to play with my cookies for a while now for this same
reason..
And to no avail..
It seems due to the structure of them and as long as the client (browser)
sticks to the specifications you can only access a cookie belonging to that
same host..
For example, I am
Hi guys,
I have 2 identical tables called tmp_data and data. (on the same mysql database).
What would be the simple and more convenient way to update table data with a row
from table tmp_data.
(something like select * from tmp_data and than update data ...).
Thanks a lot,
Radu
no no, i understand.
really, what i was getting at, i guess was that this isn't really meant to
be developed for mass distribution. more for a class.
@ Edwin [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Well, I didn't really mean to imply anything about
I wrote a simple script to return data from a query. The database is MS SQL
and the field I am looking to return is a VARCHAR(5000). Everything seems to
work except the data returned is not the whole field it is shortened. It
only returns a portion of the field.
Here is the field:
99 Services,
On thing you could do is output pretags around the text you want to
display. The pre tags keeps simple formatting like tabs and new line
characters.
Shane [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Greetings folks.
I need my carriage returns to show up in my
Hello,
...just wondering...
Are you sure VARCHAR in MS SQL can handle 5000? Should be 255 only? (I'm not
really familiar with MS SQL but you can count the number of characters
returned by php...)
- E
"Christopher J. Crane" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
I see.
Now, that sounds a lot of fun! :)
Anyway, enjoy!
- E
"Kenneth Love" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
no no, i understand.
really, what i was getting at, i guess was that this isn't really meant to
be developed for mass distribution. more
Can you fake IP addresses and referer addresses with the PHP header command.
I want to contact a remote php script and not have my page as the referer or
ip address. Is this possible with sockets or even just fopen()?
--
Regards,
Georgie Casey
[EMAIL PROTECTED]
***
Please how can I unsubscribe .
Regards
Saif Yousif
No God
except AllahMohammed is profit of Allah
- Original Message -
From: Julien Bonastre [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]; Tony
You mean from this list? Please take a loot at the end of this e-mail...
- E
On Thursday, July 27, 2000 11:36 AM
Saif wrote:
Please how can I unsubscribe .
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
INSERT INTO data SELECT * FROM tmp_data WHERE condition_definition
Radu Manole wrote:
Hi guys,
I have 2 identical tables called tmp_data and data. (on the same mysql database).
What would be the simple and more convenient way to update table data with a row
from table tmp_data.
(something
Hi, I want to export some fields on a regular basis from a table to a text
file, preferable to the users local computer. I tried writing to a file with
fopen but I get permission denied when I try to open it for writing.
What is the best solution?
Thanks,
Diana
--
See my web page:
Thanks for some help. I will look into that. This is not my database so I am
not sure how or why it was setup this way. There is more than 255 characters
in each of these fields.
@ Edwin [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
...just wondering...
Hi all..
Got this script to verify a login against a mysql-databas with several
checking for type errors etc.
When I wanna login people, I include a file with all my functions
('functions.php') and I a function verify is called upon.
the function returns false if user entered wrong user/pass,
It's giving you this error because you are sending the headers after
outputting something (which could be just a blank line) - check in your
functions.php that you dont have any blank lines before the start of or
after the end of your script. ie. before the ?php or after the ?
Debbie
-
I´ll do that...I hope thats the problemthanks a LOT!
Debbie_dyer [EMAIL PROTECTED] skrev i meddelandet
00d601c266fe$2f4d32f0$0100a8c0@homepc">news:00d601c266fe$2f4d32f0$0100a8c0@homepc...
It's giving you this error because you are sending the headers after
outputting something (which could
Hi All,
Can someone explain to me why I am getting an error for the following?
$keywords = $_POST[keywords];
if ($keywords) {
echolt;META NAME=keywords CONTENT= $keywords gt;;
}
TIA
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That line is syntactically invalid. Did you meant it to say
echo lt;META NAME=$keywords CONTENT= $keywords gt;;
--
JR
-Original Message-
From: Gary [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 11:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] unexpected T_STRING
The quotes within the quotes.
Change to:
echolt;META NAME=\keywords\ CONTENT=\ $keywords \gt;;
From: Gary [EMAIL PROTECTED]
Sent: Saturday, September 28, 2002 11:15 AM
Subject: [PHP] unexpected T_STRING error
Hi All,
Can someone explain to me why I am getting an error for the following?
Nope, but you can have more than one host per domain (foo.php.net,
bar.php.net, etc.).
Tony Harrison wrote:
Is it possible to specify more than 1 domain in a cookie?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or you just have something like
login.myhost.com
and all your sites use that to authenticate the user. In your php login
script you can just see which site they came back from and then on a
successful login you just redirect them back to that one. You wouldn't
need to use cookies. You could
php-general Digest 28 Sep 2002 15:34:19 - Issue 1612
Topics (messages 117916 through 117955):
.htaccess to change browscap setting
117916 by: SpamSucks86
Re: Assigning data to fields
117917 by: Ken
field size for common data
117918 by: Pablo Oliva
117920
Oops, sorry, forgot to turn off read receipt before I posted.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Everyone seems to forget that you don't have to do everything in PHP.
if ($_POST[keywords])
{
?meta name=keywords content=? echo $_POST[keywords]; ??
}
Happy hacking.
Chris
Gary wrote:
Can someone explain to me why I am getting an error for the following?
$keywords = $_POST[keywords];
if
I knew I shouldn't of been doing this on Saturday morning. I forgot
something as simple as that. Maybe another jolt of caffeine is needed.
Thanks
Gary
Matt wrote:
The quotes within the quotes.
Change to:
echolt;META NAME=\keywords\ CONTENT=\ $keywords \gt;;
From: Gary [EMAIL PROTECTED]
Hi
If what you mean is... you want to be able to write to a file on the
browsers computer, then please let us know if you find a way.
To my knowledge, there is not any intended way to do this... you wouldn't
want any old website to be able to manipulate your hard drive would you?
It might be
Hi guys,
I have come accross a small problem while trying to convert a java program to a PHP
one
my database table is like so
*
cno (int)
name (varchar)
lastname(varchar)
etc etc
*
as you can see the details I take is name/lastname and customer number (cno) is
I didn't catch which database you are using, but you can alter a field
in MySQL to add the auto_increment characteristic. Look into the alter
table SQL statement.
Happy hacking.
Chris
Ryan A wrote:
how do i use the current table BUT use the more useful auto increment and
LAST_INSERT_ID()
snip
Chris Shiflett wrote:
I didn't catch which database you are using, but you can alter a field
in MySQL to add the auto_increment characteristic. Look into the alter
table SQL statement.
/snip
And if you do that, there won't be any trouble with the existing IDs. mysql
will grab the next
Thanks guys,
I thought it would be much more complicated than that but will look into the
alter table thing.
Sorry forgot to mention in the first mail, I am using MySql as its the
cheapest database to get from a hosting company,otherwise on my personal
machine I use MySql and/or Oracle 7.3
okay, how can I write a file in csv format either to the browser or to the
server? If I use the Mysqladmin page I get all the fields, I just want some
of them.
Diana
--
See my web page:
http://www.netrox.net/%7Ecastillo/
Todd Pasley [EMAIL PROTECTED] escribió en el mensaje
[EMAIL
You need to look at a few options... one is regular expression (not my
forte), or perhaps winding through the string one character at a time,
writing a very simple state engine.
Justin French
on 28/09/02 4:47 PM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
Hello Justin,
That worked
Perhaps I don't understand the use of 'htmlentities' too well, but I would
like newlines to be retained/inserted into a db, and then if displayed, to
produce a new line from a textarea. However, I want the possibility of
dangerous html excluded (hence the use of 'htmlentities').
Is there some
fre, 2002-09-27 kl. 14:26 skrev Ford, Mike [LSS]:
I think the page needs a drastic proof-read and grammar check -- I have trouble
understanding what some of it is even trying to say. And I haven't a clue what
ASSAY TO INTEGRATE MANAGEMENT is supposed to mean!
It looks like a nice product,
You can mix and match single (') and double ()
quotes so the following are all appropriate:
echo a 'string' b;
echo a \string\ b;
echo 'a \'string\' b;
echo 'a string b;
See? PHP can't read your mind and know what
goes with what, like:
echo abcdefg; // BAD
Now, when dealing
I think you meant to end both of these strings with a '
Philip Olson wrote:
echo 'a \'string\' b;
echo 'a string b;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ALTER TABLE your_table CHANGE COLUMN old_column_name new_column_name NOT
NULL AUTO_INCREMENT PRIMARY KEY;
Then use mysql_insert_id() in your PHP code to retrieve the ID that is
generated upon INSERTs.
---John Holmes...
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]]
Sent:
Perhaps I don't understand the use of 'htmlentities' too well, but I
would
like newlines to be retained/inserted into a db, and then if
displayed, to
produce a new line from a textarea. However, I want the possibility of
dangerous html excluded (hence the use of 'htmlentities').
Is there
Hi,
I need some discussion about the imagemagick library.
Does anyone know some about an good Imagemagick Mailinglist?
Please send me some Links if you got some ;)
Thanks very much
Sascha
okay, how can I write a file in csv format either to the browser or to
the
server? If I use the Mysqladmin page I get all the fields, I just want
some
of them.
Diana
You can use the SELECT ... INTO OUTFILE query like someone else
mentioned, and then use passthru() to send the file to the
I have 2 identical tables called tmp_data and data. (on the same
mysql
database).
What would be the simple and more convenient way to update table
data
with a row from table tmp_data.
(something like select * from tmp_data and than update data ...).
Why not have just one table with a flag
Why not write to a file on the server and generate a link to it?
Collect info write file user downloads file
Curtis
Diana Castillo wrote:
okay, how can I write a file in csv format either to the browser or to the
server? If I use the Mysqladmin page I get all the fields, I just want some
of
Ok, I am stuck. I am trying to create a folder in the same directory as
process.php and then use move_uploaded_file($FILES['myImage]['tmp_name'])
and it constantly fails:
mkdir() failed (Permission denied)
Here is my code:
?
$willChangeLayout = 1; $isEmptyLayoutValues = 1;
foreach
Hello,
Be for warned that I am new to smarty and for some reason I'm
finding it very difficult to learn. ??? Anyway, my question is how do
I access an array of associative arrays via the {section} statement?
Heres the code:
PHP:
Function readComment( $smarty, $bid ) {
...
//
You can get all the terms into an array using preg_match_all:-
$str = UNAVAILABLE More Info AVAILABLE More Info;
$regExp = /(?:UN)?AVAILABLE|More Info/;
preg_match_all($regExp, $str, $regs);
$regs[0] will contain the matched terms - you should then be able to use
array functions to do whatever
Hello,
Be for warned that I am new to smarty and for some reason I'm
finding it very difficult to learn. ??? Anyway, my question is how do
I access an array of associative arrays via the {section} statement?
Heres the code:
PHP:
Function readComment( $smarty, $bid ) {
...
//
Whatever user your web server is running as needs to have permission to
write to that directory that you are trying to make the new one in.
---John Holmes...
-Original Message-
From: Phil Powell [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 3:38 PM
To: [EMAIL
Ok I did just that.. Permission is set for /users/ppowell/web/my at 0755
giving me full write permissions onto that directory, I would think, to
create subdirectory /images.
However, I can't do that because I get the following error:
on line 27:
if (!is_dir($path)) mkdir($path, 01755);
//
I've made many dirs:
$path_to_dir = '../';
$images = 'images/';
$year = date('Y').'/';
$month = date('m').'/';
$source = 'jpg/';
$thumbs = 'thumbs/';
$preview = 'preview/';
$files = $HTTP_POST_FILES['image'];
$path = $path_to_dir.$images.$year.$month.$source;
Sorry, just signed on... due to this question... hope this horse ain't
too dead.
Anyway, I have a need to run a SSI inside of a PHP page. Only thing I
have found so far is that maybe Apache 2.0 will handle this feature? Is
there anyway to get this to work under Linux/Apache?
--
John Hinton
Nope, convert your SSI's to PHP.
On Sat, 28 Sep 2002, John Hinton wrote:
Sorry, just signed on... due to this question... hope this horse ain't
too dead.
Anyway, I have a need to run a SSI inside of a PHP page. Only thing I
have found so far is that maybe Apache 2.0 will handle this
Hi y'all
I've only been working with PHP for the past 2-3 weeks, so there's alot of
things I haven't quite grasped 100% yet ...
Basically what I'm doing is converting my old framed, js-driven, HTML
website, with 137 physical pages (individual HTML files) and some
dynamically created ones, into
On 28 Sep 2002 at 15:48, Matt Giddings wrote:
Hello,
Be for warned that I am new to smarty and for some reason I'm
finding it very difficult to learn. ??? Anyway, my question is how do
I access an array of associative arrays via the {section} statement?
Heres the code:
Matt,
I
On Saturday 28 September 2002 03:30 pm, John W. Holmes wrote:
Perhaps I don't understand the use of 'htmlentities' too well, but I
would
like newlines to be retained/inserted into a db, and then if
displayed, to
produce a new line from a textarea. However, I want the possibility of
OK, I can't quite follow what you are doing. Here's what you should do.
You should always save it in the database exactly how the user typed it.
Save it with newlines and don't add any HTML code to it. Reason being,
when this has to be edited, it'll show up in the textarea the same way
the user
Hello again,
I'm trying to write a script that has a member's area in it. So far I've
been able to successfully validate only one username and only one
password but now I'm going big and trying to compare it with a table in
my MySQL database. Everything goes nice and smooth until I actually try
wouldn't it be easier and more efficient to simply
count the number of spaces in the string (and add 1)?
using substr_count or something similar
olinux
--- Justin French [EMAIL PROTECTED] wrote:
You need to look at a few options... one is regular
expression (not my
forte), or perhaps
The only thing to worry about is that if someone pulls up your include
file, they're likely to see it as plain text and all of the code within
it will be visible. If there is no PHP code within the file, or the PHP
code is irrelevant (no passwords, logic, etc), then it doesn't matter.
I
$conn = $main; - that line is the problem - you cant use global vars
inside functions without declaring them as global
- Original Message -
From: Stephen Craton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 28, 2002 11:49 PM
Subject: [PHP] Member's Area Script
_YOU_ don't need write permissions, the web server does
---John Holmes...
-Original Message-
From: Phil Powell [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 4:24 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] mkdir() failed: Permission denied
Got it but the solution is derned freaky... talking to the webserver admin I
come to find out that I have to write a stub executable to php4.cgi which
will interpret the PHP script bypassing the Apache mods.. that way I can
keep the directories at the default 0755 and STILL be able to do file
Hi John,
Sorry about the ambiguity. What I'm trying to accomplish is close to what you
describe. However, before anything goes into the db (ie html chars, bad
commands, or anything from Mr.Hacker), I verify it. Someone suggested, way
back when I first started with textarea, to use
Thank you very much!!!
Thanks,
Stephen
http://www.melchior.us
http://php.melchior.us
:: -Original Message-
:: From: debbie_dyer [mailto:[EMAIL PROTECTED]]
:: Sent: Saturday, September 28, 2002 6:03 PM
:: To: [EMAIL PROTECTED]
:: Subject: Re: [PHP] Member's Area Script
::
::
::
::
Sorry about the ambiguity. What I'm trying to accomplish is close to
what
you
describe. However, before anything goes into the db (ie html chars,
bad
commands, or anything from Mr.Hacker), I verify it. Someone suggested,
way
back when I first started with textarea, to use 'htmlentities' to
ive got a html document with the following string in it:
INPUT TYPE=HIDDEN NAME=SPIDERSESSION VALUE=\oiXESASZC?~adQXZDQ?_
what i want to do is get the string which corresponds to value. so that is
\oiXESASZC?~adQXZDQ?_
ive used
preg_match_all ('INPUT TYPE=HIDDEN NAME=SPIDERSESSION VALUE=(.*)',
Hi John,
Sorry about the ambiguity. What I'm trying to accomplish is close to what
you describe. However, before anything goes into the db (ie html chars, bad
commands, or anything from Mr.Hacker), I verify it. Someone suggested, way
back when I first started with textarea, to use
/INPUT TYPE=HIDDEN NAME=SPIDERSESSION VALUE=([^]*)/ should work ...
prob. a better way to do this but its functional :)
-Peter
-Original Message-
From: :B nerdy [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 29, 2002 02:05
To: [EMAIL PROTECTED]
Subject: [PHP] preg help ?
On Saturday 28 September 2002 07:55 pm, John W. Holmes wrote:
Sorry about the ambiguity. What I'm trying to accomplish is close to
what
you
describe. However, before anything goes into the db (ie html chars,
bad
commands, or anything from Mr.Hacker), I verify it. Someone suggested,
Yeah, good catch on the addslash/magic_quote.
Also, FYI: PHP will only allow you to do one query per mysql_query(). So
you can't try to end a quote and then send another query. Don't know if
this is the case for all database functions, or what...
---John Holmes...
-Original Message-
?php
/* db access using postgresql - each row is displayed */
...
trtd{$myrow['request']}/td/tr
...
?
Now unless I can do something like:
trtd'nl2br({$myrow['request']}'/td/tr
Try something like
echo 'trtd'.nl2br($myrow['request'].'/td/tr';
Regards Sascha
--
PHP General Mailing
On Saturday 28 September 2002 08:19 pm, Sascha Cunz wrote:
Hi John,
Sorry about the ambiguity. What I'm trying to accomplish is close to what
you describe. However, before anything goes into the db (ie html chars,
bad commands, or anything from Mr.Hacker), I verify it. Someone
Yeah, good catch on the addslash/magic_quote.
Also, FYI: PHP will only allow you to do one query per mysql_query(). So
you can't try to end a quote and then send another query. Don't know if
this is the case for all database functions, or what...
Does PHP this? Such behaviour would be
The following produced a rather nasty parse error:
echo ($idArray[0][sizeof($idArray[0])]));
I have a 2-dimensional array $idArray that I must obtain the LAST element of that
2-dimensional array.. how do I do it?
Thanx
Phil
-Original Message-
From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 8:34 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Htmlentities and Newlines?
On Saturday 28 September 2002 07:55 pm, John W. Holmes wrote:
Sorry about the
Yeah, good catch on the addslash/magic_quote.
Also, FYI: PHP will only allow you to do one query per mysql_query(). So
you can't try to end a quote and then send another query. Don't know if
this is the case for all database functions, or what...
Does PHP this? Such behaviour would be
Well, your nasty parse error is because you have 2 opening ( and 3 closing
) on that line.
A quick way to get the very last element of a 2-d array is to use:
echo end(end($idArray));
-Rasmus
On Sat, 28 Sep 2002, Phil Powell wrote:
The following produced a rather nasty parse error:
echo
On Saturday 28 September 2002 08:32 pm, John W. Holmes wrote:
-Original Message-
From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 8:34 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Htmlentities and Newlines?
On Saturday 28
Short question: following your advice, what would the data look like
in
the
db if I typed in:
Hi Sascha.
Next line is doubled.
Double.
How would that appear iun the db? In mine, it looks exactly like I
typed
it
above (using 1 2 with magic_quotes=on).
It depends
-Original Message-
From: Peter J. Schoenster [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 5:25 PM
To: [EMAIL PROTECTED]
Cc: Matt Giddings
Subject: Re: [PHP] Smarty template question
On 28 Sep 2002 at 15:48, Matt Giddings wrote:
Hello,
Be for warned
On Saturday 28 September 2002 08:42 pm, John W. Holmes wrote:
Short question: following your advice, what would the data look like
in
the
db if I typed in:
Hi Sascha.
Next line is doubled.
Double.
How would that appear iun the db? In mine, it looks exactly like
Does PHP do what? By default the MySQL query function can only take one
query at a time. There is nothing strange about this. The command-line
mysql tool can take multiple queries separated by semi-colons, but that is
something that is implemented in that command-line tool. It is not done
-Original Message-
From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 9:00 PM
To: [EMAIL PROTECTED]; 'Sascha Cunz'; [EMAIL PROTECTED]
Subject: Re: [PHP] Htmlentities and Newlines?
On Saturday 28 September 2002 08:42 pm, John W. Holmes wrote:
Short
I am getting the following errors attempting to set a cookie and redirect:
Warning: Cannot add header information - headers already sent by (output started at
/users/ppowell/web/my/process.php:5) in /users/ppowell/web/my/process.php on line 76
Warning: Cannot add header information - headers
On Saturday 28 September 2002 08:59 pm, John W. Holmes wrote:
-Original Message-
From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 9:00 PM
To: [EMAIL PROTECTED]; 'Sascha Cunz'; [EMAIL PROTECTED]
Subject: Re: [PHP] Htmlentities and Newlines?
On
You can only set a cookie before any output is send to the browser. A
newline, space, or html, etc, is output to the browser. Redesign your
code so the cookie is set before any output or use output buffering.
---John Holmes...
-Original Message-
From: Phil Powell [mailto:[EMAIL
-Original Message-
From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 9:14 PM
To: [EMAIL PROTECTED]; 'Sascha Cunz'; [EMAIL PROTECTED]
Subject: Re: [PHP] Htmlentities and Newlines?
On Saturday 28 September 2002 08:59 pm, John W. Holmes wrote:
I'm having another problem with my member's area script. When someone
logs in, it's supposed to register their username into a session and it
displays fine on the first page. But once you navigate to another part
of the area, it does not tell you you are logged in, instead it gives me
the error I
On Saturday 28 September 2002 09:13 pm, John W. Holmes wrote:
-Original Message-
From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 9:14 PM
To: [EMAIL PROTECTED]; 'Sascha Cunz'; [EMAIL PROTECTED]
Subject: Re: [PHP] Htmlentities and Newlines?
On
1 - 100 of 133 matches
Mail list logo