Dear Friends & Future Millionaire:
AS SEEN ON NATIONAL TV: ''Making over half million dollars
every 4 to 5 months from your home for an investment of only
$25 U.S. Dollars expense one time''
BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!! Before you say
''Bull'', please read the following. This
Actually, I couldn't find the article number for that tutorial. I did,
however, place a comment directly into that specific web page with the fix.
Here is a direct link to the tutorial (I left the frames out):
http://www.weberdev.com/ViewArticle.php3?ArticleID=30. Thanks.
Navid
-Original Mes
> -Original Message-
> From: Oguz Demirkapi [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 23, 2001 9:14 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP 4.0.4pl1 RPM download ?
>
>
> Hi,
>
> Where can I find PHP 4.0.4pl1 RPM files in order to download ?
>
Check www.rpmfind.net.
B
Hi,
I started running MacOSX beta on my mac, and noted that apache what
present (and used as web sharing extention).
The configuration made to apache from MacOSX beta out of the box is
pretty basic, BUT I noticed that their where plenty of modules
(mod_ssl, mod_perl, mod_dav, mod_php4, etc...
Dear Friends & Future Millionaire:
AS SEEN ON NATIONAL TV: ''Making over half million dollars
every 4 to 5 months from your home for an investment of only
$25 U.S. Dollars expense one time''
BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!! Before you say
''Bull'', please read the following. This
Try this
window.status='http://www.yoururl".$PHP_SELF."';");
?>
Joe Njeru,
Nairobi, Kenya
--
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 PROTECT
See filesystem functions, your note will be removed
and you will get a standard boilerplate about the
removal.
--- [EMAIL PROTECTED] wrote:
>
virtual("http://musictv.com/Videos/videoband.asp?1178");
>
> Want work the url above is on another of our sites
> not on the server that is calling the p
Hi guys!
I'm using a form that refreshes itself when submitting it!
however when it's submitted i make a condition on the value of $submit so as
to make some instructions but the problem is that the $submit is always
empty but i can see that the page is reloaded when i submit the form.
Thanks
Hey
This is my first question and mail to this list...hope u treat me decent =)
My earlier work have been lasso/filemaker (mac)
I´ve been heard that PHP is coming strongly and I have no reason not to
join. How is the relation between PHP/Filemaker?
--*
[knaSen]
icq #23830427
davidg Fri Feb 23 01:22:09 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
Removed constants registration, added a conversion table $midgard->types[$objtype]
try var_dump($midgard) for more details
Index: php4/ext/midgard/midgard.c
diff -u php
From: "Leonard Schneider" <[EMAIL PROTECTED]>
> Thanks for your reply
>
> Maybe it is dut to that I use a Windows98 OS, but environment variables
> functions don't seem to work. Moreover, I couldn't make the exec() and
> system() commands properly to run php from dos shell. Is it a security
> ?
>
Hi,
I hade phpPgAdmin problem for RaQ4r servers.
There was no PostgreSQL support as default and I got error as
Fatal error: Call to undefined function: pg_connect() in
/home/sites/home/web/manage/phpPgAdmin/lib.inc.php on line 130
~~~
try naming the submit button submitX and then see if $submitX is a var.
- Original Message -
From: kaab kaoutar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 23, 2001 9:58 AM
Subject: [PHP] $submit does not work! strange
> Hi guys!
>
> I'm using a form that
Fixed.
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Navid Yar [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 10:39 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Counter Help
Actually, I c
I jsut found a solution working ;))
Thanks to your reply which helped me much.
Here are two example files to see how it works :
which calls
It seems to work under Windows.
Regards,
Leonard Schneider
--- Simon Garner <[EMAIL PROTECTED]> wrote:
> From: "Leonard Schneider" <[EMAIL PROTECTED]
Hi,
I've written a script to upload image files to a server but need to check to make sure
there image files so I used the image type posted by the browser but that changes
depending on the system/browser set-up. What I need to do is open the file once its on
the server then get the content t
davidg Fri Feb 23 01:46:48 2001 EDT
Modified files:
/php4/ext/midgard oop.c
Log:
typo fixed.
Index: php4/ext/midgard/oop.c
diff -u php4/ext/midgard/oop.c:1.5 php4/ext/midgard/oop.c:1.6
--- php4/ext/midgard/oop.c:1.5 Wed Feb 21 14:18:54 2001
+++ php4/ext/
davidg Fri Feb 23 01:53:49 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
removed unneeded header inclusion.
Index: php4/ext/midgard/midgard.c
diff -u php4/ext/midgard/midgard.c:1.15 php4/ext/midgard/midgard.c:1.16
--- php4/ext/midgard/midgard.
On Friday 23 February 2001 08:50, Dezider Góra wrote:
Disclaimer: I have never touched ASP, so I'm likely to have gotten
somethings wrong..
> function too ). But in asp, there were couple types or scopes.
> Asp got "application" and "session". Application is something like a
> virtual directory
davidg Fri Feb 23 02:04:48 2001 EDT
Modified files:
/php4/ext/midgard oop.c
Log:
another typo.
Index: php4/ext/midgard/oop.c
diff -u php4/ext/midgard/oop.c:1.6 php4/ext/midgard/oop.c:1.7
--- php4/ext/midgard/oop.c:1.6 Fri Feb 23 01:46:47 2001
+++ php4/ex
Hello
I use macintosh and want to make an sql-database...How do I do?
--*
[knaSen]
icq #23830427
--
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 administrat
gluke Fri Feb 23 02:34:49 2001 EDT
Modified files:
/php4/ext/mnogosearch php_mnogo.c php_mnogo.h
Log:
Added ispell loading routines and date search limits in mnogosearch module.
Index: php4/ext/mnogosearch/php_mnogo.c
diff -u php4/ext/mnogosearch/ph
gluke Fri Feb 23 02:53:06 2001 EDT
Modified files:
/php4/ext/mnogosearch test.php
Log:
mnogosearch example updated.
Index: php4/ext/mnogosearch/test.php
diff -u php4/ext/mnogosearch/test.php:1.13 php4/ext/mnogosearch/test.php:1.14
--- php4/ext/mnogos
davidg Fri Feb 23 03:55:57 2001 EDT
Modified files:
/php4/ext/midgard config.m4
Log:
Added --with-mgd-experimental option to compile experimental stuff (off by defeult)
Index: php4/ext/midgard/config.m4
diff -u php4/ext/midgard/config.m4:1.7 php4/ext/midg
Get an SQL database engine and off you go. MySQL is a good place to start,
and it comes in a Mac OS/X flavour that you can download at
http://www.mysql.com/Downloads/MySQL-3.23/mysql-3.23.33-apple-rhapsody5.5-po
werpc.tar.gz.
Check out www.mysql.com for more info.
HTH
Jon
-Original Messa
hi list,
can someone please send me mysql.sock
( unix redhat 6.2 )
i had a crash - reinstalled the rpm 3.22.32 but this file is missing
thank you
sas Fri Feb 23 04:52:14 2001 EDT
Modified files:
/php4/ext/midgard config.m4
Log:
Note that the equality operator in the Bourne shell is a single =,
unlike C/C++/PHP.
Index: php4/ext/midgard/config.m4
diff -u php4/ext/midgard/config.m4:1.8 php4/ext/m
On Fri, Feb 23, 2001 at 11:08:08AM -, Matt wrote:
> I've written a script to upload image files to a server but need to
> check to make sure there image files so I used the image type posted by
> the browser but that changes depending on the system/browser set-up.
> What I need to do is open
Thierry,
Not sure if you need that 'echo' in there.
Also, if you have problems, compiling PHP / apache under MacOS X isn't THAT
complicated :)
Best regards,
Andrew
--
Andrew Hill - OpenLink Software
Director Technology Evangelism
eBusiness Infrastructure Tech
I'm using the file command, which reads an entire file and sticks it into an
array. I'm trying to read a file from mp3.com, and what I get back is
basically that the connection is refused. Doesn't it just load it up like
any browser would load it? Is there an equivalent command that wouldn't try
t
Estimados:
He instalado PHP en un servidor Windows NT/2000 y cuando en el primer
archivo php creo una conexion a Oracle, se cae
en la función OCILogon() dando el siguiente error:
Fatal error: Call to undefined function: ocilogon() in
D:\voicenetchile\ROOT-PHP\prueba.php on line 43
I have a comma delimited string that I need to parse into an array. Is
there a PHP function that will do that ?
Many thanks..
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
Look up the "split" and "explode" functions - they both do basically
the same thing.
$token_list = split(",", $string_to_parse);
HTH.
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com
Todd Cary [[EMAIL PROTECTED]] wrote:
> I have a comma delimited string that I
I believe http://www.php.net/manual/en/function.explode.php is what you're
after.
HTH
Jon
-Original Message-
From: Todd Cary [mailto:[EMAIL PROTECTED]]
Sent: 23 February 2001 14:41
To: [EMAIL PROTECTED]
Subject: [PHP] Parsing a string
I have a comma delimited string that I need to par
Hi,
I have problem with using of "$REMOTE_ADDR" variable.
The variable always return me "127.0.0.1" ( localhost ),
How can I get the IP of the remote host ?
Thanks,
Rosen Marinov
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
At 09:54 AM 2/23/2001, Rosen wrote:
is the machine that your browsing on the same machine that you have your
serving software on?
~kurth
>Hi,
>I have problem with using of "$REMOTE_ADDR" variable.
>The variable always return me "127.0.0.1" ( localhost ),
>
>How can I get the IP of the remote
Hello, I am having trouble getting .php3 files to work in php4.0.4pl1.
.php files work fine, but my browser wants to download the .php3 file.
Here are the relevant lines from httpd.conf:
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps
I'm at a bit of a l
Try doing this in your httpd.conf (replacing what you have now):
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
Josh Hoover
KnowledgeStorm, Inc.
Searching for a new IT solution for your company? Need to improve your
produ
php-general Digest 23 Feb 2001 15:03:46 - Issue 529
Topics (messages 41252 through 41317):
more info: Re: [PHP] file uploads problem?
41252 by: Ed Lazor
passing variables in javascript
41253 by: Nicholas W. Miller
41254 by: Simon Garner
41278 by: Nicholas W
Hi,
I had the same problem. It appears that the new version of PHP
4.0.4+ does not compile this module properly. However if you go down to PHP
4.0.3 or less everything works great. So something changed in the build
process and I have no idea what. Maybe if we're lucky we'll get someon
Same thing happens to me:
http://www.webdesigns1.f2s.com/remote_addr.php
Jeff Oien
code:
> At 09:54 AM 2/23/2001, Rosen wrote:
>
> is the machine that your browsing on the same machine that you have your
> serving software on?
>
> ~kurth
>
>
> >Hi,
> >I have problem with us
No,
the server is remote.
"Kurth Bemis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> At 09:54 AM 2/23/2001, Rosen wrote:
>
> is the machine that your browsing on the same machine that you have your
> serving software on?
>
> ~kurth
>
>
> >Hi,
> >I have pro
At 8:46 AM -0500 2/23/01, Andrew Hill wrote:
>Thierry,
>
>Not sure if you need that 'echo' in there.
with or without echo it doesn't work, the PHP works on Solaris.
>
>Also, if you have problems, compiling PHP / apache under MacOS X isn't THAT
>complicated :)
>
well, yes, if you can find a C co
Is there better performance/speed instantiating an array with a
specified size and then adding elements versus adding elements to an
array with no size?
Thanks,
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
Yup, the data's correct. The new records all have the DownloadedDateTime as
'-00-00 00:00:00'
As an attempted fix, I even entered a pause between the two MySQL queries,
and made the UPDATE low_priority to make sure it wasn't jumping the gun.
No luck yet.
Don
in article 003d01c09d20$a16db
sas Fri Feb 23 07:39:20 2001 EDT
Modified files:
/php3/functions string.c
Log:
Backport xhtml change for nl2br
Index: php3/functions/string.c
diff -u php3/functions/string.c:1.216 php3/functions/string.c:1.217
--- php3/functions/string.c:1.216
I'll would try it by netscrape isn't working @ the moment...
I doubt your script will let you upload file with out the .gif or .jpg
extension, but I think you can upload file with a different content type by
changing your local content type settings then using netscrape to upload..
.matt
- O
The only way you can do it now is through ODBC. In OS X ODBC will probably be
better along with a Carbon FMP version, it will be a good combo.
Michael
knaSen wrote:
> Hey
>
> This is my first question and mail to this list...hope u treat me decent =)
> My earlier work have been lasso/filemake
Thierry Coopman wrote:
> At 8:46 AM -0500 2/23/01, Andrew Hill wrote:
> >Thierry,
> >
> >Not sure if you need that 'echo' in there.
>
> with or without echo it doesn't work, the PHP works on Solaris.
>
> >
> >Also, if you have problems, compiling PHP / apache under MacOS X isn't THAT
> >complic
Does anyone know where I can download some compiled binaries of the latest
PHP snapshot (Win32)?
TIA
Peter
--
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:
Do you mean that index.php3 does not work when you access that page as the
index for the directory (http://youripaddress/) or that when you
specifically call index.php3 (http://youripaddress/index.php3), it wants to
download the script in your browser?
Thanks,
Josh Hoover
KnowledgeStorm, Inc.
S
It was the latter, which was very strange, but the problem seems to have
gone away now. How odd.
Thanks for your prompt help!! Much appreciated.
Hunter
"Hoover, Josh" wrote:
>
> Do you mean that index.php3 does not work when you access that page as the index for
>the directory (http://youri
Hola a todos
Mi consulta es la siguiente
He bajado la versión php-4.0.4pl1-Win32 para Windows 2000
¿ como utilizo esto, es decir como ejecuto un archivo php4?
Estoy utilizando Internet informaton server 5
Ojala alguien pueda ayudarme
Speak in english, even if some of us can understand you.
Mensaje citado por: Alex sepúlveda <[EMAIL PROTECTED]>:
> Estimados:
> He instalado PHP en un servidor Windows NT/2000 y cuando en el primer
> archivo php creo una conexion a Oracle, se cae
> en la función OCILogon() dando el siguien
> Does anyone know where I can download some compiled binaries of the latest
> PHP snapshot (Win32)?
Have you got somewhere you can let me put them and Ill build you some
otherwise Ill set you up an FTP account later and let you have them.
James
--
James Moore
PHP QA Team
[EMAIL PROTECTED]
--
On Friday 23 February 2001 15:46, Hardy Merrill wrote:
> Look up the "split" and "explode" functions - they both do basically
> the same thing.
>
> $token_list = split(",", $string_to_parse);
.. and if that doesn't suffice I can send you a nice'n'powerful CSV
parser class :)
--
Christian Rein
I've tried and tried and tried ;-)
I have this array;
$bikes = array(
"Road" => array(
"Trek" => array(
"Trek 5200" => "road.php?brand=t5200"
),
"Schwinn" => array(
"Schwinn Fastback Pro" => "road.php?bra
On Friday 23 February 2001 16:57, Don Johnson wrote:
> Yup, the data's correct. The new records all have the
> DownloadedDateTime as '-00-00 00:00:00'
It works if you execute only the SELECT (without the UPDATE) ?
> >> SELECT * from db_table WHERE (DownloadedDateTime = '-00-00
> >> 00:00
As the PHP manual indicates, we can use Mcrypt to do the encrypt and decrypt work in
PHP, but that needs to download the encrypt module and recompile PHP. Is there any
other way to encrypt and decrypt the string in standard PHP4.0.4 without any extension
module?
Thank you very much!
--
On Friday 23 February 2001 17:02, Jeff wrote:
> Is there better performance/speed instantiating an array with a
> specified size and then adding elements versus adding elements to an
> array with no size?
Uh, you can't specify the size when instatiating an array ...
--
Christian Reiniger
LGDC W
The MacOS X Developer Tools (free from Apple's site with a developer
registration) have all the necessary tools.
Best regards,
Andrew
--
Andrew Hill - OpenLink Software
Director Technology Evangelism
eBusiness Infrastructure Technology
http://www.openlinksw.com
Yes... you can use the explode function.
Example:
if $item where "Hello,There", $parts[0] would = "Hello" and $parts[1]
would = "There".
Thanks,
Mike Ridinger
On Fri, 23 Feb 2001, Todd Cary wrote:
> I have a comma delimited string that I need to parse into an array. Is
> there a PHP funct
Thanks all!!
split() works like a champ!!
Todd
--
Todd Cary
Ariste Software
[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 PRO
I am using PHP4 + MySQL + PWS + Windows 98.
We are trying to port over a web site to a laptop for remote use.
However, when we execute a SQL query on a DB in which a filed of the record
contains a NULL value, we get an error.
The code is as follows:
$GetQuery = mysql_query ("SELECT * F
This is the first time I have used a new socket connection to send
header data *and* then retireve the echoed string. This works fine. I
get the result string and I am able to parse out the first element,
which is the status code.
Now here is where I am stuck! I cannot go to another page! I h
Someone said it already, ODBC would be the best way to go. BUT, keep in
mind that ODBC support in FileMaker is not by any means complete. Also
remember that FileMaker is always going to be your bottleneck - not PHP. I
would suggest looking at MySQL (http://www.mysql.com/) and/or PostgreSQL
(htt
On Fri, Feb 23, 2001 at 12:20:19PM -0500, Greg Kopp wrote:
> I am using PHP4 + MySQL + PWS + Windows 98.
> We are experiencing TWO problems:
>
> First, unless we put quote marks around the index so it reads
> $AppResult['AppDOB'], we get an undefined constant. This doesn't happen on
> our Linux/A
sas Fri Feb 23 08:49:58 2001 EDT
Modified files:
/php4/ext/fribidi config.m4
Log:
Fix another instance of the == bug.
Index: php4/ext/fribidi/config.m4
diff -u php4/ext/fribidi/config.m4:1.2 php4/ext/fribidi/config.m4:1.3
--- php4/ext/fribidi/config.m4
Check your php.ini file.
The line for error report is set to E_ALL by default. Change it to
E_PARSE so that minor errors (like the one you mentioned) aren't reported
to the screen.
Thanks.
On Fri, 23 Feb 2001, Greg Kopp wrote:
> I am using PHP4 + MySQL + PWS + Windows 98.
>
> We are tryi
Mensaje citado por: Todd Cary <[EMAIL PROTECTED]>:
> I have a comma delimited string that I need to parse into an array. Is
> there a PHP function that will do that ?
Did you check the string functions? explode for example?
Saludos... ;-)
System Administration: It's a dirty job,
but someone
Yup. Go figure.
Don Johnson
> It works if you execute only the SELECT (without the UPDATE) ?
>
> Christian Reiniger
> LGDC Webmaster (http://sunsite.dk/lgdc/)
>
> On Friday 23 February 2001 16:57, Don Johnson wrote:
>> Yup, the data's correct. The new records all have the
>> DownloadedDateTim
Addressed to: <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from <[EMAIL PROTECTED]> Fri, 23 Feb 2001 12:20:12 -0500
>
> I've tried and tried and tried ;-)
>
> I have this array;
>
> $bikes = array(
> "Road" => array(
> "Trek" => array(
> "Trek 5200" =>
Hello,
I need to take a string and remove everything from the first "<" character
to the end of the line. I'm pretty sure I could do this with an
ereg_replace(), but I am horrible at regular expressions. Could anyone help
me with this?
- John Vandebreck
- Admin, GameDesign
--
PHP General Ma
Addressed to: Jason Stechschulte <[EMAIL PROTECTED]>
Greg Kopp <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from Jason Stechschulte <[EMAIL PROTECTED]> Fri, 23 Feb 2001 12:59:05
-0500
>
> On Fri, Feb 23, 2001 at 12:20:19PM -0500, Greg Kopp wrote:
> > I am us
On Friday 23 February 2001 19:27, Don Johnson wrote:
> Yup. Go figure.
>
> Don Johnson
>
> > It works if you execute only the SELECT (without the UPDATE) ?
> >
> > Christian Reiniger
> > LGDC Webmaster (http://sunsite.dk/lgdc/)
> >
> > On Friday 23 February 2001 16:57, Don Johnson wrote:
> >> Yup,
I have a form that submits to abc.php which then calls db.php and db.php
then redirects to a new URL. I have session_start(); on all these files and
I'm registering the variables I need. It seems that the session dies or
gets lost on it's way through all the included files. I then tried to pass
Sorry for the other (empty) mail...
On Friday 23 February 2001 19:27, Don Johnson wrote:
> Yup. Go figure.
>
> Don Johnson
>
> > It works if you execute only the SELECT (without the UPDATE) ?
Then are you 100% sure that you execute the SELECT first (echo something
on each query and check the or
On Friday 23 February 2001 19:33, John Vanderbeck wrote:
> I need to take a string and remove everything from the first "<"
> character to the end of the line. I'm pretty sure I could do this with
> an ereg_replace(), but I am horrible at regular expressions. Could
> anyone help me with this?
I've just built Apache 1.3.17 on Free BSD, using php-4.0.1pl2 and linking
with the postgres 7.0.3 as a shared object.
I also linked in mySQL support, which works correctly. When I try
accessing the posgres database by calling pg_Connect(), my web server
doesn't even display a page, other than
Is it possible to target a frame in the Location: of
a header? Sorry if this has been brought up a
million times before.
Jeff Oien
--
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 a
Hello,
I have a string of 1034 and I want to have an array that has each number in
an element.(ex: num[0] = 1, num[1] = 0, num[2] = 3 num[3] = 4) Is there a
way to explode a string by each character?
Thank you,
Brandon Orther
WebIntellects Design/Dev
Thank you very much :)
-Original Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 4:55 AM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: [PHP] Counter Help
Fixed.
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where
> I have a string of 1034 and I want to have an array that has each number in
> an element.(ex: num[0] = 1, num[1] = 0, num[2] = 3 num[3] = 4) Is there a
> way to explode a string by each character?
Just convert it to a string: ie. $foo = (string)$num; echo $foo[1];
-Rasmus
--
PHP General M
I've been trying to get the cgi version of php working with Apache and
suexec but so far I have not had much success. I've installed the Apache
module version of php and it seems to work fine. I then installed the
cgi version of php and it too seems to work fine as long as it
doesn't run throug
As to the WHY, well, the file extensions are different. It's like the
difference between a .DOC file and a .TXT file and a .RTF file. They're all
different, and the parser/executable uses the extension to tell it what to
expect.
Also, after you make changes to your httpd.conf make sure that you
Hmm okay that works, for most .php3 files, but for some reason,
does not work with index.php3. Very strange...
H
"Hoover, Josh" wrote:
>
> Try doing this in your httpd.conf (replacing what you have now):
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .php3
> AddTyp
Find the "DirectoryIndex" line and add "index.php3" to it in the httpd.conf
HTH,
Geordon
- Original Message -
From: "Hunter Kelly" <[EMAIL PROTECTED]>
To: "Hoover, Josh" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 23, 2001 9:22 AM
Subject: [PHP
If $string is a string, like :
$string = '312';
Then one can do :
$string[0]; // 3
$string[1]; // 1
$string[2]; // 2
Note, '312' is a string and will work using above but if we define 312 as
an integer like :
$string = 312;
Then $string[0] will not "work" and it'll need to
On Fri, Feb 23, 2001 at 11:47:12AM -0700, [EMAIL PROTECTED] wrote:
> That might be good for a temporary solution, but not having quotes there
> ia a potential bug waiting to happen. That is why it there is a warning
> about it.
I agree. Since he didn't use the quotes on the live system though,
I have a string that contains a number such as: $string = '12345'
I want that to read 12,345 though. Is there any way in which I can insert a
comma in there in the correct places?
-Matt
Thanks a ton to all. That did the trick.
Greg
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 1:47 PM
To: Jason Stechschulte; Greg Kopp; [EMAIL PROTECTED]
Subject: Re: [PHP] Undefinded Index on Mysql Result under Win98/PWS
Addressed
Use number_format() :
http://www.php.net/manual/en/function.number-format.php
echo number_format($number);
Other options exist with this function, it's pretty useful.
Regards
Philip Olson
http://www.cornado.com/
On Fri, 23 Feb 2001 [EMAIL PROTECTED] wrote:
> I have a string that
"Steve Kenshalo" <[EMAIL PROTECTED]> wrote:
> I am working on a PHP script for an e-commerce site that mails out calling
> card pin numbers after somebody purchases them online. Turing testing I
not
> noticed that aol users were not receiving the messages. AOL seems to be
> filtering them out with
Is there a way to simulate a form submission to a cgi-script using PHP? I
am trying to write a script that will replace the frontend of another CGI
script with a customized one of my own, but I need to be able to pass form
data into the next page in the cgi (including a password).
Matthew Aznoe
I am opening the top level of a a directory structure with dir. I want make
a list of the subdirectories, but not the files. Is there a file test
operator like perl's -d in php? I will then have to go into the sub
directories to perform actions on non directory files
--
PHP General Mailing Li
During compilation of php4 I have this:
What I have to do ?
Thanks, Enrico
DXML_BYTE_ORDER=12 -g -O2 -c sapi_apache.c
sapi_apache.c:32: httpd.h: No such file or directory
sapi_apache.c:33: http_config.h: No such file or directory
sapi_apache.c:41: http_core.h: No such file or directory
sapi_a
Does anyone have examples of using DTD's with the xml_parse functions?
Regards
Mark
--
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]
Mark Newnham wrote:
>
> Does anyone have examples of using DTD's with the xml_parse functions?
http://php.net/xml Example 4 uses an external DTD. Internal DTD's are
also possible.
-Egon
--
SIX Offene Systeme GmbH ·Stuttgart - Berlin
Sielminger Straße 63 ·D-70771 Leinfel
Hi there,
I want to download PHP from my Linux server, but I can't just type "lynx
http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gz&source_
site=www.php.net"
This is the link in the PHP downloads page, but the shell gets confused by
the & character.
What should I do?
Best R
lynx -source
http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gz&source_site=www.php.net
> php-4.0.4pl1.tar.gz will work - also try wget
--Joe
On Fri, Feb 23, 2001 at 03:28:14PM -0600, Jorge Alvarez wrote:
> Hi there,
>
> I want to download PHP from my Linux server, but I can
1 - 100 of 209 matches
Mail list logo