Hi,
Has anyone used PHP alongside MSDE?
I've recently taken a brief look at freetds which allows a UNIX/LINUX box to
talk to an MSSQL/SYBASE server, but I cannot find any metion of MSDE.
Can anyone shed any light on this or report any successes?
Cheers
Lee
--
PHP General Mailing
like a Meta Refresh with time set to 0) to Page3 which then sends you onto
the final page.
By using a querystring variable and checking this in page2 you could
probably get rid of Page3 and have its part handled in page2.
I hope this makes sense.
Cheers
Lee
- Original Message -
From
to the extract resources (e.g.
memory & CPU time) required to run the muliple instances.
Cheers
Lee
- Original Message -
From: "Simon Ritchie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 11:30 AM
Subject: RE: [PHP] include()
&
that the PHP script and files are in the same directory
and are all publically accessible (i.e. a user could simple type
http://www.example.com/filename)
Hope this helps
Regards
Lee
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, Aug
1(apache module) on FreeBSD 4.6
Can anyone help, cheers
Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
records but the
additional coding could be more error-prone or eat more system resources
than using a feature built into PHP itself.
I would be interested to hear other peoples views on this feature.
Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
ly not a resiliant to error, or a
slower program that is more resiliant and can exit nicely on error.
Any thoughs that people have on this would be appriciated.
Regards
Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am new to PHP & Sessions myself.
But I think $_SESSION['varname'] may be what you are looking for.
e.g. $_SESSION['count'] = 2;
- Original Message -
From: "Mike" <[EMAIL PROTECTED]>
To: "Jay Blanchard" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 2002 8:37 PM
Subje
I am new to PHP & Sessions myself.
But I think $_SESSION['varname'] may be what you are looking for.
e.g. $_SESSION['count'] = 2;
Regards
Lee.
- Original Message -
From: "Mike" <[EMAIL PROTECTED]>
To: "Jay Blanchard" <[EMAIL PR
>From the work I have done, I have found that in the event PHP doesn't do
this automatically (such as in some javascript code), you need to ensure you
include a PHPSESSID varible in the URL something like:
print "www.mysite.net?PHPSESSID= " . session_id();
- Original Message -
From: "Mi
Have a look at
http://www.mysql.com/doc/W/i/Windows_installation.html
Cheers
Lee.
- Original Message -
From: "Varsha Agarwal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 15, 2002 10:12 PM
Subject: [PHP] Installing MYSQL on Windows
> Hi,
&
Create a new php file and just put the following in it:
should get you all the info you need
Cheers
Lee
- Original Message -
From: "Dean Ouellette" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 21, 2002 9:08 PM
Subject: RE: [PHP] No text in
that may faciliate this? Any links/hints
would be greatly appreciated. Thanks very much in advance.
- Best regards,
Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators
xt I tried compiling php into apache with -activate-module=php..
and when I do this, Apache segfaults 11 when an imap connection is
opened!
Ahhh! Does anyone have IMP or any other imap software running under a
current version of php apache with a moderate load?
Thanks,
Lee
I'm new to PHP and am slowly learning it. I have the following code that is
giving me errors could someone take a look and suggest a fix?
Parse error: parse error in /home//public_html/Info/datain.php on
line 7
--
Thanks
__
Brent Lee
--
PHP Ge
Everything works great now. Thanks for the quick responses everyone.
"Brent Lee" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm new to PHP and am slowly learning it. I have the following code that
is
> giving me errors co
$myrow["lastname"];
echo "";
echo $myrow["nick"];
echo "";
echo $myrow["salary"];
}
echo "";
?>
--
Thanks
__
Brent Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm interested in how most would create a transition page..
I have an upload process that takes a bit before it changes the page
displayed on the browser. I would like to create a transition page
[Uploading Now .. please standby] that would refresh to a result page once
the upload is done. Now I
>> I'm interested in how most would create a transition page..
>
> One thing you might consider is using flush() to output
> what you have so far to the browser rather than sending
The problem I'm having is that the uploading of the file takes time, and the
screen simply sits there while this is b
$a === $b
TRUE if $a is equal to $b, and they are of the same type. (PHP 4 only)
> -Original Message-
> From: David Freeman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 7:39 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] if (a == b) ...
>
>
>
> > I have a condition
Okay, so I want to open a file, get a small number from it (less than 3
digits) then overwrite a new number (incremented the original by 1) and
close the file.
The goal is to do this in the fastest way possible .. I don't like having to
open the file more than once to do this.
I've tried:
$cfile
Okay, so I want to open a file, get a small number from it (less than 3
digits) then overwrite a new number (incremented the original by 1) and
close the file.
The goal is to do this in the fastest way possible .. it seems that there
should be a way of doing this without having to open and close t
f PHP won't work
though a CGI executable with I believe is still the only stable way of
running PHP though IIS.
I normally have IIS running on a port other than 80 which allows me0 to have
both the IIS and Apache available simultaniously.
Hope some of this helps.
Regards
Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a simple example, but may solve your problem. The only issues
with doing this that I can see is that it would require a lot more work of
the programmer but should not be to difficult to implement.
Regards
Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a seperation that would have to processed on
the
> other end. Thanks
>
> Chris
>
>
Have a look at the following link:
http://www.w3schools.com/xml/default.asp
The section on "How XML Can be used" may provide the answers you need.
Regards
Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Marco Alting" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When I try to use a php script, to send an email, the From header is
> replaced by a senders email address of my provider. Is there any way to
make
> it so my email address shows up in the From header
>
> $message2 ="MESSAGE GOES HERE";
> mail($email,"TITLE",$message2,$mailheaders);
> ?>
>
>
Are you running this on windows? If you are have a look at:
http://www.php.net/manual/en/ref.mail.php
The "sendmail_from" setting may be what you are looking for. Yo
> "Michael" == Michael Smith <[EMAIL PROTECTED]> writes:
Michael> Hey, I'm looking for a function to take an XML file and
Michael> turn it into a PHP array with the same structure.
here's something that I found on the internet a few months back. I've
used it a number of times:
>>>>> "Lee" == Lee Doolan <[EMAIL PROTECTED]> writes:
>>>>> "Michael" == Michael Smith <[EMAIL PROTECTED]> writes:
Michael> Hey, I'm looking for a function to take an XML file and
Michael> turn it into a PHP arra
I would like to perform nested page calls, where a page does conditional
includes to itself
The problem is how to avoid stepping over the variables
Is there a way to define the page or parts of it as a function and still
have the HTML sections of it editable by an html editor? That means without
u
think the include should be at the top and then later on the
file should simply call the function - much like H file in C
lee
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: þù 19 éåìé 2003 2:53þ
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Nested page calls
Lee Ele
> "Matt" == Matt Palermo <[EMAIL PROTECTED]> writes:
Matt> Is there a way to replace everything between 2 given strings
Matt> if it exists? Say I have:
Matt> $str = "replace anything and everything in here.";
Matt> Now I want to replace everything between the word "replace
o length and no information...
Any suggestions would be appreciated...
Lee Stewart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
0 Jul 17 16:55
sess_5160b002714849a598a8a1e62a78a2eb
-rw---1 wwwrun nogroup 0 Jul 20 08:36
sess_7a053a0dd515170e6d0ace739860b71f
-rw---1 wwwrun nogroup 0 Jul 25 11:55
sess_903ef4579ee2f596981aad08efd3bc9d
Thanks for any debugging suggestions...
Lee
--
Lee Stewart, Seni
ini is available at
http://4.43.81.92/phpini.txt
Lee
At 02:51 PM 7/25/2003, Johnson, Kirk wrote:
Your original code works for me, so it is a config issue somewhere.
Add this code to each file, to verify that the session ID is being correctly
passed:
echo "session id is " . session_id() .
//I have an array a[] like this:
//Thanks for any help.!!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It works! Thanks guys!
"David Nicholson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello,
This is a reply to an e-mail that you wrote on Fri, 25 Jul 2003 at
23:51, lines prefixed by '>' were originally written by you.
> <[EMAIL PROTECTED]&g
a loss as to where to
go from here (other than re-writing the entire application in some other
language -- which I really don't want to do)...
Help?
Lee
At 04:36 PM 7/25/2003, Johnson, Kirk wrote:
Sorry, I am stumped. I don't see any problems in the .ini file. Have you
tried
Thank you very much!
"David Nicholson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello,
This is a reply to an e-mail that you wrote on Sat, 26 Jul 2003 at
00:50, lines prefixed by '>' were originally written by you.
> Ouch!
> Sometimes I wish global didn't exist
Yes, it can be
How can I get the local Computer IP Address when running PHP program in
Windows command line (i.e. php getmyip.php)
** Since the PHP did not are run on Webserver, so _SERVER["SERVER_ADDR"]
won't work.
Many thanks in advance.
Regards,
Chris
--
PHP General Mailing List (http://www.php.net/)
To u
How can I get the local Computer IP Address when running PHP program in
Windows command line (i.e. php getmyip.php)
** Since the PHP did not are run on Webserver, so _SERVER["SERVER_ADDR"]
won't work.
Many thanks in advance.
Regards,
Chris
--
PHP General Mailing List (http://www.php.net/)
To u
>Try this:
>exec('ipconfig',$catch);
>foreach($catch as $line){
>if(eregi('IP Address',$line)){
>list($t,$ip) = split(':',$line);
>echo 'IP is '.$ip."\n";
>}
>}
>?>
Thanks Tom, but I think it only work for Win NT, how about Win 9x?
--
PHP General
in the Apache or PHP error logs? Permissions are OK, there is space
on the drive?
Kirk
--
Lee Stewart, Senior SE
Sytek Services, a Division of DSG
(719) 566-0188 , Fax (719) 566-0655
[EMAIL PROTECTED]
www.sytek-services.com
www.dsgroup.com
--
PHP General Mailing List (http://www.php.net
Hi Curt,
No I didn't see a post about space on /tmp... Using df it shows the file
system to only be about 70% full, so there's plenty of space there. Did
you mean something else?
Any other thoughts on where to look?
Thanks,
Lee
* Thus wrote Lee Stewart ([EMAIL PROTECTED]):
&
> "Michael" == Michael Temeschinko <[EMAIL PROTECTED]> writes:
Michael> Hello,
Michael> I would like to split a String containing ingredience with additional
Michael> assigned footnotes...
Michael> my problem I only get the first ingredience ($zutat at line 32 has
Michael>
Hi,
I am using $_SESSION and each php page has session_start() Session
Handling is working fine, except for one problem: when I close my
browser and re-open it again, I am still logged in.
I tested the log in and log out functions and they work fine.
How can I terminate a session when the user
My OS is Winxp . My web server is apache 2 which is installed as a NT
service .
My php version is 4.32 , and I extracted it into "c:\php" .
I run php as a apache module .
I want to load Additional extensions .They are php_mbstring.dll,
php_xslt.dll and php_domxml.dll .
I have made changes to p
I am sure they are in c:\php\extensions .
any other idea ?
"Leif K-Brooks" <[EMAIL PROTECTED]>
news:[EMAIL PROTECTED]
> Dennis Lee wrote:
>
> >what was wrong ? thanks for any useful words .
> >
> Are those extensions in c:\php\extensions?
>
>
I am really confused .
When I just run php as CGI without changing anything else, It works quite
well .
Why it is wrong when I run php as module under apache 2.0.46 ?
Is it a bug or anything else ?
Any help will be appreciated .
"Dennis Lee" <[EMAIL PROTECTED]> дÈë
Hi all :
I want to write my own php extensions , but I don't know how to start .
Please tell me where I can find some examples or resources such as tutorials
.
Thanks in advance .
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I run the following program at Windows command prompt
c:\php\cli\php.exe input.php
The program did not show out "Input:" and waiting for input after run!
Any hint to flush the output first?
I am using PHP 4.3.2 (cli) (built: May 28 2003 15:10:38)
Regards,
Chris Lee
--
P
>ob_flush()
Thanks curt, it's working ^_^
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Make sure all other dlls that your dll depends on are also obtainable by php
.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Copy all the files in C:\php\dlls to you system directory .
"Larry Li" <[EMAIL PROTECTED]>
news:[EMAIL PROTECTED]
> Got error message: Unable to load dynamic library
> '.\extension\php_mssql.dll' - The specified module could not be found.
>
> I tried change php.ini many times, still got same
ed
somewhere?
thanx
--lee
--
Flowers of morning glory. +-+
The sky above this street |donate to causes I care about: |
Begins to overcast.| http://svcs.affero.net/rm.php?r=leed_25 |
somewhere, I just look in the wrong place
Help is appreciated :-)
lee
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.490 / Virus Database: 289 - Release Date: 16/06/2003
> "Paul" == Paul Dionne <[EMAIL PROTECTED]> writes:
[. . .]
Paul> So, I guess my point is that if people want to encourage use
Paul> of OO programming, they need to use more examples in their
Paul> books instead of what is "easy."
> "Kristopher" == Kristopher Yates <[EMAIL PROTECTED]> writes:
[. . .]
Kristopher> I dont know about AuthorizeNet, but LinkPoint has an
Kristopher> API written in PHP that is supposed to be inexpensive,
Kristopher> and easilly integratable into any PH
> "Dave" == Dave At Sinewaves Net <[EMAIL PROTECTED]> writes:
Dave> Okay, I want to know if anybody has a clue which is more
Dave> efficient, processorwise/parsingwise:
Dave> this: -- echo
Dave> "".$somevar."".$somevardesc."";
Dave> or this: -- echo
Dave> "{$
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
maybe in conjunction with this
Manuel> http://www.phpclasses.org/mimemessage
Just by way of affirmation, here --as _though_ it were actually needed--
I've been using the smtpclass for a while now. It rocks.
-lee
--
When the birdcage is open, | donate to causes I care about:
the s
> "Wee" == Wee Keat <[EMAIL PROTECTED]> writes:
[. . .]
Wee> might be new, but I deeply appreciate the generosity that all
Wee> of you have given us
One way to show your appreciation sincerely would be to help others
in the same way that people have help
> "Jan" == Jan <[EMAIL PROTECTED]> writes:
Jan> Hi ! How can I stoor array in to a cookie ?
Jan> Do I just define an array and stoore it in a cookie ? How do
Jan> I access the data in the array then ?
you can use serialize() / unserialize() but be careful because the
amount o
I'm running PHP 4.1.1 on Win2K server with SQL 2K and my connect and select
db statements are fine, but when I use the mssql_query() statement, PHP just
hangs.
I have no idea on whats going on and I've checked the forums, php's site,
and I do have the MSSQL connectivity installed on the server.
I apologize beforehand in case this message is posted twice.
If there is some way to do this, then it has eluded me for several
hours. I would like to set a variable in the apache config file which
I can then access in a php script. I'm running mod_php4 and apache 1
I have tried things like
If there is some way to do this, then it has eluded me for several
hours. I would like to set a variable in the apache config file which
I can then access in a php script. I'm running mod_php4 and apache 1
I have tried things like this:
php_value WSERVER red2.office.com
and this:
Set
Hello
i've uncommended the mcrypt and mhash line in c:\winnt\php.ini. then i
try to start the apache but encounter the following error msg
"The procedure entry point _ecalloc could not be located in the dynamic
link library php4ts.dll"
"Unable to load dynamic library 'c:\php\extensions\php_mcry
Hello
(i've confirmed my email address but not sure if you will read my
previous mail, so i send it once more.)
i've uncommended the mcrypt and mhash line in c:\winnt\php.ini. then i
try to start the apache but encounter the following error msg
"The procedure entry point _ecalloc could not be l
hello
i've tried to read a line from a text file by fgets($fp,8192). it work
fine. however, there is a line over 8192 char and i tried to increase
the 2nd parameter (e.g. 8193, 16384, 88192) still only 8192 char are
read to my string variables.
is it a limit of fgets or length of a string? any
Please ask on [EMAIL PROTECTED] next time.
> (Reply-To set).
>
> - Markus
>
> On Fri, Sep 06, 2002 at 09:56:59AM +0800, Terence Lee wrote :
> > Hello
> >
> > i've uncommended the mcrypt and mhash line in c:\winnt\php.ini. then i
> >
is there a program which i can run in a unix environment (FreeBSD or
redhat) which can run, say, 100 requests on a url and then report the
total time spent on the requests? i know that i could run curl or
wget in a loop, but i would have to account for the fork-exec time
somehow. i hope that t
opinions
or experience related to such issues.
-lee
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK I am trying to take some content from another site (I have total consent)
and convert all the prices on the site to 5% more. I can get all the content
off the site and display it where I want. I can ereg_replace all the money
to one price such as ($23.50) but I cant change the price based on
Why not go to the source?
http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html
--
Eugene Lee
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$string = [b]Test[/b]
I want to change it to
$string = Test
How?
the arrays below have dates like
dateA= array( 0=> "03", 1=> "22", 2=> "02")
for 22march2002.
why does this work:
$retval= ($dateA[2] != $dateB[2])
? strcmp($dateA[2], $dateB[2])
: (($dateA[0] != $dateB[0])
? strcmp($dateA[0], $dateB[0])
: (
>>>>> "Miguel" == Miguel Cruz <[EMAIL PROTECTED]> writes:
Miguel> On 13 Jun 2002, Lee Doolan wrote:
>> the arrays below have dates like dateA= array( 0=> "03", 1=>
>> "22", 2=> "02")
>>
> "Jack" == Jack <[EMAIL PROTECTED]> writes:
Jack> Dear all I had a form which let user to input the leave_from
Jack> and leave_to date into, the format of the date that user
Jack> input is "-mm-dd". Now i want to compare the leave_from
Jack> and leave_to date to find ou
ffering, but you should get the idea.
>
> Adapt to your needs, but this is the basics of it. Check for a valid
> session, if it exists, send appropriate headers and use passthru() to send
> the file. (you can use file(), fopen(), whatever, as long as you send the
> content of the file af
n't remember
> the exact syntax right now)
>
> read the file from somewhere that's not accessable from the web and spit
it
> out to the browser
>
> HTH
> Martin
>
>
> -Original Message-
> From: Fargo Lee [mailto:[EMAIL PROTECTED]]
> Sent: Thu
Ok think I am all good now. Added ...
$fh = fopen("$download_file", "r");
then changed ...
passthru($download_file);
to
fpassthru($fh);
Thanks, again!
"Fargo Lee" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Thanks!
"Fargo Lee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi, if I have a variable containing a number of seconds what function
would
> I use to output something like ...
>
> 13 Hours, 12 Minutes, 3 Seconds
>
> or
>
> 23 Days,
Hi, I am trying to import some tables from a dump file into a MySQL database
from a php web page. What is the best way to do this without using backticks
(fpassthru, system, exec or something else) and test for success or failure?
I tried the following and while it works, my test for success or fa
ews:[EMAIL PROTECTED]...
> On Tue, Jul 09, 2002 at 06:09:36PM -0700, Fargo Lee wrote:
> >
> > $status = system("mysql -umyuserid -pmypassword mydbname <
>
> You need a space between "-u" and "myuserid"
>
> --Dan
>
> --
>
when I try to echo
it.
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wednesday 10 July 2002 13:27, Fargo Lee wrote:
> > Thanks for pointing out the syntax error. I added the space after the -u
> > but i
n a 0 or
a 1. I thought I could capture it by assigning the system call to a variable
in front but that appears to capture nothing on success or failure.
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> O
o use the
return_var as you suggested. Thanks!
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tue, Jul 09, 2002 at 11:41:47PM -0700, Fargo Lee wrote:
>
> > got it to assign a 0 (success) or 1 (f
mand line.
>
> ---John Holmes...
>
> > -Original Message-
> > From: Fargo Lee [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, July 10, 2002 1:27 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP] How do I import tables into MySQL from web page ...
> &
.
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wed, Jul 10, 2002 at 12:14:58PM -0700, Fargo Lee wrote:
> >
> > This suggests, as do a few posts I just noticed in the manual, that
> > one
ccess?
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wed, Jul 10, 2002 at 12:14:58PM -0700, Fargo Lee wrote:
> >
> > when made to fail MySQL does return an error on the command line yet the
> >
> Run the command manually at a shell prompt. What happens? Here's what
> happens for me on WinNT. In an error condition, say my password is
> invalid, it retuns the error message then a blank line and then I'm back
> at the prompt. So, if system() is true to the manual, that blank line is
> t
> "Jas" == Jas <[EMAIL PROTECTED]> writes:
Jas> Hello all,
Jas> I have a parse error and I am not sure why, I think my eyes are giving up on
Jas> me, or its a friday. Any help is appreciated.
Jas> // just trying to compare the session var $date to timeout if older than 5
here's an excerpt from a script in which I do something like that:
$pdArgs=
"demo=" . urlencode($argAry['demo']) . "&" .
"first_name=" . urlencode($argAry['first_name']) . "&" .
"last_name=" . urlencode($argAry['last_name']) . "&" .
When viewing examples of using if and elseif I often see the example ending
with an else like ...
if($a == '1'){
echo '1';
} elseif ($a == '2'){
echo '2';
} else {
echo '0';
}
Is there any problem with leaving out the last else and just ending it with
an elseif such as ...
if($a == '1'){
echo '
Dear ALL,
It seems that i have a very silly problem.
I can't get the new line escape character to work.
the following is my SIMPLE script and corresponding output.
PHP script:
http://www.w3.org/TR/html4/loose.dtd"; >
TEST
Output in IE6:
this should be printed out: this is a second
Dear ALL,
Thanks.
KK
Kk Lee ¼g¤J¡G
> Dear ALL,
>
> It seems that i have a very silly problem.
> I can't get the new line escape character to work.
> the following is my SIMPLE script and corresponding output.
>
> PHP script:
> "-//W3C//DTD HTML 4.0 Tra
> "B" == B I G D O G <[EMAIL PROTECTED]> writes:
B> Tried to check the archive, but it is offline... What does the
B> "," and "{}" do in this type of statement?
B> Example: echo "{$strName}", htmlspecialchars(
in this case, the {}s don't really do anything; but {}s allow variab
At the risk of this looking like a cheap tactic for getting someone else to
do my work for me, I'll put the disclaimer at the top. Understand that what
I'm looking for is new perspective on a problem that I've spent too much
time dealing with.
PROBLEM:
I want to produce short "snippets" for sea
ut the rest of what I want.
Cheers,
Lee O'Mara
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
We're looking for a few excellent programmers who want to rock out in
building out a portal/publisher/record-label/video-distributor using
the following applications and technologies from sourceforge.net:
phpBB
xoops
phpnuke
geeklog
oscommerce
postnuke
gallery
drupal
cafelog
dmoz
RSS/RDF/blogging
1 - 100 of 890 matches
Mail list logo