olinux wrote:
Try out smarty (its quite simple). You will get some
ideas on how to structure. I learned that its *ok* to
have some *display logic* in your templates (i.e.
repeating rows). (yes, some will adamantly disagree)
Another thing i learned when using smarty is I like
using arrays to
Matt Palermo wrote:
I have a form that a user can fill out. In the text input
field I
allow them to insert HTML tags with their input data. They can
then
submit the form for processing. The problem is that later on
when
they go to edit their inputs (I initialize the text input with
their
Hiya,
Replace with quot;
Martin
-Original Message-
From: Cristian Lavaque [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 30 September 2003 5:09 PM
To: [PHP]
Subject: Re: [PHP] Initial Value for Input Box
Matt Palermo wrote:
I have a form that a user can fill out. In the text input
field
Hello,
I am looking for some guidance... I am using PHP to make dynamic
buttons... Is the PNG image format a pretty safe thing to go with...
Standard wise?
Thanks for your input.
Joe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Sep 30, 2003 at 02:40:42AM -0400, Joe Harman wrote:
:
: I am looking for some guidance... I am using PHP to make dynamic
: buttons... Is the PNG image format a pretty safe thing to go with...
: Standard wise?
PNG support in M$ IE is still shaky.
--
PHP General Mailing List
Do somebody has any snipet for this stuff ?
- Original Message -
From: Ryan A [EMAIL PROTECTED]
To: Chris W. Parker [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, September 30, 2003 1:46 AM
Subject: Re: [PHP] captcha WAS Please visit my php program
Hey,
/*
Exactly what is
I use mail() function in php, but there's no living mail from my system.
MUST be mail() function turn on in some special place (ini file, ...)
??
THANKS.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a number of forms on my site, and each form can be accessed from a
number of different pages. Can anyone suggest a way I can monitor this so
that when the submit button is pressed the user is returned to the page they
were on before. This is also complicated by the fact that I have a
-Original Message-
From: Cristian Lavaque [mailto:[EMAIL PROTECTED]
You could also put the input values in dropdown menus, at
least day and month. That way you make sure the input to the
funtion is correct everytime.
The code is just a function it's not a page in itself. I use
-Original Message-
From: Shaun [mailto:[EMAIL PROTECTED]
Hi,
I have a number of forms on my site, and each form can be
accessed from a number of different pages. Can anyone suggest
a way I can monitor this so that when the submit button is
pressed the user is returned to the
Jon Kriek [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Well I meant just
putenv('TZ=US/Eastern');
But you get the idea.
--
Jon Kriek
http://phpfreaks.com
Jon Kriek [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
See the putenv() function. For example to get
Hmm .. I haven't been on the list for a while so it took me some time to
answer ;).. Anyways, what I believe is a possible cause for your problem is
that there simply ain't no session started. Maybe the always start session
before the php page request setting was On if not configured, but is now
Hi all,
I am creating a simple receipt system whereby user will enter relevant
info
via a text form and using echo method to output and print the receipt data. I've
used CSS as the front-end . My question is, is it possible to output the receipt
information more than once on a single
By advising you something like this
2 ?php
3 exec('echo p 1 | mail', $Lines);
4
5 foreach($Lines as $Line) {
6 print ' '.$Line.\n;
7 };
8 ?
Would I apply for the bonus points? It would generate output similar to
Mail version 8.1 6/6/93.
Hi,
I have just installed PHP 4.3.3, Apache 2.0.47 and MySQL 4.0.15a under
Windows XP.
When I try to see a HTML pages, everything is ok but when it comes to PHP
pages nothing works
I have this message with IE : The page cannot be displayed
with Opera 7, Mozilla : nothing
HELP
Thanks
Olivier
--
On Tue, Sep 30, 2003 at 11:56:23AM +0200, Olivier Simah wrote:
Hi,
I have just installed PHP 4.3.3, Apache 2.0.47 and MySQL 4.0.15a under
Windows XP.
When I try to see a HTML pages, everything is ok but when it comes to PHP
pages nothing works
I have this message with IE : The page cannot be
Hi, all --
...and then Ryan A said...
%
% Hey,
Hiya!
%
% /*
% Exactly what is the purpose of this? Let me clarify. I know that it's
...
% */
% Its more of a hassle and requires the entity who is submitting the form to
A hassle is right. What about your visitors who use a text-only browser
The problem is that I do not have the log right now, I send you an answer
tonight
Thanks
Martin Clarke [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Tue, Sep 30, 2003 at 11:56:23AM +0200, Olivier Simah wrote:
Hi,
I have just installed PHP 4.3.3, Apache 2.0.47 and MySQL 4.0.15a
i have a script where people upload an image it is then renamed and is
supposed to be cripped according to the values they submit but i cant seem
to get it to crop it uploads and is renamed fine though. also i wish to use
a static name so when another picture is uploaded the old one is overwritten
Cameron --
...and then Cameron Metzke said...
%
...
% a static name so when another picture is uploaded the old one is overwritten
% that is why the input path and output path is the same.
% -Code--
% exec($path_imagemagick.convert -crop 0x100+0+0 $imagepath.$filename
%
Hi,
I need to send the following link
view_day.php?mysql_date=2003-09-23user_id=35set_form_actions=truenew_user
=yesuser_name=Kate%20Dickielink_text=diarylink_action=availability.php?ne
w_user=yesuser_name=Kate%20Dickie.
This may seem strange that I have 2 ?'s in the link but the point here is
I give an wrong example. Here is a better one
?php
$txt = func1($par1, 100 (euro), func2($par2,(c) by nobody));
if (preg_match_all('
/
([a-zA-Z]\w*?)
\s*
(
\(
(
(?.*?)|
.*?(?R)*
)
\)
)+
/x
', $txt, $m)){
print_r($m);
} else {
echo no match;
}
echo \n;
?
This must result in
I would do it this way. Output your files and update bandwith usage:
while($out=fread($file, 4096)) {
echo $out;
UPDATE bandwith_usage SET bandwith_usage = bandwith_usage+1 WHERE
second = UNIX_TIMESTAMP() LIMIT 1
if(mysql_affected_rows()==0) { // if this is the first output in this
second
http://sk.php.net/manual/en/features.file-upload.put-method.php
Oscar F wrote:
Hello all,
I'm having a problem with PHP/WebDAV. Here's my problem:
I am working on a system that keeps track of documents. The documents
are stores based on document ids, and the filename is saved on the
database
Hi All,
I am having problems with fsockopen() and wondered if anyone else has
encountered this behaviour. My problem is that when connecting to an invalid
domain I cannot trap the errors.
I have tried setting a variable then testing the value, which prints a
warning to the screen...
$sck_handle
register_globals off?
What if you hardcode
$id=$_GET['id'];
??
Ben Johnson wrote:
Hi,
Why is the product_details.php is not getting the id value properly.
In the URL it is showing id=1 with along with the correction location
and file name. But the page is not getting displayed.
table
On Tuesday 30 September 2003 18:20, Shaun wrote:
I need to send the following link
view_day.php?mysql_date=2003-09-23user_id=35set_form_actions=truenew_use
r
=yesuser_name=Kate%20Dickielink_text=diarylink_action=availability.php?n
e w_user=yesuser_name=Kate%20Dickie.
This may seem strange
25 queries a second? No problem.
But you calculations are still wrong:
500 kb/s = 62.5 kB/s
62.5 kB/s * 100 users = 6 250 MB/s
6 250 MB/s / 4 kB (4096 B) = 1562.5 queries per second
Well that's too much. At this load 4096 can be increased to 409600, the
database load would be only 15.625
Ima having problems myself with this, i dont seem to get errors when
entering an invalid .com or .net name i put it down to verisign hijacking
invalid somains?? could this be your problem?
Phil Ewington - 43 Plc [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi All,
I am having
Yes, you can. But would not it be smarter to increase the number of
copies in the print dialog?
[EMAIL PROTECTED] wrote:
Hi all,
I am creating a simple receipt system whereby user will enter relevant
info
via a text form and using echo method to output and print the receipt data.
On Tuesday 30 September 2003 18:46, Phil Ewington - 43 Plc wrote:
I am having problems with fsockopen() and wondered if anyone else has
encountered this behaviour. My problem is that when connecting to an
invalid domain I cannot trap the errors.
Have you checked that it is really an invalid
I'm referencing an image on a different server, and it keeps changing
URL's
Very odd, but t get round that, I tried...
if (file_exists(http://www.othersite.com/image_1.gif;)) {
$image_show=http://www.othersite.com/image_1.gif;;
} else {
[EMAIL PROTECTED] wrote:
Hi all,
I would like to create a dynamic kinda Timetable whereby I can add,
del, and modify the data contained in each cell. Besides that, each cell in the
table should have its unique colour in which this unique colour can be modified
anytime to a different
[snip]
My question is, is it possible to output the receipt information more
than once on a single page (Browser) as I would need to print out
the receipt thrice for the different department as required.
[/snip]
wrap the output in a for loop
for($i = 0; $i 3; $i++){
output receipt
}
[snip]
I have just installed PHP 4.3.3, Apache 2.0.47 and MySQL 4.0.15a under
Windows XP.
When I try to see a HTML pages, everything is ok but when it comes to
PHP
pages nothing works
I have this message with IE : The page cannot be displayed
with Opera 7, Mozilla : nothing
[/snip]
Did you add
On Tuesday 30 September 2003 18:59, Marek Kilimajer wrote:
Yes, you can. But would not it be smarter to increase the number of
copies in the print dialog?
But that would be environmentally unfriendly because it uses more paper ;-)
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open
On Tuesday 30 September 2003 19:00, [EMAIL PROTECTED] wrote:
I'm referencing an image on a different server, and it keeps changing
URL's
Very odd, but t get round that, I tried...
if (file_exists(http://www.othersite.com/image_1.gif;)) {
RTFM?
(Sorry, very newbie question)
Jason Wong [EMAIL PROTECTED]
30/09/2003 12:26
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
Re: [PHP] file_exists on different server...
On Tuesday 30 September 2003 19:00, [EMAIL PROTECTED] wrote:
I'm referencing an image on
Olivier Simah wrote:
Hi,
I have just installed PHP 4.3.3, Apache 2.0.47 and MySQL 4.0.15a under
Windows XP.
When I try to see a HTML pages, everything is ok but when it comes to PHP
pages nothing works
I have this message with IE : The page cannot be displayed
with Opera 7, Mozilla : nothing
Try
Forget regexp and try this function:
http://sk.php.net/manual/en/function.token-get-all.php
Jaaboo wrote:
I give an wrong example. Here is a better one
?php
$txt = func1($par1, 100 (euro), func2($par2,(c) by nobody));
if (preg_match_all('
/
([a-zA-Z]\w*?)
\s*
(
\(
(
(?.*?)|
.*?(?R)*
)
Set SMTP setting in php.ini to the smtp server of your provider (and
don't forget to restart web server).
[EMAIL PROTECTED] wrote:
I use mail() function in php, but there's no living mail from my system.
MUST be mail() function turn on in some special place (ini file, ...)
??
THANKS.
--
PHP
Hi,
does anyone know how to handle file and directory paths on a IIS 5.0
server? Problem is that the server has multi-domain and each domain has an
associated 'root' dir below e:\webspaces.
So if one uses relative path strings, an opendir() for example will fail.
One has to use
% a static name so when another picture is uploaded the old one is
overwritten % that is why the input path and output path is the same.
% -Code--
% exec($path_imagemagick.convert -crop 0x100+0+0 $imagepath.$filename
% $imagepath.$filename);
% -End Code--
hi marek,
thanx for your suggestion.
i have tried out the tokenizer but
1. i think its not realy final and can change in the future
2. the tokenizer can only find real php code but i need to find my
simplified php code without an ; on the end of an statement for example.
so the tokenizer
[snip]
http://zirzow.dyndns.org/html/mlists/php_general/
[/snip]
Hey Chris! nice job. Quick question (I tried viewing your source and
locating the CSS, but for some reason can't get to it this
morning...brain dead). How do you get that nifty sunken box effect in
the CSS, and can I borrow that? I
Yes this is done, PHP is installed as a module of Apache
Olivier
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
I have just installed PHP 4.3.3, Apache 2.0.47 and MySQL 4.0.15a under
Windows XP.
When I try to see a HTML pages, everything is ok but when it comes to
Positive, I am deliberately using invalid domains to test how to catch
errors when users misspell their domain.
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: 30 September 2003 12:01
To: [EMAIL PROTECTED]
Subject: Re: [PHP] fsockopen()
On Tuesday 30 September 2003
hi I have a table with rows and each row contains a checkbox ( array) and a
record. TD of the checkbox:
echo(td width=15 bgcolor=#9FD9FFinput type=checkbox name=chkR[] value=.
$chkSessionF[$i] ./td);
as you can see the array of checkboxes is called chkR.
When the user clicks a submit button it
Hi all,
I have a series of library files written in PHP that other developers use by
including them into their code.
I have also written an error handling system that emails me if certain kinds
of problems arise.
The problem, I only want to receive an email if the problem occurred in one
of my
echo td width=\15\ bgcolor=\#9FD9FF\
input type=\checkbox\ name=\chkR[$i]\
value=\$chkSessionF[$i]\/td);
might solve the problem
pete
hi I have a table with rows and each row contains a checkbox ( array) and a
record. TD of the checkbox:
echo(td width=15 bgcolor=#9FD9FFinput type=checkbox
Daryl Meese wrote:
[ snip ]
The problem, I only want to receive an email if the problem occurred in one
of my library files and want the other developer to see the error if it is
in their file.
You can use some php constants, such as __FILE__ and __FUNCTION__ to
narrow down when an email is
debug_backtrace() generates a PHP backtrace and returns this information
as an associative array. You can use it to find out where the error ocured.
Daryl Meese wrote:
Hi all,
I have a series of library files written in PHP that other developers use by
including them into their code.
I have
Tristan --
...and then [EMAIL PROTECTED] said...
%
% RTFM?
% (Sorry, very newbie question)
Sort of, yes :-)
See The Jargon File at
http://catb.org/esr/jargon/
or jump straight to How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html
for not only a
Chris [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm not looking for an IDE or code generator so much as some practical
advice for organization and framework when developing a larger app. I know
of PHP Fusebox, having programmed with Cold Fusion fusebox for a while,
but
it seems
Is there any way to avoid having this happen using php if someone sits
on a page too long and clicks the back button to go back to a form they
have filled out and not having the values in a session?
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Marek, et al --
Please excuse this off-topic post. I've tried to ask with a fresh
message but it never seems to appear...
...and then Marek Kilimajer said...
%
...
% If you don't want your users to wait for server responce each time they
% touch something, use javascript.
%
% select
Hi,
Wednesday, October 1, 2003, 12:10:10 AM, you wrote:
EC Is there any way to avoid having this happen using php if someone sits
EC on a page too long and clicks the back button to go back to a form they
EC have filled out and not having the values in a session?
EC Thanks,
EC Ed
To avoid
I am putting together a web site with graphics from the artist and I need
to learn how to change the image when I hover over it. Can you recommend
a good javascript list or resource, particularly for someone who doesn't
want to learn a lot of javascript?
I have not found a great website
If both images have the same size you don't even need javascript:
style
#mydiv {
background-image : url(http://domain.org/image1.jpg);
background-repeat : no-repeat;
width : 200px;
height : 120px;
}
#mydiv:hover {
background-image :
Hello...
I have created a routine which outputs a pdf file of 'data only'.
It is to be printed onto a pdf form which I obtain elsewhere.
At present we are printing the blank form. Then placing it into the
paper tray in order to print the data file to it.
I would like to cause the data and
On Tuesday 30 September 2003 20:39, Phil Ewington - 43 Plc wrote:
Positive, I am deliberately using invalid domains to test how to catch
errors when users misspell their domain.
Did you read that article (or are you aware of what it is about)?
And what invalid domains have you tried?
--
Marek, et al --
...and then Marek Kilimajer said...
%
% If both images have the same size you don't even need javascript:
Ooooh! Yay! That's what I *really* wanted, but I was told it couldn't
be done!
% style
% #mydiv {
...
% #mydiv:hover {
% background-image :
Ray, et al --
...and then Ray Hunter said...
%
% a good javascript list or resource, particularly for someone who doesn't
% want to learn a lot of javascript?
%
% I have not found a great website however, i have tons of success with
% group comp.lang.javascript. They have anwser all of my
David T-G wrote:
Hmmm... Sounds like I'll have to have a div definition for each of my
tabs (about nine), right? Still, it might be worth it if I managed to
avoid javascript :-)
It does not have to be a div, it can be almost any element.
--
PHP General Mailing List (http://www.php.net/)
To
Tom Rogers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Sunday, September 28, 2003, 5:39:53 PM, you wrote:
j I found this function, setlocale...
j now, is there a way to GET the LOCALE setting of a machine?
j Walter
call setlocale with 0 (zero or NULL) as the second
--- David T-G [EMAIL PROTECTED] wrote:
A hassle is right. What about your visitors who use a text-only
browser (or surf with images turned off) or who depend on
text-to-speech readers?
This sort of thing is, IMNSHO, unnecessary and the wrong approach;
it makes the web harder to use without
I can understand that. When I was a young coder, just fresh out of high
school going to school for Sport Management, btw I believe and have stress
to the education board that I sit on for high school and trade school tech
programs that they not teach specifics about a certain language but that
Hi,
Wednesday, October 1, 2003, 1:25:09 AM, you wrote:
j returns the current setting
j Thanks Tom...
j Now, if I understand this properly,
j This should return French_France...
jsetlocale (LC_ALL, 'fr_FR');
jecho setlocale (LC_ALL, '');
j and this English_ Great Britain
j
Chris, et al --
...and then Chris Shiflett said...
%
% --- David T-G [EMAIL PROTECTED] wrote:
% A hassle is right. What about your visitors who use a text-only
...
% The form should be designed correctly and safely in the first
% place.
%
% That's a valid complaint, but I fail to see how a
Sorry Jason, I did read the article but must have been away with the fairies
for a moment. I was testing domains that are complete rubbish but they were
all .com and .net so yes you were right and I am a complete fool ;o). Now
getting an error message 'No such file or directory' when testing on
--- Curt Zirzow [EMAIL PROTECTED] wrote:
I'm on message 163194 and counting down to zero at this point :)
Added a little person- month summary too.
Awesome. I think this is the best aggregation of this mailing list anyone has
bothered to make. Nice job.
I've posted more than the two
Hi.
In my script I start a session, register certain variables and redirect to
the next page.
The session file is written to /tmp, but contains no data !
Any idea ?
Thanx for help,
Harald
--
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS,
please paste an example of the 2 pages
Harald Kürsten wrote:
Hi.
In my script I start a session, register certain variables and redirect to
the next page.
The session file is written to /tmp, but contains no data !
Any idea ?
Thanx for help,
Harald
--
PHP General Mailing List
Angelo Zanetti mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 5:43 AM said:
hi I have a table with rows and each row contains a checkbox ( array)
and a record. TD of the checkbox:
echo(td width=15 bgcolor=#9FD9FFinput type=checkbox name=chkR[]
value=. $chkSessionF[$i] ./td);
Tom Rogers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Those locales actually have to be available or they will be ignored and
that
will depend on what type of system your running on.
OK, I'm on Windows 2k, and after reading Microsofts docs, I thought it was
all there.
Maybe
I have an if statement that I would like to make a little bit more
generic. This is how the statement looks now.
if($k2b==/etc/bind/options.conf.wp || $k2b==/etc/bind/rndc.conf.wp ||
$k2b==/etc/bind/keys.conf.wp){
do this1
}else{
do this2
}
What I would like to do is to have an array
(I posted this to another list yesterday without response, so if it
looks familiar, that's why.)
Hi.
I'm working on a small study aid for myself (and anyone else that wants
to use it) and I could really use the ability to store Japanese
characters in a MySQL or pgsql db. Right now I've created a
Hi everybody,
i was googled a long time looking how to pass the snmp version to the snmpget
or snmpwalk functions. The only response was from a guy who proposed to
change the source code. I don't fully understand, the code is ready to do
snmp v2c querys but it doesn't exists the parameters...
--- David T-G [EMAIL PROTECTED] wrote:
1) No, not right now.
2) Let's clarify the example we're considering, since I don't think
that the approach will necessarily be the same for all forms.
3) Once that's done, let me think about it :-)
The challenge is to create a form that cannot be
Steve Buehler wrote:
[snip]
$array=(/etc/bind/options.conf.wp,/etc/bind/rndc.conf.wp,/etc/bind/keys.conf.wp);
if($k2b==$array){
do this1
}else{
do this2
}
You are close. Check out in_array(). http://us4.php.net/in_array
if (in_array($kb2, $array))
- Brad
--
PHP General Mailing List
if(in_array($k2b, $array)) { ...
Steve Buehler wrote:
I have an if statement that I would like to make a little bit more
generic. This is how the statement looks now.
if($k2b==/etc/bind/options.conf.wp || $k2b==/etc/bind/rndc.conf.wp
|| $k2b==/etc/bind/keys.conf.wp){
do this1
}else{
* Thus wrote Steve Buehler ([EMAIL PROTECTED]):
What I would like to do is to have an array earlier in the script of just
the items that it is checking for so that it can be more easily changed if
I put this out as free or shareware software. Here is what it might look
like, but I know
Hi,
Wednesday, October 1, 2003, 2:15:10 AM, you wrote:
j Tom Rogers [EMAIL PROTECTED] wrote in message
j news:[EMAIL PROTECTED]
Those locales actually have to be available or they will be ignored and
j that
will depend on what type of system your running on.
j OK, I'm on Windows 2k, and after
To Brad, Marek and Curt (and anybody who responds after this)
Thank you so much for your help. This is going to help me out so
much in a lot of my scripts. It will sure make them a little.Noa
LOT more portable now.
Thanks
Steve
At 11:26 AM 9/30/2003, you wrote:
Steve Buehler
We have 2 servers, one for development and one for production. The
development server is dev.change.wild.net while the production server
is change.wild.net. We are using the following code to set the cookie
$expire_time = time()+60*60*24*30; // 30 days
setcookie( 'this', $this, $expire_time,
From: Harald Kürsten [EMAIL PROTECTED]
In my script I start a session, register certain variables and redirect to
the next page.
The session file is written to /tmp, but contains no data !
Does a simple session example from the Manual work?
Some actual code would help here, but try using
Chris Boget wrote:
We are accessing the cookie values using $_COOKIE. What appears to
be happening is that when we echo the values of the above cookies on
dev.change.wild.net, it is displaying the values set for on change.wild.net.
Why is that? Because change.wild.net is the primary domain with
Not sure about mysql, but with pgsql, if you create your database with
utf-8 or equivalent japanese
encoding, you should be able to store japanese characters in the db...
Chris W. Parker wrote:
(I posted this to another list yesterday without response, so if it
looks familiar, that's why.)
Hi.
--- Chris Boget [EMAIL PROTECTED] wrote:
We have 2 servers, one for development and one for production. The
development server is dev.change.wild.net while the production server
is change.wild.net. We are using the following code to set the cookie
$expire_time = time()+60*60*24*30; // 30
On Wednesday 01 October 2003 00:10, Chris W. Parker wrote:
[snip]
If you're not sure what a value is use print_r() to determine it.
echo pre;
print_r($chk);
echo /pre;
Quick side note on the above code:
You cannot write it like:
echo pre.print_r($chk)./pre;
It will not work.
You
--- CPT John W. Holmes [EMAIL PROTECTED] wrote:
From: Harald Kürsten [EMAIL PROTECTED]
In my script I start a session, register certain variables and
redirect to the next page. The session file is written to /tmp,
but contains no data !
Does a simple session example from the Manual work?
Jason Wong mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:06 AM said:
echo pre.print_r($chk)./pre;
It will not work.
You can do this though:
echo pre, print_r($chk), /pre;
Well heck, that makes things easier!
What's the difference between using , or . for
Forwarded Message
Date: Wed, 24 Sep 2003 07:17:05 -0700 (PDT)
From: -- [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: __clone() questions ???
Plain Text Attachment [ Save to my Yahoo! Briefcase |
Download File ]
Hello srs,
Q 1.
Will the methode __clone() have the posibility of
On Wednesday 01 October 2003 02:14, Chris W. Parker wrote:
Jason Wong mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:06 AM said:
echo pre.print_r($chk)./pre;
It will not work.
Actually, the above *does* work!
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open
From: Chris W. Parker [EMAIL PROTECTED]
echo pre.print_r($chk)./pre;
It will not work.
You can do this though:
echo pre, print_r($chk), /pre;
Well heck, that makes things easier!
What's the difference between using , or . for concatenation? (I thought
they were the same.)
Using a
From: Jason Wong [EMAIL PROTECTED]
On Wednesday 01 October 2003 02:14, Chris W. Parker wrote:
Jason Wong mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:06 AM said:
echo pre.print_r($chk)./pre;
It will not work.
Actually, the above *does* work!
It depends on how
Jason Wong mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:27 AM said:
echo pre.print_r($chk)./pre;
It will not work.
Actually, the above *does* work!
Not for me. (Although we may be testing different things.)
?
$pageTitle = Checkout Step One;
echo
CPT John W. Holmes mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:32 AM said:
Note that print_r() will (by default) return a 1 (TRUE) upon success,
so you end up with a 1 being printed at the end of your data.
[snip]
That answers it!
c.
--
PHP General Mailing List
--- Chris W. Parker [EMAIL PROTECTED] wrote:
What's the difference between using , or . for concatenation? (I
thought they were the same.)
The comma isn't concatenation; echo can take multiple arguments.
I've heard statements about passing multiple arguments to echo being faster
than using
From: Chris W. Parker [EMAIL PROTECTED]
CPT John W. Holmes mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:32 AM said:
Note that print_r() will (by default) return a 1 (TRUE) upon success,
so you end up with a 1 being printed at the end of your data.
[snip]
That answers
1 - 100 of 143 matches
Mail list logo