Our company is currently running a server which is responsible for hosting
numerous domains. As a web development firm, traditionally our server has
been set up so that only our developers have access to run scripts on
it. Recently some of our clients have been looking for FTP access to their
Yes, I think it's a good idea to emphasize "licensing" ($$).
(B
(BAlso, "portability" might be another thing to mention. (With little or no
(Bchanges, you're apps could run on different platforms, etc.)
(B
(B- E
(B
(BPS
(BDoes anybody have any tips on how to run IIS/ASP/MSSQL server on a Z
Hello,
"Charles Wiltgen" <[EMAIL PROTECTED]> wrote:
> David Rice wrote...
>
> > It's not "mandatory" to put quotes around attributes, but it would be
wise to
> > use this style="recommended" method of representing attributes, if for
no
> > reason="other" than to get used to a habit="good".
>
> It
Hello,
"John W. Holmes" <[EMAIL PROTECTED]> wrote:
> What if you create an array of all the letters and numbers, then shuffle
> that array, implode it into a string and grab the first 24 characters?
> It should be fairly random, but not guaranteed unique.
...but just grabbing the first 24 chars
"John Meyer" <[EMAIL PROTECTED]> wrote:
> I'm doing some PHP work, and I've come across the tag. What,
exactly,
> is this?
Could be a new tag--M$ Frontpage style :)
Anyway, what does it do? It may not even be a "tag"--perhaps a secret
code...
- E
--
PHP General Mailing List (http://www.ph
David Rice wrote...
> It's not "mandatory" to put quotes around attributes, but it would be wise to
> use this style="recommended" method of representing attributes, if for no
> reason="other" than to get used to a habit="good".
It is mandatory for XHTML, I believe.
-- Charles Wiltgen
--
PHP
On Sun, 10 Nov 2002 18:34:52 -0600, you wrote:
>PS: what is the proper term for the "->" syntax? pointer?
In Perl it's called an infix operator. I think in PHP the technical
term for it is that "->" thingy... :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Thank you sir, problem solved :)
-Original Message-
From: Justin French [mailto:justin@;indent.com.au]
Sent: Sunday, November 10, 2002 11:21 PM
To: James Taylor; [EMAIL PROTECTED]
Subject: Re: [PHP] Restrict file access from web users?
You still need to restrict the files from being serv
Is it too late to change the way you insert dates into the DB? I really
think the unix timestamp is the easiest way to store dates... comparisons
are easy, because everything is in seconds, and using date() gives you the
ability to re-format your dates over and over again for presentation
purposes
> I have a problem here again regarding the date comparison. I need to
> check the most recent date that was entered in mysql database in date
> format ("Y-m-d"), if the datetoday is a day or two days in advanced
> compared to the queried date.
> I need to make sure that the next inserted date in
You still need to restrict the files from being served directly over http...
this can be done via a .htaccess, or just stored outside the document root.
Then, you create a script called download.php, which INSN'T a html page --
it sets a content header, and passes a .zip file through itself to the
On Monday 11 November 2002 14:10, James Taylor wrote:
> Ok, I have something like this set up:
>
> 1. User logs into site. Authenticates through a mysql table which
> basically just has username/password columns. Session is set.
>
> 2. User goes through site looking for information he'd like to pu
On Monday 11 November 2002 14:04, rija wrote:
> Really big thank to everybody,
>
> But, now, I know what happening, because I check form submit using
> isset($_POST['submit']), so if user don't press submit button,
> $_POST['submit'] stay null even the rest is already sent. Then my script
> send me
Ok, I have something like this set up:
1. User logs into site. Authenticates through a mysql table which basically
just has username/password columns. Session is set.
2. User goes through site looking for information he'd like to purchase
based on specific fields. After the gathering of informa
What u had done to install PHP
added a dll module in IIS or Mapped the php.exe to .php and .php3 or .php4
Prachait
Bob G wrote:
> Hi people!
> I have MySQL working with ASP under win2000 and IIS. I have recently
> tried unsuccessfully to install PHP. Initially I started with zip binary
> d
hi to all again,
I have a problem here again regarding the date comparison. I need to check the most
recent date that was entered in mysql database in date format ("Y-m-d"), if the
datetoday is a day or two days in advanced compared to the queried date.
I need to make sure that the next insert
On Monday 11 November 2002 13:36, rija wrote:
> Sure !
>
> But just simple question?
> Is it necessary to put quotes around these attributes values?
Let's put it this way, using quotes will not break any browser. Not using
quotes /may/ make your page not work correctly on browsers which implement
Really big thank to everybody,
But, now, I know what happening, because I check form submit using
isset($_POST['submit']), so if user don't press submit button,
$_POST['submit'] stay null even the rest is already sent. Then my script
send me back to the first page.
- Original Message -
F
Hi Rija:
No It's not "mandatory" to put quotes around attributes, but it would
be wise to use this style="recommended" method of representing
attributes, if for no reason="other" than to get used to a habit="good".
coding="happiness"
David
On Monday, November 11, 2002, at 12:36 AM, rija wrote
well, you are right they may work, but according to the sepcification qoutes
should be added, you should follow it, because you don't know the hidden
browsers out there which you didn't test, and IE, Opera, NS can't guarantee
that they will support this behaviour in future releases
Has anyone used the PHP functions to integrate with Payflow Pro? Before I
fork out the cash to sign up for an account with them, I'd like to know how
solid the SDK and integration is. Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sure !
But just simple question?
Is it necessary to put quotes around these attributes values?
Because I think quotes increase the site size, and using IE4, IE5, IE6, NS4,
OPERA, quotes don't change anything.
Of course if I have somethings with space, for value's attribute, It is
important to pu
A missing tag? Some browsers are picky, so you might want to also do
what someone else suggested to you earlier, which is to put quotes around
your attribute values. This is especially important to implement while HTML
fades out and languages based on XML (XHTML in particular) fade into
popularity
John W. Holmes wrote...
> But, thank you for posting the solution you did eventually find. That will be
> of assistance if anyone ever searches the archives before posting...
>
> Hey, I can dream, can't I??
I personally think more people would do that if something like...
Ask your worst, bu
Perhaps it has something to do with XML? A new coding scheme perhaps? Or
perhaps a typo from XHTML-like syntax, which requires coding like ,
etc. with the trailing forward slash inside the tag. It could be that
Microsoft has developed a new coding scheme using XML which has its own DTD
or XML Schem
Anyone out there know how to get the mcrypt functions running under
Win32?
Any help / how-to's / URLs will be greatly appreciated. - I have
searched around the web and found a few things, but nothing that really
gives any good information
Thanks in advance for the help!!!
//Nick Richardson
//
php.CONF? Is that some distribution-specific file? It's not a PHP thing
and thus would not be documented by us.
-Rasmus
On Sun, 10 Nov 2002, John W. Holmes wrote:
> > OK, thanks for no help whatsoever. But I'm not bitter; I'm here
> to
> > report what I found so that the next guy with thi
> OK, thanks for no help whatsoever. But I'm not bitter; I'm here
to
> report what I found so that the next guy with this problem isn't
stuck:
>
> The PHP docs say to change variables in /etc/php.ini (like the
whole
> world knows about) but the key is to *also* look into php.CONF, too.
>
> That's because isset() is expecting a variable, not a function. In your
> first example, you're trying to see if a function is set, not a
> variable. In your second example, you're doing it right...
>
> ---John Holmes...
That actually makes sense once I thought about it, a function referencing
> I don't know if this is a bug, or what, but I get an error when trying
the
> following
>
> if ( isset($adodbobject->Fields('myresult') ) ) { // do something }
>
> PHP throws an error ( not warning ) saying:
> Parse error: parse error, expecting `','' or `')'' in
/path/to/index.php
> on
> line 45
Well, if you rule out ob_* and javascript, the best you can probably do
is to just include() your error page or write a function to display it.
You won't be redirected to the page, but it'll show up.
---John Holmes...
> -Original Message-
> From: Monty [mailto:monty3@;hotmail.com]
> Sent:
> did any one face a prob when session vars get mixed from a website to
> another when you use the same browser window ?
No, did you?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Has anyone taken a look at this magazine yet (www.phparch.com)? I came
> across mention of it on Slashdot earlier today and it looks
interesting.
> I
> am considering subscribing but wouldn't mind some feedback about the
> overall quality of the publication beforehand.
>
> Nick Oostveen
It's ne
H Frontpage creating bad code? ... say it ain't so!
---John Holmes...
> -Original Message-
> From: John Meyer [mailto:johnmeyer_1978@;yahoo.com]
> Sent: Sunday, November 10, 2002 11:34 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] tag
>
>
> Actually, it's a product of Microso
I don't know if this is a bug, or what, but I get an error when trying the
following
if ( isset($adodbobject->Fields('myresult') ) ) { // do something }
PHP throws an error ( not warning ) saying:
Parse error: parse error, expecting `','' or `')'' in /path/to/index.php on
line 45
However, when I
What if you create an array of all the letters and numbers, then shuffle
that array, implode it into a string and grab the first 24 characters?
It should be fairly random, but not guaranteed unique.
---John Holmes...
> -Original Message-
> From: @ Edwin [mailto:copperwalls@;hotmail.com]
Actually, it's a product of Microsoft Frontpage that a client sent me.
-Original Message-
From: John W. Holmes [mailto:holmes072000@;charter.net]
Sent: Sunday, November 10, 2002 9:33 PM
To: 'John Meyer'; [EMAIL PROTECTED]
Subject: RE: [PHP] tag
> I'm doing some PHP work, and I've come a
On Monday 11 November 2002 10:44, rija wrote:
> What am I missing?
>
> My form does not submit when I hit enter in the text box.
> I do something approximately like this :
>
>
>
>
> ...
>
>
What happens when ENTER is pressed depends on what browser you're using.
Different browsers exhibit
> I'm doing some PHP work, and I've come across the tag. What,
> exactly,
> is this?
It is probably just a typo for an tag. It's nothing that PHP would
create on its own.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Thanks for your quick answer,
>
> But it doesn't change anything.
> change my text box into big text area-
>
> So I always have to click on submit button to submit the form.
So? This doesn't have anything to do with PHP, it's dependant on the
browser you are using. IE will do this for you som
on 11/11/02 2:16 PM, rija ([EMAIL PROTECTED]) wrote:
> Thanks for your quick answer,
>
> But it doesn't change anything.
> change my text box into big text area-
>
> So I always have to click on submit button to submit the form.
Actually, I miss-read your question... do you WANT the form to be
I'm doing some PHP work, and I've come across the tag. What, exactly,
is this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Return key presses in a will usually be converted into a
newline (\n).
Making your browser submit the form when you press enter is an
HTML/Browser issue.
You probably should look at a javascript solution because this is a
client side problem.
Jason
On Sun, 2002-11-10 at 21:16, rija wrote:
>
Thanks for your quick answer,
But it doesn't change anything.
change my text box into big text area-
So I always have to click on submit button to submit the form.
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "php" <[EMAIL PROTECTED]>
Sent:
on 11/11/02 12:44 PM, rija ([EMAIL PROTECTED]) wrote:
>
I think you need to use a if you wish for the returns to be
submitted.
Cheers
Justin French
Creative Director
http://Indent.com.au
Web Developent &
Graphic Design
--
PHP General Mailing List
Search google.com for PHP case studies, also
http://www.zend.com/links/links.php has a few links to sites about PHP
vs. ASP.
You might also enlighten them about the differences of open source and
Microsoft licensing.
Bottom line is if you have to make a product something it isn't to sell
a client
You can also tell them that some 10 million websites run PHP, including
the most popular one--Yahoo!.
Marco
--
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Check us out on the web at http://www.phparch.com
On
SELECT DECODE(ENCODE('password', 'sec'), SUBSTRING("secret",1,3));
if you put quotes around substring function, mysql considere it as a string,
so I think you shouldn't.
After, are you sure that the correct table field name is the weirdthing
encoded by this function : ENCODE('password', 'sec') ???
What am I missing?
My form does not submit when I hit enter in the text box.
I do something approximately like this :
...
//
Thanks in advance.
I've noticed this question a fair bit, having to convince clients and
employers of a technology.. DO you guys really have that much trouble
selling php??
I tend to leave the development environment out of conversations all
together and talk product features, scalability, promotion etc
I do this
php-general Digest 11 Nov 2002 02:14:57 - Issue 1697
Topics (messages 123687 through 123738):
Re: attachement
123687 by: Oliver Witt
123691 by: Ernest E Vogelsinger
123692 by: Oliver Witt
123708 by: Jonathan Sharp
123715 by: Manuel Lemos
Re: Questions
oh man you missed a great opportunity, through the last few days some one
posted a message saying "convince the boss" containing a list of well-known
websites running PHP, go check the list archive it will be available there
_
At 02:51 11.11.2002, Hatem Ben said:
[snip]
>why PHP don't return a parse error here ?
>
>
> case "browse" :
> $text = $myobject->browse();;;
>// some codes ...
> break;
>
>
>
>i guess syntax isn't correct or what do you think ?!
--
why PHP don't return a parse error here ?
case "browse" :
$text = $myobject->browse();;;
// some codes ...
break;
i guess syntax isn't correct or what do you think ?!
Best regards
Hatem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
First off, I wouldn't go comparing one language to another as "better" (a
jihad has broken out on another list between Perl and PHP, substituting
belief for anything remotely resembling a civilized and intelligent
discussion), but if you want to convince them about the merits of PHP, look
up the ne
Hi all,
I'm not too sure if this is the right place to get my answers but I really need to
know this:
How can I convince my clients that PHP is really good? I mean not a lot of
non-programmers have heard of PHP language. Most of them only heard of things like
C/C++, ASP and the like. So, h
Justin wrote...
> ...every link across your site has to be a form submit. Yuk!!!
Yeah, yuk. I'm very silly and didn't realize this until after I'd posted.
It's possible since links will be generated automatically, but yuk.
Ernest wrote...
> Hmm - NIH syndrome?
> (>>not invented here<<)
No, I
At 22:41 10.11.2002, Charles Wiltgen said:
[snip]
>I'm about to implement session management, and I'm considering rolling my
>own instead of using PHP's.
Hmm - NIH syndrome?
(>>not invented here<<)
>Specifically, I'm considering using hidden fields for pers
At 21:49 10.11.2002, Mathieu Dumoulin said:
[snip]
>Hi, i got this project i'm building right now. It basically a core system to
>do adminsitrative modules for web sites.
>
>I got tons of classes that get created on call of a function like
>sql_setup(), frm_s
SELECT DECODE(ENCODE('password', 'sec'), 'sec') ->
password
When I try:
SELECT DECODE(ENCODE('password', 'sec'),
'SUBSTRING("secret",1,3)'); or without quotes around
SUBSTRING function
This does not produce the same output, i am not sure
what the problem is.
Ben
thanks a lot
- Original Message -
From: "Maxim Maletsky" <[EMAIL PROTECTED]>
To: "Iguider" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, November 10, 2002 10:48 PM
Subject: Re: [PHP] Fw: esayphp
>
>
>
> --
> Maxim Maletsky
> [EMAIL PROTECTED]
>
>
> On Sun, 10 Nov 2002 22:42:
--
Maxim Maletsky
[EMAIL PROTECTED]
On Sun, 10 Nov 2002 22:42:59 - "Iguider" <[EMAIL PROTECTED]> wrote:
>
>
> Hi
> I have installed esayphp v 1.4.0.0 on my pc (windows 98) . How can I know the
>version of PHP and of mysql ?
>
> Thanks
--
PHP General Mailing List (http://www.php.n
Hi
I have installed esayphp v 1.4.0.0 on my pc (windows 98) . How can I know the version
of PHP and of mysql ?
Thanks
on 11/11/02 7:41 AM, Charles Wiltgen ([EMAIL PROTECTED]) wrote:
> Are there drawbacks to storing persistent object properties as a serialized
> value in hidden fields that I'm missing? This is a newbie's first major web
> application, so I really appreciate your input.
Doesn't that mean you'd h
Lots of good ideas here:
http://www.databaseanswers.com/data_models/index.htm
olinux
--- Steve Purkiss <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> I wrote a site a while back which has a booking
> system for event guest
> lists. It was my first venture into PHP, and now
> that it needs some more
>
Hello,
I'm about to implement session management, and I'm considering rolling my
own instead of using PHP's.
Specifically, I'm considering using hidden fields for persistent object
properties because (1) I don't want cookies to be an issue, (2) I prefer not
to have session IDs appear in a URL, an
Le dimanche, 10 nov 2002, à 12:24 Europe/Paris, .: B i g D o g :. a
écrit :
The best way to enable cli is to re-configure php without apache and
everything else you want.
You mean 2 PHP implementation : one for Apache(existing) and a new one
standalone ?
I like to add --bindir to the configu
i seriously dont get it how are you suppose to use the ftp functions if the
only way is via the browser uploader which goes to the server first anyway
??
"Justin French" <[EMAIL PROTECTED]> wrote in message
news:B9F47504.16CA2%justin@;indent.com.au...
> From the browser window, I believe you can o
Hi, i got this project i'm building right now. It basically a core system to
do adminsitrative modules for web sites.
I got tons of classes that get created on call of a function like
sql_setup(), frm_setup(). These functions create the objects from the
classes so they can be used later in other o
I have sendmail installed and the path to it in the php.ini is correct, when i try a
file just containing the mail() function (no errors in that!) it starts sendmail but
nothing gets sent!
root 22508 0.0 0.2 3556 1520 pts/2S20:09 0:00 php test.php
smmsp22509 0.0 0.2 3416
On Sun, 10 Nov 2002 10:48:46 -0500, you wrote:
>Hi Earnest. I found these user notes in the PHP manual, but, it's confusing
>and seems to be a bit contradictory:
It's simple: A user defined error handler cannot handle parse errors
or compile time errors. That makes sense to me...if your script
Not that I know of.
On Sun, 10 Nov 2002, Thomas Seifert wrote:
> Sorry, yeah I've heard and I cannot prove it, therefore I ask.
> I didn't want to troll or similar, just curious about it.
>
> Are there any benchmarks through the different versions with a common-app
> or similar available?
>
>
> R
>
> I have made these tests long ago and some are even present on
> www.phpbeginner.com. Basically double quotes with one or two variables
> in it is faster. Then goes concatenation via single quotes and dot. But,
> the fastest of all is actually inline php (when you leave php with ?>
> and return
Sorry, yeah I've heard and I cannot prove it, therefore I ask.
I didn't want to troll or similar, just curious about it.
Are there any benchmarks through the different versions with a common-app
or similar available?
Regards,
Thomas
On Sun, 10 Nov 2002 08:08:04 -0800 (PST) Rasmus Lerdorf <[EMA
Hello,
On 11/10/2002 11:31 AM, Oliver Witt wrote:
Hi,
I wrote a php script that's supposed to enable me to attach files to an
email. However, the attached files ends up being a mess of letters.
"Hallo" becomes "SGFsbG8=". That must have to do with encoding. Is that
a common problem or do you need
I'm running PHP4 on Mac OS 10.2.1 using Marc Liyanage's binaries
compiled with --disable-cli option .Is there any possibility to install
an extension to enable CLI ?
Thanks for your help .
Pierre Vaudrey
email [EMAIL PROTECTED]
Php file system functions seem to hate unicode paths or filenames. I was
working on generic download script and it works fine for regular ascii(?)
files but when i tried a unicode-named file it failed.
$file1 = c:\blah\I've Sound [Air] $BD;$N;m(B(Lia).mp3
$file2 = c:\blah\bleh.mp3
readfile, fop
I think you shouldn't be care much about it as I would call it with one
word - paranoia.
I have made these tests long ago and some are even present on
www.phpbeginner.com. Basically double quotes with one or two variables
in it is faster. Then goes concatenation via single quotes and dot. But,
th
Who in the world told you that 4.2.3 was beta?
On Sun, 10 Nov 2002, Jill S wrote:
> Thanks to everyone who kindly responded with
> their views regarding whether or not PHP v.4.2.3.
> is a "beta" version or not a "beta" version.
>
> Because the opinions offered were so adamant and
> so contradicto
Thanks to everyone who kindly responded with
their views regarding whether or not PHP v.4.2.3.
is a "beta" version or not a "beta" version.
Because the opinions offered were so adamant and
so contradictory, I contacted Zend. I just received
the reply (below)...
Hi Jill, Nice talking with y
Here's the code...
-js
$string = <<
value 1
see http://phpmailer.sourceforge.net
-js
Oliver Witt wrote:
> Hi,
> I wrote a php script that's supposed to enable me to attach files to an
> email. However, the attached files ends up being a mess of letters.
> "Hallo" becomes "SGFsbG8=". That must have to do with encoding. Is that
> a common p
Why is it strange? By default strings are sorted alphabetically. 6 > 10
when sorted alphabetically. Convert your strings to numbers in some
logical manner and compare numbers or easier, use strnatcmp() to compare
the strings directly using a natural alphanumeric comparison.
-Rasmus
On Sun, 10
> Is it possible to use the PHP-extentions for Apahce with the PHP for the
> CGI version, while the version number matches?
Yes
> What is the md5-hash beneath the download for?
To verify that the file you download (from a mirror, for example) matches
the official tarball from www.php.net and has
Is it possible to use the PHP-extentions for Apahce with the PHP for the
CGI version, while the version number matches?
What is the md5-hash beneath the download for?
Regards,
Sumarlidi E. Dadason
SED - Graphic Design
_
Tel: 896-0376, 461-5501
E-mail: [EMAIL PROT
You have heard? There have been a number of performance improvements in
many different areas of php actually.
-Rasmus
On Sun, 10 Nov 2002, Thomas Seifert wrote:
> Hi there,
>
> did anyone do any Performance measurement through the php4.x-series?
>
> I've heard that the performance decreased fro
Hey all, I was playing around this morning with a little test to decide
whether string substitution is faster or slower than concatenation. I
figured that, since printing variable values is one of the most common
actions in a script finding which method is best would be important.
I've been suspect
Hi there,
did anyone do any Performance measurement through the php4.x-series?
I've heard that the performance decreased from 4.0.x to 4.1.x to 4.2.x ... ?
Are there any numbers or benchmarks for this?
Thanks in advance,
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
See the expose_php php.ini directive.
On Sun, 10 Nov 2002, Leif K-Brooks wrote:
> I'm trying to replace the X-Powered-By header out of security concerns.
> I know it can't really hurt - just me being paranoid. Anyway, I'm using:
>
> header("X-Powered-By: somethingthatisntphp",true);
>
> But it
I'm trying to replace the X-Powered-By header out of security concerns.
I know it can't really hurt - just me being paranoid. Anyway, I'm using:
header("X-Powered-By: somethingthatisntphp",true);
But it has 2 headers. Is there any way to do this?
--
The above message is encrypted with double
Hi Earnest. I found these user notes in the PHP manual, but, it's confusing
and seems to be a bit contradictory:
-[snip]-
error_reporting() has no effect if you have defined your own error handler
with set_error_handler()
[Editor's Note: This is not quite accurate.
E_ERROR, E_PARSE, E_C
Uh, no. Your problem is obvious:
$sql = "SELECT *
FROM users
WHERE username='$_SERVER["PHP_AUTH_USER"]' and
password='$_SERVER["PHP_AUTH_PW"]'";
You have double-quotes inside a double-quoted string.
Like I said, don't use quotes around the array index inside
I think you should convert them to dates--otherwise the server compares
them as strings.
Marco
--
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Check us out on the web at http://www.phparch.com
On Sun, 2002-11
Hi all,
I wrote a site a while back which has a booking system for event guest
lists. It was my first venture into PHP, and now that it needs some more
work done on it (mainly making the site more open so people don't have to
sign up until they book on the guest list) I really want to rework the
Hi people!
I have MySQL working with ASP under win2000 and IIS. I have recently
tried unsuccessfully to install PHP. Initially I started with zip binary
distribution. I tested it with:-
PHP Test
"; ?>
Couldn't be much simpler!
Nothing worked but "view source" showed the above code. Th
Hi!
If you try this in php:
2002-01-6 > 2002-01-10
returns true
2002-01-6 > 2002-01-9
returns false
Jut a leading 0 in the date makes it false...this is really strange..
Any comments?
_
Add photos to your messages with MSN 8.
At 15:28 10.11.2002, Ray Seals said:
[snip]
>Parse error: parse error, expecting 'T_STRNG' or 'T_VARIABLE' or
>'T_NUM_STRING' in on line 33.
>
>Here is the script that is doing this:
>
> [...]
>
>$sql = "SELECT *
>FROM users
>
Ernest E Vogelsinger schrieb:
> At 15:27 10.11.2002, Oliver Witt said:
> [snip]
> >I had it set like this:
> >
> >$fp = fopen($file, "r");
> >$contents = fread($fp, $file_size);
> >$encoded_file = chunk_split(base64_encode($contents));
> >fclose($fp);
> >
>
At 15:27 10.11.2002, Oliver Witt said:
[snip]
>I had it set like this:
>
>$fp = fopen($file, "r");
>$contents = fread($fp, $file_size);
>$encoded_file = chunk_split(base64_encode($contents));
>fclose($fp);
>
> ...
>
>$body.= "\n\n--Message-Boundary\n";
>$body
Uh, no. That makes it think it's a constant, which generates a notice.
Rasmus Lerdorf wrote:
Don't use quotes around the array index inside a quoted string.
-Rasmus
On 10 Nov 2002, Ray Seals wrote:
The fact that tutorials are outdated & using old code is not a good reason
to stick with it
1 - 100 of 125 matches
Mail list logo