rasmus Fri Jan 12 00:03:24 2001 EDT
Modified files:
/php4/ext/mysql php_mysql.c
Log:
Fix for bug 6073 from Sean R. Bright <[EMAIL PROTECTED]>
Index: php4/ext/mysql/php_mysql.c
diff -u php4/ext/mysql/php_mysql.c:1.61 php4/ext/mysql/php_mysql.c:1.62
--- p
Alex Black wrote:
> echo " value=\"$value\">"
>
> starts to make you insane.
If it is done wrong spread over the whole project hidden between lines
of PHP-code, it sure does.
> speaking as an html author, and a lover of php, _please_:
>
>
>
> it makes the code useable.
No.
makes the code u
I have windows98, apache 1.3.14, php4. After adding
following line in httpd.conf file
# for the apache module
#LoadModule php4_module c:/php4/sapi/php4apache.dll
I get following error while starting apache (which
works fine otherwise)
Cannot load c:/php4/sapi/php4apache.dll into server:
(1157)
> how do I give something the filepath of a folder that proceeded it?
Not sure exactly what you mean here but consider
getcwd()
http://www.php.net/manual/function.getcwd.php
This "gets the current working directory" and may help your quest. If you
want something else, load up phpinfo
CREATE TABLE tbl_name
(
id_number int unsigned auto_increment not null primary key
...
)
AUTO_INCREMENT = 5000;
- Original Message -
From: "Jared Howard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 7:35 PM
Subject: [PHP] MYSQL start an auto_increment at a
""Chris Lee"" <[EMAIL PROTECTED]> wrote in message
93l3qd$p98$[EMAIL PROTECTED]">news:93l3qd$p98$[EMAIL PROTECTED]...
> has anyone ran any test to see what kind of performance hit? I know people
> are allways ranting and raving about single or double quotes regarding
> performance and people rant
It was minimally documented for a long time...
- Original Message -
From: Toby Butzon <[EMAIL PROTECTED]>
To: Richard Lynch <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 5:58 PM
Subject: Re: [PHP] Manual suggests 3.0.3, but I can't find any proof of it in
>
"Monte Ohrt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Can anyone give me a list of big named sites (or point me to a list)
> that use PHP?
> Basically, site names that marketers can recognize as "big names", or
> very well known.
I haven't had time to u
rasmus Thu Jan 11 22:15:31 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
Yet another Korean translator
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.31 CVSROOT/avail:1.32
--- CVSROOT/avail:1.31 Thu Jan 11 12:51:10 2001
+++ CVSROOT
> I have successfully uploaded the image. But now I want to
> know the size width X height of the pixels of the image. Is
> this possible to get the size and height of the image by php.
Sure,
http://www.php.net/manual/ref.image.php
... will show you where to find what you need.
Jason
--
PH
Hello,
I have successfully uploaded the image. But now I want to know the size width X height
of the pixels of the image. Is this possible to get the size and height of the image
by php.
Regards
Statbat
Thanks, that works fine
> -Original Message-
> From: Brian Clark [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 11 January 2001 14:15
> To: PHP is not a drug .
> Subject: Re: [PHP] Funny running PHP4 on Apache, Windows 95
>
>
>
> Hello Patrick,
>
> (PD == "Patrick Dunford") [EMAIL PROT
> Is there a way to limit the image size with php?
You would have to use some image manipulation functions to look at the
file once it's been uploaded.
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
PHP General Mailing List (http://www.php.net
Is there a way to limit the image size with php?
WreckRman2
Combat Flight Center
http://www.combatfs.com
--
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 ad
This might help more, too:
http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Email_Utili
ties/
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTE
> I am after a php3 script that can do this...
>
> Have a form of about 20 fields where one of the fields can browse the
users
> hard drive so they are able to include an image, and then submit the form
by
> sending an email. All the other fields are just text.
>
> Kinda like a formail script bu
How's it handle scripts that call eval()?
Gfunk
My name was Brian McGee,
I stayed up listening to Queen,
When I was seventeen.
http://www.gfunk007.com/
- Original Message -
From: "George Schlossnagle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, Janua
On Thu, 11 Jan 2001, Alex Black wrote:
> like this:
>
> echo "";
> echo "";
> echo "$title";
> echo " href='resources/css/$css.css'>";
> echo " language='javascript'>";
> echo "";
> echo "
$title
";
insert_css_js_here();
I'd like to announce the release of the APC Alternative PHP Cache
http://apc.communityconnect.com/ . APC works by caching the scripts in
shared memory post-compilation to effectively eliminate the overhead of
parsing and compilation. APC was developed as a completely free and
open alternative to
Sounds like you could use a mime_mail class to build your email. The best
I've
found is at phpWizard and is by Sascha Schumann and Tobias Ratschiller.
I have written a very basic downloader script using this class that emails
tar.gz packages
as attachments to a user upon request. You can try the
In MySQL, I need to know how to create a row in a table that is an
auto_increment and starts at a certain number. I've tried using:
CREATE TABLE something (
id_numberint default '5000'auto_increment,
UNIQUE id_number (id_number)
);
but it sets the default to NULL. How do I do that?
On Thu, 11 Jan 2001, Ray Iftikhar wrote:
> I was looking for a good book that teaches you how to use PHP (mainly 3)
> with MySql. I went to Amazon.com and found "MySql" by Paul Dubois, which was
> supposed to be THE book for mySql programming. However, after reading some
> of the customer review
Hello,
I am after a php3 script that can do this...
Have a form of about 20 fields where one of the fields can browse the users
hard drive so they are able to include an image, and then submit the form by
sending an email. All the other fields are just text.
Kinda like a formail script but with
We all do the same :-))
then here's a tip:
How to make these Content Editors, without even think of the PHP code add a
graphic into the text. (ie: an article)
you tell them to add in the textbox they typed they article in the
following:
[img|name|align|valign|border]
and that is it.
another
How do I get those log files? I've tried setting error_log,
error_reporting, track_errors, & log_errors in /etc/php.ini. It didn't log
to the log file I told it to, or log to the system message log. How do I
get it to log this error?
At 06:02 PM 1/11/01 -0800, Chris Lee wrote:
>Its also very h
> Absolutely. We've replaced every HTML tag we use often with
> PHP functions. We separate content, style, layout, and logic so
> using 100% PHP is the best for us.
I've done that, to a point. All form input tags have been PHP'd
so that I can change their class on the fly across the entire
site
- Original Message -
From: "Jade Ohlhauser" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 1:40 PM
Subject: Re: [PHP] mixing HTML and PHP code
> IMHO even better is:
> input_text('hello', 20, $value);
>
> that's how that would appear on our site. We
> Alex said:
> let's assume you're working on a site, where there are php coders, and
html
> people: _every_single_ html production person prefers to have code
embedded
> in html, not the reverse.
Agreed, amen, etc. :)
On our large multi-member development team projects, we've gone even
further
> You _actually_ print() or echo() everything you want to send to the
> browser?
Absolutely. We've replaced every HTML tag we use often with PHP functions.
We separate content, style, layout, and logic so using 100% PHP is the best
for us.
> if you have ever worked in a fast paced production env
When you do a standard PHP4 "apxs" configure...
./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql
where does it put files when you do a 'MAKE INSTALL' ??
(Or - how would I find out?)
--
I have a Linux box that's having C-compiler problems.
But since it's the EXACT sam
2 things, first how do I give something the filepath of a folder that proceeded it?
Also, how can I set up subdomains like sub.domain.com?
Its also very handy when you get an error like that to check you log files,
usually when you get no error and no page like that, php has segfaulted
apache, might want to check :) there might be other errors in the log files
to help you too.
Chris Lee
Mediawaveonline.com
"Jared Howard" <[EMAIL
hi phillip,
I've been teetering back and fourth on that issue with binarycloud:
I _love_ using
as opposed to the more compatible:
the first _feels_ like a key, the latter does not :)
great for html templates.
_alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
htt
> As I said to my HTML Editors:
>
> Whenever you meet in your code: DO NOT TOUCH IT...
>
> It works - Programmers and Web Designers have nothing now to do together.
>
> That is what I love the most of PHP -- you can separate PHP Core and HTML
> extremely easily.
Couldn't have said it better :
the central point behind all this html-mixing-php stuff is this:
_if_ you are going to release code to a population of developers, and you
hope that it will be useful to them - that code must be flexible enough for
an individual developer to change it to suit their needs.
let's assume you're wor
Think of a library:
you make yourself a bunch of files to use somewhere later, and when you need
any of them - include it.
Functions, classes whatever but not IFs and calculation staff: these
would always have to be read...
Cheers!
-Original Message-
From: Dan Phoenix [mailto:[EMA
Hey Ray,
I would suggest looking for books on SQL. I have one (and want
more!), it is called "the practical sql handbook" and it's nice.
Seems every PHP book deals with MySQL directly too.
Anyway, my thought on the matter is go generic, go SQL.
Philip
On Thu, 11 Jan 2001, Ray Iftikhar wrote
As I said to my HTML Editors:
Whenever you meet in your code: DO NOT TOUCH IT...
It works - Programmers and Web Designers have nothing now to do together.
That is what I love the most of PHP -- you can separate PHP Core and HTML
extremely easily.
Cheers,
Maxim Maletsky.
-Original Messa
we use what could be described as a network of includes in binarycloud, and
have seen very little performance impact, especially given the complexity of
the stuff we're doing.
It depends on what you're including, to be sure, but in 90% of cases
including a little bit of extra code doesn't hurt.
I was looking for a good book that teaches you how to use PHP (mainly 3)
with MySql. I went to Amazon.com and found "MySql" by Paul Dubois, which was
supposed to be THE book for mySql programming. However, after reading some
of the customer reviews, it said that it was "light" in the PHP s
> code snip from phorum
>
> : ()
> :
>
> //
>
> echo "$lAuthor: $author ($host)\n";
> echo "$lDate: $datestamp\n";
> ?>
well, the first example is just improperly structured code.
()
or:
echo "\n";
echo " \n";
echo " \n";
echo "$lAuthor: $author ($host) \n";
echo " \n";
ec
Toby, where at in manual?
Have looked around :
http://www.php.net/manual/language.basic-syntax.php
Here it states :
"Note: Support for ASP-style tags was added in 3.0.4."
Were they added at same time? Is it considered an "ASP-style tag" ?
Richard eludes to this fact. Also, it's not
My main question would be the performance advantage (if any) of
including functions only when needed..instead of leaving them all in one
file..and if php would include it even if the function is never called
...anyone.
Dan
+--
On Thu, 11 Jan 2001, Jared Howard wrote:
> I'm trying to include images in my PDF file using pdf_open_png. (I've also
> tried using pdf_open_gif and pdf_open_image_file.) But when I add the line:
>
> $logo = pdf_open_png($pdf, "$CFG->imagedir/logo.png");
>
> I get the error: Cannot find serv
I'm trying to include images in my PDF file using pdf_open_png. (I've also
tried using pdf_open_gif and pdf_open_image_file.) But when I add the line:
$logo = pdf_open_png($pdf, "$CFG->imagedir/logo.png");
I get the error: Cannot find server or DNS Error (The page cannot be
displayed), and
not sure, but if all else fails, just cron job it...
-Jonathan Sharp
Director of Technology - Imprev Inc.
Renwick Development Group - Flyerware
http://www.flyerware.com/
Phone: (425)688-9200
Cell: (425)766-1398
-Original Message-
From: Samantha Savvakis [mailto:[EMAIL PROTECTED]]
Sent:
After the release of Afterburner cache from beware, there is now a new
one to check out...
APC - Alternative PHP Cache
http://apc.communityconnect.com/
This one can work as a drop-in module, a bit handier than recompiling
just to try it.
--
PHP General Mailing List (http://www.php.net/)
To un
> emacs sucks! vi forever! :P
Yes, I think its about time for another round of What Editor
Is The Most Awesomest Best And R0xx0rz The World! :)
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
PHP General Mailing List (http://www.php.net/)
To un
Hi,
I'm using:
SCO Openserver 5.0.5
PHP 4.0.4
I had this problem a little while ago, and didn't find a resolution to it.
I'm using sessions for a current application. The sessions are being created
and used as I want them to be. I have no problems with the way they are
working.
The files in my
emacs sucks! vi forever! :P
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
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, e-mail: [EMAIL PROTECTED]
> it's valid to use single-quotes, double-quotes, or NO quotes.
If you're going to use no quote, make damn sure you don't have any
spaces :)
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
PHP General Mailing List (http://www.php.net/)
To unsu
it's valid to use single-quotes, double-quotes, or NO quotes.
specs, anyone?
---
The value of the attribute may be either:
A string literal, delimited by single quotes or double quotes and not
containing any occurrences of the delimiting character. (7)
http://www.w3.org/MarkUp/html-
> > echo "";
>
> that isn't html anymore, though.
>
> even though IE and NS may be forgiving, isn't valid.
>
> " it is.
Er, actually ... you can use any quotes you like, you just have to be
consistent and remember to close the one you open.
> > Actually, it makes it less useable for me.
>
It works, it works in
lynx,
netscape 4.76
netscape 6
mozilla 0.7
IE 5.5
opera 5.01
amaya 4.2.1
now I havent used any mac browsers but if it works for all those I assume it
will for Mac browsers eh.
Chris Lee
Mediawaveonline.com
"Alex Black" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTE
Hello,
Can someone please help?
My ISP has recompiled php with the transparent sid support and now when i try to
access a certain page for the first time (ie. no cookie yet set) then php is making a
right mess of my javascript and html (adding speech marks and question marks in
unwanted place
> That's pretty ugly.
>
> echo "";
that isn't html anymore, though.
even though IE and NS may be forgiving, That's a bit better.
> This is even better still:
>
> echo "";
>
> Now, I can see the PHP variable used in there a lot easier than I
> could before. Syntax highlighting would bring it
i'm not suggesting that you build inaccessible systems.
one should always provide a backup for browsers that don't support your
features.
ex:
--
i'm an advocate of using the most appropriate language to the application,
nothing more, nothing less.
and sometimes (often,actually), it AIN'T
Manual suggests 3.0.3, but I can't find any proof of it in
the changelogs...
--Toby
- Original Message -
From: "Richard Lynch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 6:34 PM
Subject: Re: [PHP] > when was
> Definitely before that -- Not sure when.
>
>
l
Jerry Lake
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 3:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] ik
k
- Original Message -
From: <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Thursday, January 11, 2001 5:01
> javascript IS the optimal solution for a user-friendly dynamic navbar.
I don't agree.
> check this one out:
> http://javascript.internet.com/foldertree/
> i do sense a certain amount of FEAR on behalf of php'ers in regards to
> javascript.
Because it goes against accessibility.
> no web appl
Also consider :
$filezip_name = str_replace(' ', '_', $filezip_name);
http://php.net/manual/function.str-replace.php
It will be faster.
Philip
On Thu, 11 Jan 2001, Chris Lee wrote:
> just add this somewhere near the top.
>
> $filezip_name = ereg_replace(' ', '_', $filezip_name);
>
I've got one you guys can have, email me anybody who wants it.
Gfunk
My name was Brian McGee,
I stayed up listening to Queen,
When I was seventeen.
http://www.gfunk007.com/
- Original Message -
From: "DanO" <[EMAIL PROTECTED]>
To: "Php-General@Lists. Php. Net" <[E
Hello there,
I am new to PHP what would bookm would you recomend? Any
help is appreciated.
Carlos
--
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
Thursday, January 11, 2001, 11:03:31 AM, you wrote:
BC>> Using PHP 3.0.18, every, single time I've used something like:
BC>> include('../farmers/underwear.php');
BC>> It works as expected.
BC> I'm half alseep. I see what you're saying. I suppose if you did:
BC> include('corn.php');
BC> It's going
php-general Digest 11 Jan 2001 23:50:32 - Issue 449
Topics (messages 33965 through 34156):
Re: HTTP autentification]
33965 by: Michal Thomka
Re: file uploading error - can't upload "none"
33966 by: WreckRman2
Stripping!!!
33967 by: K.Simon
33969 by: Moritz
javascript IS the optimal solution for a user-friendly dynamic navbar.
check this one out:
http://javascript.internet.com/foldertree/
i do sense a certain amount of FEAR on behalf of php'ers in regards to
javascript.
no web application is complete without a mix of client-side and server-side
just add this somewhere near the top.
$filezip_name = ereg_replace(' ', '_', $filezip_name);
Chris Lee
Mediawaveonline.com
""David Smith"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> With the following code how can I check to see if the file being upl
I have to agree with Jason on this one too. I work in a *production*
enviroment, Ive worked on small (2k loc) to medium (45k loc) sites and I see
no problem with echo "" accually I see a larger problem with going in and
out of PHP, it breaks the consistancy.
code snip from phorum
: ()
:
//-
> These are the 3 files I'm using; they all reside in the same dir:
>
> The PHPSESSID variable is *not* being passed on
> the url going between page1 and page 2 and the
> session id is always different (obviously).
> --enable-trans-sid IS turned on and I have no idea
> what's going on...
When
I have a working javascript system for this, email me anybody if you want
it.
Note - It's a hulluva lot harder than you think to write
Gfunk
My name was Brian McGee,
I stayed up listening to Queen,
When I was seventeen.
http://www.gfunk007.com/
- Original Message
his mailbox is full, I'm getting spam'd by his mailserver :)
-alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Center
2600 Tenth St Suite 433
Berkeley, CA 94710-2522
--
PHP General M
> function testPassVar($url) {
> $name = "TEST";
> echo "Click";
> }
>
> $url = 'asdfasdf.php3?name=$company';
> testPassVar($url);
> echo "This is a $name";
> ?>
> $url = "asdfasdf.php3?name=$company";
you need double quotes for the $company to be eval'd
also, $name is defined within a func
well thats a strange one isn't it. I would double check your php.ini make
sure it wasn't changed, also check the phpinfo() output to see if its
accually using the right php.ini file
http://php.net/manual/function.phpinfo.php
can you use the GLOBALS array?
echo $GLOBALS['foo'];
I dont quite kno
yes,
use binarycloud. (binarycloud.com)
select count(*) from bc_logged_in;
:)
_alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Center
2600 Tenth St Suite 433
Berkeley, CA 94710-2522
k
- Original Message -
From: <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Thursday, January 11, 2001 5:01 PM
Subject: [PHP] ik
j
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
Force that page not to be cached.
You're probably building a new session with all the date from the cart...
See the Code Archives linked from http://php.net/links.php
Search for "cache" and use all the related headers you can find.
- Original Message -
From: "Angel Behar" <[EMAIL PROTE
> when was http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I *think* the JavaScript (and DHTML and whatnot) utilize server-side code to
detect your browser and come up with different code.
The alternative is to crash some browsers, which is not so nice. :-^
I think some complaints were even received at php.net from other webmasters
who stole the site wh
>[MySQL broken on Solaris?]
> Any help appreciated - otherwise I have to go look at postgresql :(
Hey, watch it!
PostgreSQL rocks!
I personally always find myself ham-strung by MySQL's lack of sub-selects
and aggragates not allowed in the where clause...
You can work around it, but it's a PITA
{} inside of "" now does order-of-operations, I think...
Something like that. It's in the docs somewhere.
I thought this was a PHP3 -> PHP4 change, not related to RedHat nor ereg in
particular...
- Original Message -
From: Michael Kimsal <[EMAIL PROTECTED]>
Newsgroups: php.general
Sen
Yes.
Search for "PostToHost" and "Rasmus Lerdorf" in google, dogpile, or
whatever.
Or, dig through Manuel Lemos' class libraries for a OO version.
- Original Message -
From: Knut Sætre <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Thursday, January 11, 2001 10:00 AM
Subject: [PHP] P
What's URL?...
Is that the actual code you have?
If so, the browser is going to try to do a *RELATIVE* path to that, I
think...
- Original Message -
From: Sam <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Thursday, January 11, 2001 7:25 AM
Subject: [PHP] Help---using pdfs with PHP
What output did you get?
What did you expect?
- Original Message -
From: "Cybercandy Ltd" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Thursday, January 11, 2001 6:54 AM
Subject: [PHP] Iterating Multidimensional Arrays
> I'm a bit stuck on this issue
>
> The following script prod
Search the Code Archives linked from http://php.net/links.php
Basically, it's just this:
There are different twists and turns depending on how you want the image
cached, and whether you want the images inside your web-tree or not, and if
you want just GIF or a more general-purpose solution or.
http://php.net/setcookie
Not sure why you want to put them in a cookie, though. The browser is going
to keep representing the $HTTP_AUTH_USER and password variables as long as
they don't quit their browser...
- Original Message -
From: "David Smith" <[EMAIL PROTECTED]>
Newsgroups: php.g
$cart['product17'] = 42; #order lots of these.
unset($cart['product4']; # Don't need any of those.
You probably should re-read the first section of the PHP Manual at
http://php.net/manual
A lot of the basics like this are in there to get you going strong.
- Original Message -
From: Kers
very hard.
that assumes you can do a reverse lookup, which is not always the case, and
even if you can it sometimes takes a _huge_ amount of time...
you could do it off the selected language, but that doesn't give you
geographical location.
better to just ask.
hi, where are you?
and set a coo
probably a better idea to spawn a CGI version of your email sending script
than to run it from the client...
that means you'd have to bump max_executio_time way the hell up, which will
affect the rest of your php apps on your server.
_alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turi
you have two choices:
yes, php can do it, but as php is a server side language, you have to
refresh the page...
or, you can go the
much-more-dangerous-and-much-less-likely-to-work-on-many-browsers javascript
route.
I suggest the first :)
if you _do_ end up writing some good code, please make
I just installed 4.0.4pl1 upgrade from 4.0.3pl1. I changed nothing in my
ini file and just left it inplace from the previous installation. I used
the same configure options, --with-apxs and --with-mysql
Now, my global variables don't work in my functions.
ie.
$foo = "bar";
$rap = 7;
function
> if you have ever worked in a fast paced production environment, where
> html is changed sometimes 5 times a day, digging through hundreds
> of lines of:
>
> echo " value=\"$value\">"
>
> starts to make you insane.
That's pretty ugly.
echo "";
That's a bit better.
This is even better stil
eh?
on OS X?
what is your (pardon, insane) justification for having pressure to get a
piece of software on a yet-to-be-released operating system?
go download freeBSD it works! OSX is just beta...
-a
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio
With the following code how can I check to see if the file being uploaded
has a space in it? Maybe replace them with a _ or reject them all
together...
if ($FileType== "none") {
print "ERROR! - You must specify a File Type before we can begin the
upload.";
}
yes:
if you have ever worked in a fast paced production environment, where html
is changed sometimes 5 times a day, digging through hundreds of lines of:
echo ""
starts to make you insane.
speaking as an html author, and a lover of php, _please_:
it makes the code useable.
I've had to avoi
> if I have a dir like this
> root\main\test.php
>
> how could I access this: from that script
> root\test\test.php
>
> basicly I mean how do I access a path before the current one
$PHP_SELF will point to "root\test\test.php" (though, I think you'd
be better off thinking of "/root/test/test.php
if I have a dir like this
root\main\test.php
how could I access this: from that script
root\test\test.php
basicly I mean how do I access a path before the current one
try this:
session_unset(); - i think that's the one
session_destroy();
-
Jonathan Rosenberg
Be fierce, be fabulous, change the world!
- Original Message -
From: "Angel Behar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
S
I am brand new to this list but I have used PHP a little
Yes - you can use PHP 3 in stand alone mode
Issues:
1) The usage claimed to be able to set variables on the command
line. I was able to set one but not more than that - basically
I just ended up creating a temporary wrappe
j
__
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif
--
PHP General Mailing List (http://w
Hi !!!
I'm using php 4.0.3pl1 with session support and I can't KILL the session, I
unregister all the variables then I session_destroy() the session but if I
push the back button I still have the session working.
I had been reading all the documentation and cant' find the straight answer
to this
1 - 100 of 300 matches
Mail list logo