Try this:
header(Connection: close);
Or:
Register_ShutDown_Function();
Regards,
[ niveus ]
Adam Whitehead [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi All-
I have a script in which I use ignore_user_abort() to perform some
extensive processing
We are using the LAMP configuration.
Frequently we get a high server load.
I am sure the server load is caused by a php script using mysql. We've a
lot of scripts running out there, so i can't locate the 'bad' script.
Is there any product that can track the cpu/mem usage of php scripts or
helps
For a process that takes a long time, I usually break the user interaction
the processing apart.
For instance, when the user makes a submission from the browser interface,
the PHP takes the submitted data and stores it someplace on the file
system or in a database. This being a quick
Just use one argument or the other ... not both.
ibase_commit($myTrans);
OR
ibase_commit($myDB);
g.luck,
~Chris /\
\ / September 11, 2001
X We Are All
For future reference, the [] in the parameter are means either or (it list
the options you have)
Yoel Benitez Fonseca [EMAIL PROTECTED] wrote in message
00a601c1585d$7fb33ba0$[EMAIL PROTECTED]">news:00a601c1585d$7fb33ba0$[EMAIL PROTECTED]...
Hi!
Someone can explain me (or give me an
No php4-support in this msi? Bah!
Or did I miss something?
Apache tells me that it can´t load the module php4apache.dll - no such
module.
Perhaps my LoadModule entry for php4 is wrong, though it´s the same I used
for 1.3.20 (LoadModule php4_module C:\php\sapi\php4apache.dll)?
Or perhaps I need
would intresst me too, cose i want to biuld my own portal
[EMAIL PROTECTED]; [EMAIL PROTECTED] schrieb im Newsbeitrag
20011018124135.17694.1001.qmail@server0021">news:20011018124135.17694.1001.qmail@server0021...
Hi !
I am looking for an efficient web portal, sutable for medium/big
-- Forwarded Message --
Subject: [PHP-DEV] 4.1.0RC1 out
Date: Fri, 19 Oct 2001 09:27:58 +0200
From: Stig S. Bakken [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Hi,
4.1.0RC1 is out, download it from
http://www.php.net/~ssb/php-4.1.0RC1.tar.gz
- Stig
--
PHP
-- Forwarded Message --
Subject: Re: [PHP-DEV] 4.1.0RC1 out
Date: Fri, 19 Oct 2001 09:51:22 +0200 (CEST)
From: Derick Rethans [EMAIL PROTECTED]
To: Stig S. Bakken [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Hello,
RC1 doesn't compile if --with-zzip is used,
Andy, please stop forwarding these. If people on php-general were
interested in the QA process they would be on the QA list, or if they were
interested in -dev issues they would be on that list.
-Rasmus
On Fri, 19 Oct 2001, Andrey Hristov wrote:
-- Forwarded Message --
How one can pass throught sessions arrays with no use of mysql or files ?
help me to advance pls.
--
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
Hi there,
I encounter the following problem when trying to build a LAMP Box with
Mysql-4.0.0+PHP-4.0.5+Apache-1.3.22.
1. Mysql Installed ok
2. when trying to make php with
./configure --with-apache=/home/user/apache_1.3.22 --with-mysql=/usr/local/
db/mysql
The best way (to get around cookies) is to pass it on the URL
a href=phpFile.php??=SID?
or
a href=phpFile.php?? echo SID; ?
Notice no $ before SID
Kal
Arsenkirillov [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
How one can pass throught sessions arrays
Hello php-general,
I need a function which is opposite to parse_str or parse_url, i.e.
it makes string containing URL with passed variablenames and
variablevalues. Did someone see such function? I can't find it in th
manual. Thank's.
--
Best regards,
Olexandr Vynnychenko
Dear list,
I test the following script on local web server and it runs fine. But when
I upload the script to the real web server I get the following
error/message, but the script works fine. Do you know why?
Here is the error/message I get:
Undefined variable : id in test.php on line 6
And
it's a warning, not an error...
you should check if it is set before you use it :
If(IsSet($id)) {
Do something...
}
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Tshering Norbu [mailto:[EMAIL
This should work ...
if ( IsSet($id) ) {
.
sql statement
}else{
.
}
- Original Message -
From: Tshering Norbu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 19, 2001 12:22 PM
Subject: [PHP] Undefined variable
Dear list,
I test the following
The obvious hack would be to simply make the link:
http://your.domain.com/script.php/filename_you_want.pdf
-Rasmus
On Fri, 19 Oct 2001, George Pitcher wrote:
Hi all,
I am delivering my PDF files from a non-internet directory. The file gets
delivered but the filename is always changed to
On Friday 19 October 2001 11:52, George Pitcher wrote:
Hi all,
I am delivering my PDF files from a non-internet directory. The
file gets delivered but the filename is always changed to the name
of the php script.
Can anyone tell me how to get the file delivered so that the name
stays as
Anyone knows how I can use pfpro_init();
It is giving me an error right away saying:
Fatal error: Call to undefined function: pfpro_init() in PATH_TO_FILE.php on
line 3
Where can I find a support for these functions?
Thanks,
--
PHP General Mailing List (http://www.php.net/)
To
Sorry for the stupid question...
I want to do
$this=$foo/$bar; (All are integers.)
where this is always rounded up.
I tried the obvious
$this = ceil($foo/$bar) but I just always get 0.
cheers,
- seb
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
Did you check out?: http://www.php.net/manual/en/ref.pfpro.php
These functions are only available if PHP has been compiled with the
--with-pfpro[=DIR] option. You will require the appropriate SDK for your
platform, which may be downloaded from within the manager interface once you
have
I don't see why that doesnt work... I would echo your values first to make
sure the values you want in $foo and $bar are the right ones... It looks to
me that your expression is correct...
Rick
Sorry for the stupid question...
I want to do
$this=$foo/$bar; (All are integers.)
Please help me, how to export mysql table to the xls table ?
Thanks for all
Roman
--
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
Cheers Rich!
I had $numrows instead of $num_rows - Doh!
I said too instead of two - double Doh!
- seb
-Original Message-
From: Richard Baskett [mailto:[EMAIL PROTECTED]]
Sent: 19 October 2001 11:30
To: Seb Frost; PHP General
Subject: Re: [PHP] Dividing too integers...
I don't see
Rasmus,
Thanks for the suggestion but it didn't change anything.
George
- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: George Pitcher [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, October 19, 2001 10:54 AM
Subject: Re: [PHP] Delivering NAMED pdf files
The
Arpi,
Thanks for the suggestion but it didn't change anything.
George
- Original Message -
From: Arpad Tamas [EMAIL PROTECTED]
To: George Pitcher [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, October 19, 2001 11:13 AM
Subject: Re: [PHP] Delivering NAMED pdf files
On Friday 19
Hi George
I had the same problem a while ago.
The only solution i found was to change the link to :
www.blabla.com/pdffile/test.pdf
test.pdf does not exist, but
in /pdffile/ there is a .htaccess which redirects the 404 to the php
script that reads/generates the pdfs. And for my purpose checks
Hi,
I have 2 fields on a table as shown below
1. period int- we enter no of days as number/integer
2. lastdatedate - here i'll have to add period to todays(current) date and store
in the table
i used dateadd it was working on mysql prompt, but when i used it with PHP, it doesnt
Thanks for the suggestion but it didn't change anything.
It won't. Put them in a web accessible directory and don't use custom header calls
because they do not work reliably.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Sebastian,
Just tried it - it dosn't work for me.
George
- Original Message -
From: Sebastian [EMAIL PROTECTED]
To: 'George Pitcher' [EMAIL PROTECTED]; 'Php-General
[EMAIL PROTECTED]
Sent: Friday, October 19, 2001 12:19 PM
Subject: AW: [PHP] Delivering NAMED pdf files
Hi George
I had
Thanks for the [non] suggestion.
I will not host these in a web-accessable directory. They are copyright
materials.
I've done this type of hosting previously using Frontier on a Mac and it
worked fine.
I thought that php was better than Frontier, though.
George
- Original Message -
can you paste the full text of the code as you have it? I don't see anywhere
where you define the name of the file.
James Cox
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
Politicalia admin and editor
e: [EMAIL PROTECTED] :: w: http://www.politicalia.com/
PhpMyAdmin (on http://www.phpwizard.net") has the capability to export mysql
table ot CSV, then import the CSV or maybe this will help you too(on small
tables, otherwise the HTML code is big)
$dump='';
$separator=',';
$the_query="select * from $table;";
$res=mysql_query($the_query);
if ($res){
James,
I can. The text in square brackets is a pdf filename referenced in full from
a Filemaker database using Lasso.
Form action=fileaccess.php method=post
input type=hidden name=fp value=[field:'Doc_filename']
input type=Submit value=Download PDF file
/form
And the php page which is
Hi,
I have been experimenting with PHP4 using sessions and one of my books
says that session ID's are created in the /tmp directory so I take a look
in there and I find are about 10 sessions that have not been deleted dated
earliest to about being week old
ie.
you can use it like that:
see the mysql's date_add() usage:
SELECT DATE_ADD(NOW(), INTERVAL 5 DAY)
or 5 YEAR or n MONTH
Krushna Kumar R [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
I have 2 fields on a table as shown below
1. period int-
And the php page which is fileaccess.php:
?php
$fp1 = D:\\Pdf\\ . $fp;
$len = filesize($fp1);
header(Content-Type: application/pdf);
header(Content-Disposition: inline; filename=$fp1);
header(Content-Length: $len);
readfile($fp1);
?
Have you CHECKED the value of $fp?
--
PHP
Hey all,
When running PHP scripts from the command line, I get this error:
Content type: text/html
PHP Fatal error: Unable to start session mm module in Unknown on line 0
The script doesn't run, or so it seems. I also get this error when I run
generic stuff such as 'php4 --help', or just
On Wednesday 17 October 2001 23:25, Uchendu Nwachukwu wrote:
I am trying to write a script to convert a MySQL timestamp
(MMDDhhmmss) to a unix timestamp.
SELECT UNIX_TIMESTAMP(timefield) AS MyTime FROM xy
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
These are the
Yes,
If I download the file as it is named, it is the file I expected, only not
named the way I wanted.
George
MrBaseball34 [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
And the php page which is fileaccess.php:
?php
$fp1 = D:\\Pdf\\ . $fp;
$len =
Hi
I´m interested in launching an HTML page directly from another page. The
former has php code and I´d also like to pass some arguments to it.
I´m using the getURL code to do this job but I had some problems:
After launched, the page looks quite weird. When I look at the source code,
the
I'm running PHP v4.0.7RC3 (from package php4-cgi) on Linux 2.4.10-ac11.
Distribution debian unstable.
I would recommend 4.0.6 compiled from source. Thats what I use and its very
stable.
Regards
jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP
For full story, please visit
http://sourceforge.net/forum/forum.php?forum_id=117841
It looks like a previous post didn't go through, so if this is a duplicate,
please forgive me.
-Dan
[EMAIL PROTECTED]
http://sourceforge.net/projects/phppgadmin
--
PHP General Mailing List
I am using PHP @ Red Hat. And i have got one big problem:
I am writing interface for pop3 accounts. Everything is ok, when mail
are normal, it means their has got attachments, or not. But when i am
reading mail which has been written in html, and it has got also
attachment, i got for example:
Thanks, That was just what I needed, ie:
SELECT DATE_FORMAT(DATE_SUB(insert_date, INTERVAL 2 HOUR), '%b %e (%r)')
Johan
On 17-Oct-2001 Alfredeen Johan K wrote:
I store a timestamp in a database of when a record was
inserted. When I pull
it out, I format it like this SELECT
hi everybody
i'm making an automatic booking system in php. for the hotelier it's also
possible to calculte offers and send them to his gasts. we send the email
with @mail and although we put in a right-formated (with @ in it etc.) but
wrong email adress the function results true.
so we tried to
Summary: when I write scripts using sessions and run them on my web host the
session is created, a session file is opened, but the session file is 0
bytes and therefore the session variables are not being passed. When the
tech support guys at the host run the same script they work, even when
Hello,
How can I search for a certain word in a string?
Thanks
Brandon
--
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]
How can I search for a certain word in a string?
strpos() ereg() preg() and similar functions.
Chris
By default you'll never know if the email you sent gets through.
You could set up a bounced email tracking system. There is an Errors-To
header in the email messages that you can have send to a specially set up
account on your system. Then have a cron job process that looking for
bounced
Just trying to convert an array to string before writing the whole thing
back out to a file. (Trying to do a simple database-less database, using
text files).
$fcontents = file($name..db); // THE ENTIRE TABLE
$fcontents[$update] = $updatedstring; // THE ROW TO BE UPDATED
René Fournier [EMAIL PROTECTED] wrote:
Just trying to convert an array to string before writing the whole thing
back out to a file. (Trying to do a simple database-less database, using
text files).
$fcontents = file($name..db); // THE ENTIRE TABLE
$fcontents[$update] = $updatedstring; //
I'm running a query that pulls up automotive makes for a given year and
orders them alphabetically. One of the options is no make specified which
I would like to always move to the end of the mysql_fetch_array. So my while
loop would pull up
AMC
Ford
Volkswagon
No make specified
Instead of
Hi!
Job Miller wrote in message
[EMAIL PROTECTED]...
yes, thank you though.
not in MyISAM tables, which is what mine are, and
again according the manual, you slow things down
significantly for transaction support.
Transactional InnoDB tables are actually faster in many
simple benchmarks than
George,
your best bet is to have a table in your database which looks up the name of
the file, based on a more friendly name.
James
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
Politicalia admin and editor
e: [EMAIL PROTECTED] :: w: http://www.politicalia.com/
Don't bother with doing it in PHP, do it in MySQL with a functional
ordering:
Select Make from your_db order by if(left(Make,7)='no make','',Make)
-Original Message-
From: Tom Beidler [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 11:53 AM
To: php list
Subject: [PHP]
Splice the array at the point in your result array where No make
specified is, for one element, then append it back onto the result array.
Here ...
$noMake = array_splice( $resultArray, array_search( No make specified,
$resultArray ), 1); // This should be one line, sorry :)
$newResults =
try this..
$temp = ($foo%$bar);
$this=$temp/$bar;
- Original Message -
From: Seb Frost [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 19, 2001 6:20 AM
Subject: [PHP] Dividing too integers...
Sorry for the stupid question...
I want to do
$this=$foo/$bar; (All
I'm wondering if there are any articles or other material describing how to
design PHP web applications in a highly object oriented fashion?
Specifically, object relational mapping, using classes for nearly everything
(as appropriate), etc. The articles don't have to be PHP specific, but
PHP's
We just upgraded to php4 but many of our html files end with the extension
.php3 - will this be a problem?
--
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:
No, just make sure you configure the .php3 extension as you would .php,
.phtml, etc. You could make it .MyWierdExtension as long as Apache
knows that files of that type are PHP and need to be processed.
Cheers
Casey Swenson
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
try this
$fupdatecontents='';
while ( list($key,$value) = each($fcontents) ) {
$fupdatecontents .=$value;
}
$fcontents = $fupdatecontents;
or just write $fupdatecontents into the file.
You may need to add a \n after each line ( which I'm not sure);. If you need
you can change the
Trying to use the solution without positive results
First need to clarify, I'm actually trying to order the model. Here's my
original query;
$make_query = SELECT make.make, model.model, application.make_id,
application.model_id FROM application INNER JOIN make ON make.id =
application.make_id
php.net/strstr
if ( strstr($string, $search) )
echo TRUE;
else
echo FALSE;
--
Chris Lee
[EMAIL PROTECTED]
Brandon [EMAIL PROTECTED] wrote in message
001e01c158b3$91579170$5a52a040@wi">news:001e01c158b3$91579170$5a52a040@wi...
Hello,
How can I search for a certain word in a
While trying to use dir() on a certain directory, I get the error
Warning: OpenDir: Invalid argument (errno 22) in
c:\inetpub\wwwroot\search\update.php on line 71.
I'm aware this is most likely a permissions error, but I've already
given SYSTEM, SELF, and SERVICE full control over the
On Fri, 19 Oct 2001 12:17:48 -0700, Tom Beidler wrote:
Trying to use the solution without positive results
First need to clarify, I'm actually trying to order the model.
Here's my
original query;
$make_query = SELECT make.make, model.model, application.make_id,
application.model_id FROM
in php.ini
session.gc_probability= 1 ; percentual probability that the
; 'garbage collection' process is
started
; on every session initialization
session.gc_maxlifetime= 604800 ; after this number of seconds,
Hello, people.
I'm trying to configure Apache+PHP on a Linux Red Hat machine(Pentium III,
IP 130.94.20.132) in order to leave the machine I'm currently using (Pentium
II, www.etapa.net)
To evaluate the difference in performance, I ran the same PHP script in both
machines. Much to my
Well the code actually traverses a group of directories and errors on
that directory (the only one I've changed the permissions to) so I'm
pretty sure it's not the code.
Here's a snippet of the traversing code..
---code start---
function listDirs($startDir) {
echo Checking $startDir...br;
George,
Rasmus' suggestion is correct, but he was terse as usual :) and you
might not have understood what he was saying.
My solution is to present a list of the filenames available as LINKS
(to non-existent files). Then the script does what you've already
got. The problem is that some
I recently tried to recompile PHP-4.0.6 and my pdflib extension stopped
working. I was building it in directly but the module wasn't being
listed on phpinfo() and of course the pdf functions didn't work. So
after many attempts I decided to try another approach and build it as a
shared module.
PHP Newbie, so please don't flame me bg!
I am converting an organizer example from an ASP book to PHP
and need some help.
Need some help with the following code :
/*
intMonth and intYear are variables passed into a function
datCurrent, intCurrentMonthDays and intWorkDays are local
system test
--
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]
Where you find it? Why not show up the link?
Actually I have been always thinking of a php studio. I think at least
following
things could be integrated into such a studio: a php IDE bundled with a web
authority tool, and port to SQL server and web server.
Alex
- Original Message -
In article [EMAIL PROTECTED], [EMAIL PROTECTED]
says...
Goto yahoo and do a search for ASP2PHP - it is a script that converts
asp pages to php. Never used it so I can't say how good it works, but
I'm guessing it will do all the basic stuff really well, but db stuff
might get a bit messy. Worth
Hello list,
Is it possible to delete the data from an Apache's HTTP authentification
directly from a PHP script?. I know that the username/password pair is
stored in two variables which are sent by the client to the server,
right?. is it possible to alter them from PHP¿?.
Thanks a lot,
Rodolfo.
You should be able to do everything with PHP's date functions:
http://www.php.net/manual/en/ref.datetime.php
Pay particular attention to the mktime, date, and getdate functions. The
script below might be helpful to you.
?
function begin_month($timestamp)
{
$a = getdate($timestamp);
When I try to start a session or authenticate with HTTP headers, I get the
following error:
Warning: Cannot send session cache limiter - headers already sent (output
started at /usr/local/etc/httpd/vhosts/gar/english/login/login_2.php:1) in
Hi
Be sure that you are placing the session_start() before the (html)head
section of your script, best to put it right at the top of the page, also
make sure there is no white space before opening php tags.
HTH
Paul
- Original Message -
From: Zavier Sheran [EMAIL PROTECTED]
To: [EMAIL
Hello Alex,
www.visualphpstudio.com
/Merle
Friday, October 19, 2001, 6:19:30 PM, you wrote:
AS Where you find it? Why not show up the link?
AS Actually I have been always thinking of a php studio. I think at least
AS following
AS things could be integrated into such a studio: a php IDE
$var = str_replace(\n, br, $var);
sometimes \r\n , but Im not sure... :)
c
[EMAIL PROTECTED] (Manisha) wrote in news:[EMAIL PROTECTED]:
I am having the text fetched from mySQL database. I converted newline to
br with nl2br function.
I need to detect br and need to put 'dot' in front of
is it possibe to include defined constant in heredoc block?
for example:
define(_ACONST_,CONSTVAL);
$str = EOL
value is _ACONST_
EOL;
echo $str;
*Normal* variables usage in {} doesn't woks :((
=-=-=--=
P.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
This may be of some use to you?
http://www.devshed.com/Server_Side/PHP/ExtensibleMenuClass/page1.html
Regards,
[ lucas ]
Chris Bailey [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm wondering if there are any articles or other material describing how
to
I guess you have to set EVERYONE.
(Don't now for sure)
Fredrik A. Takle
Justin King [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
While trying to use dir() on a certain directory, I get the error
Warning: OpenDir: Invalid argument (errno 22) in
Hi, I want to validate that a variable only contains numbers. I came up with
this code
$variable = 154545; - must give me true.
$variable = $%54545; - must give me false
$variable = $%54545; - must give me false
$variable = 4545;#; - must give me false
$variable = 004545; - must
Hi guys,
I would like to start the new development of my site in XML.
Can anyone with experience tell me the real difference in speed between the
Expat and DOM parser?
Also, is it really risky to develop in DOM, considering the module is
experimental, and in theory it could change ?
Any
Hi All,
I'm stumped. I've got the following code:
?php
if(isSet($domain))
{
for ( $counter=0; $counter = strlen($domain); $counter++ )
{
$nChar = ord(strtolower(substr($domain, $counter, 1)));
if (($nChar 47 And $nChar 58) or ($nChar 96 And $nChar 123) or
$nChar = 45);
{
print
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Richard) wrote:
Hi, I want to validate that a variable only contains numbers. I came up with
this code
$variable = 154545; - must give me true.
$variable = $%54545; - must give me false
$variable = $%54545; - must give me false
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Richard) wrote:
Hi, I want to validate that a variable only contains numbers. I
came up with
this code
I came up with this code:
is_numeric($var)
mark C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Could it be the semi colon at the end of the 'if' line, at '... $nChar =
45); { ...' ? Looks like the if statement ends there, the ' { print
OK.; } ' is a block on it's own and the 'else' is now out of context.
-Original Message-
From: Brad Melendy [mailto:[EMAIL PROTECTED]]
Sent:
I've found the best way is to set up a MyODBC link. You can download
MyODBC from http://mysql.com/downloads/api-myodbc.html
It's a bit complicated, but you get excellent results!
- Nikhil
Roman wrote:
Please help me, how to export mysql table to the xls table ?
Thanks for all
arrh! I don't think I can say much else. Thanks so
much for pointing that out David. ;-)
.Brad
David Pearson [EMAIL PROTECTED] wrote in message
003101c1591a$e00ec290$320110ac@david">news:003101c1591a$e00ec290$320110ac@david...
Could it be the semi colon at the end
Can you imagine the trouble you'd get into if you could?
At 09:47 PM 10/19/2001, Chip Landwehr wrote:
Is there any way to do this in PHP4?
Sliante,
Richard S. Crawford
http://www.mossroot.com
mailto:[EMAIL PROTECTED]
AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford
It is only with the heart
lol!
True, so true...
Richard S. Crawford [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Can you imagine the trouble you'd get into if you could?
At 09:47 PM 10/19/2001, Chip Landwehr wrote:
Is there any way to do this in PHP4?
Sliante,
Richard S. Crawford
Is there a PHP IRC channel?
--
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]
Jeroen Geusebroek wrote:
Hi there,
Does the current stable PHP (4.06) support the use of the newly released
Mysql 4?
No. Not even with CVS version AFAIK.
--
Yasuo Ohgaki
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Khalid Hazmi wrote:
How I can download the current Annotated PHP Manual???
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
There is no such thing... AFAIK.
--
Yasuo Ohgaki
--
PHP General
If your sendmail is set up correctly, you should be able to send
mail. Check your sendmail. Look for sendmail Manul, FAQ, etc,
since it's not PHP problem.
--
Yasuo Ohgaki
Simos Varelakis wrote:
Hi to everyone
i have problem with php4 mail() function.
Os:mandrake 7.2 Mailprog:Sendmail
I guess you are using php.ini-optimized, right?
Take a look at
http://www.php.net/manual/en/language.variables.external.php
I suggest to read PHP Manual :)
--
Yasuo Ohgaki
Patrick Quaedackers wrote:
Hello all!
I installed PHP 4.0.6 om my server (Winnt server, Apache), and I started testing
1 - 100 of 110 matches
Mail list logo