On Wed, 1 May 2002, Kelly Meeks wrote:
> Is is possible to use php to admin a password file used by a .htaccess file?
You should check the File_Passwd class from PEAR.
http://chora.php.net/cvs.php/php4/pear/File
--
Mika Tuupola http://www.appelsiini.net/~t
Hey there,
why do these work:
$vars = "vars";
$ar[0] = "arrays";
$hash['vars'] = "hashes";
str = "I can use $vars in strings";
str = "I can use $ar[0] in string";
while this one doesn't:
str = "I can NOT use $hash['vars'] in strings";
Kind regards
--
PHP General Mailing List (http://www.php.
I don't know the answer to why, but you can do this:
$str = "I can use ".$hash['vars']." in strings";
:)
Justin French
Creative Director
http://Indent.com.au
on 02/05/02 6:42 PM, Ferry van Steen ([EMAIL PROTECTED]) wrote:
> Hey there,
>
> why do th
Hi,
I think this will accomplish what your trying to achieve.
$str = "I can use $hash[vars] in strings";
However, this will not work for multi dimensional arrays... eg:
$hash['var']['var2'] = "Elephant";
$str = "I can NOT use $hash[var][var2] in strings";
will output "I can NOT use Array[v
Ferry van Steen wrote:
> while this one doesn't:
> str = "I can NOT use $hash['vars'] in strings";
Try this one:
str = "I can NOT use ".$hash['vars']." in strings";
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Ferry van Steen [mailto:[EMAIL PROTECTED]]
> Sent: 02 May 2002 09:42
>
> why do these work:
> $vars = "vars";
> $ar[0] = "arrays";
> $hash['vars'] = "hashes";
> str = "I can use $vars in strings";
> str = "I can use $ar[0] in string";
>
> while this one doesn
Hi,
[a little background, feel free to skim]
The company I have been working for have been considering moving over to a
CVS based version control system for a while and I have been elected to
investiate the fesability.
We have a network of PHP files linked together via include / require /
requi
I have a script that outputs this:
0.023884057998657
What's the command to make it shrink down to this:
0.023
I thought it was eregi() something, but I forgot. sorry
Cheers
(I've spent the last 10 minutes reading the manual, can't find it!!!)
--
PHP General Mailing List (http://www.ph
[EMAIL PROTECTED] (Liam Mackenzie) wrote:
> I have a script that outputs this:
> 0.023884057998657
>
> What's the command to make it shrink down to this:
> 0.023
round()
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the replies peoples :-)
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]]
Sent: donderdag 2 mei 2002 11:13
To: 'Ferry van Steen'; [EMAIL PROTECTED]
Subject: RE: [PHP] Hashes in strings
> -Original Message-
> From: Ferry van Steen [mailto:[EMAIL PRO
At 10:08 AM +0100 2/5/02, Dan Hardiker wrote:
>As these files need to be executed via a web browser, I can only think I
>would have to check out *all* the files, and then point my webserver at my
>local directory. Then I only check back in the ones I change, releasing the
>others.
Yes, you need
Just a general question of the best way to do it !
I've got a job search site with mysql at the back of it !
You choose on the first page - type of job, where and other bits,
go to the next page where query is done and then lists the jobs available!
Whats the best way of keeping this page tempora
> Whats the best way of keeping this page temporarily in existence ??
>
> I don't want the query to run every time when they have changed no
> information and I don't want the Warning Page has expired please re-submit
> details when the reload the page !
>
> At the moment I'm thinking I can create
> I have a script that outputs this:
> 0.023884057998657
>
> What's the command to make it shrink down to this:
> 0.023
>
>
> I thought it was eregi() something, but I forgot. sorry
It depends on what you need.
If you want to round the number off to 3 decimal points use the round()
function.
>> I have a script that outputs this:
>> 0.023884057998657
>>
>> What's the command to make it shrink down to this:
>> 0.023
>>
>> I thought it was eregi() something, but I forgot. sorry
>
> It depends on what you need.
>
> If you want to round the number off to 3 decimal points use the round()
>
There are quite a few ways of doing this.
1. Get MySQL to do the caching for you, using temporary tables.
2. Get something like the Zend Cache to handle it transparently
3. Use a global session (which everyone shares, or just specific groups of
people) which you can embed data in
4. Use a ram
hi all,
i m using php4.0.1
can anyone pls help me out, in doing email-attachment.
the code written for it, working and sending the email but the attachment is
not getting done.
Do we have to upload the file first, which is to be attached?
swati.
--
PHP General Mailing List (http://www.php.net/)
Hello everybody,
I would like to know an easy way to check is a daemon is running.
What do you think is the best? Try to read a .pid file from the right
directory? Use sockets function to try to connect to the listening port of
the daemon? Grep the output of "ps -e" ?
Thanks for your help !
Gi
Hi all,
i want ask something : How to upload files from local to server via php
?
and i want use it with browser.
Please gimme the code.
Thank You
--
Kalpin Erlangga Silaen
Kalpin is [EMAIL PROTECTED]
Kalpin is not a irc warrior
http://www.geocities.com/kalpinus
Read
What type of daemon?
eg: To see if my pop3 daemon is running I use sockstat... "sockstat | grep
110" and process the output.
eg: To see if my mail redirect daemon is running I
check /var/run/red_mail.pid
All depends on what you want to do as to how you do it. You could even do
it in a multitude
You might be new to this group, so I'm going to try not to flame you.
1. this group is not for "gimmie the code" -- commonly it's for focused
questions and issues.
2. this topic has been discussed on this list 1000's of times... a quick
search of the archives may in fact reveal a large chunk of
Thanks for the input, for added information - we have a multitude of
servers, 1 software development one plus several live servers.
The aim is to have the live servers cvsup the latest "STABLE" branch from
the development / deployment server... the issue of concurrent working is
strickly in the d
I would like to monitor 3 different daemon : postfix, amavisd (a virus
scanner acting as a content filter for postfix) and spamd (SpamAssassin, a
spam filtering daemon invoked by procmail acting as an SMTP server).
Can we be sure that a daemon is running if the .pid file exist?
Gilles.
-Or
No we cant. As the process itself creates the pid then there is no
gaurentee that the process is live (eg: it could have been kill -9ed, or
the box hard-booted)... however if there is no pid file (and the process
usually manages one) then you can be sure that the process is *not*
running. As such
You could use output buffering to write a static page of the results.
You basically turn on output buffering at the beginning of the script,
process as normal, and at the end, grab everything in the buffer, write it
to disk, then use header() to direct the person to that page.
Make a cron script
> Do we have to upload the file first, which is to be attached?
No. When you press the submit button, just speak slowly and clearly where
the file is and PHP will understand you. What kind of video card do you
have?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubs
> Hi all,
> i want ask something : How to upload files from local to server via php
> ?
> and i want use it with browser.
> Please gimme the code.
Please give me a break. Read the manual, there is a whole chapter telling
you how to do this!
http://www.php.net/manual/en
Assuming you understand e
[snip]
I am a webmaster for an agency.
I looked at many content management pieces for
Linux+Apache+PHP+MySQL like ezPublish and etc. but
they look overly complex for my needs.
I just need to have something that would allow me to
insert picture, text, and list of links into a
template. I don't want
Hi there!
I guess I got a very easy question for the pros here...
I've been searching the documentaion of mySQL, but didn't
find the answer (even though I'm sure it's out there
somewhere :))...
Is a primary key in mySQL automatically indexed? And is a
unique field indexed automatically ?(I don'
> I guess I got a very easy question for the pros here...
> I've been searching the documentaion of mySQL, but didn't
> find the answer (even though I'm sure it's out there
> somewhere :))...
>
> Is a primary key in mySQL automatically indexed? And is a
> unique field indexed automatically ?(I don
Christoph,
Indexes are built on key fields, so yes. When a field is identified as a
key it is indexed.
To answer your second question, it is the index which maintains the
uniqueness of a field.
A book is a really good analogy. If you wanted to look up the references to
"string", you can do i
To clarify, an indexed field is *not* inheriently unique. You can have an
indexed field which is not unique, and a unique field which is not indexed
(hence the options being available).
A primary key is both indexed and unique (with the slight adaption of
compound keys)... but this is majorly off
Hi,
Sorry to bud in on this, but I was thinking about writing my next php app
oop style to learn. Are you saying that It is going to be slower or
poorer performance?
Thanks alot
-Steve the newbie.
-Original Message-
From: Julio Nobrega Trabalhando [mailto:[EMAIL PROTECTED]]
Sent: Wedn
OK thanks Miguel.
Miguel Cruz wrote:
>
> *
> This Message Was Virus Checked With : SAVI 3.54 Feb 2002
> Last Updated 24th April 2002
> *
>
> On Wed, 1
Hi,
is it possible to get the HTML-Pagetitle with PHP?
Thanks for help.
Ivo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have been told to point your line for php in httpd.conf to
apache2filter.dll in the experimental folder (PHP 4.2.0) but haven't been
able to get that to work.
-Kirk
"Philip Newman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> How do I Install PHP on Apache 2, on win32?
>
>
Not really sure but str has to be $str, and I usually do print lines like
this
$str = "I can NOT use ".$hash['vars']." in strings";
the . will concat the strings together.
Hope this helps,
-Steve
-Original Message-
From: Ferry van Steen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May
U, not sure what you're trying to achieve.
PHP is parsed on the server before it is sent to the browser. So, since
you're the one writing the PHP file, you know what the page title is
already, don't you
Unless you're talking about parsing an existing HTML page, and extracting
the title.
G' morning!
Can someone tell me where to find the various options for the Header
function as it relates to M$ Excel? Yesterday, thanks to this list, we found
a way to open a worksheet in the browser and display data retrieved from a
database. The worksheet opens with no gridlines and displaying z
What I am trying to do is create an error message within in a string that
whenever each function fails it echos this particular string out with it's
pertinent information.
i.e.
Does this sounds feasible or is there another way to generate a dynamic
error message without giving the user to much
"Steve Bradwell" <[EMAIL PROTECTED]> wrote in message
57A1618E7109D311A97D0008C7EBB3A1CBB2EA@KITCHENER">news:57A1618E7109D311A97D0008C7EBB3A1CBB2EA@KITCHENER...
> Hi,
>
> Sorry to bud in on this, but I was thinking about writing my next php app
> oop style to learn. Are you saying that It is goin
"Tom Beidler" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> My mistake. The correct code that works is;
>
> $display_time = date("H:i");
>
> // round time to nearest 15 minute interval
> $display_timex = explode (":",$display_time) ;
> if (($display_timex[1]
Hi,
This is driving me nuts - all help appreciated!
The problem is that I can never get the html stuff output *after* having
included "download.inc" because of the "exit;" call -- which I have to have
else the html gets output and downloaded as well (and I don't understand why
fpassthru doesn'
Hi there.
Could someone please let me know what is the best way to send multiple mails
to different users collected from a checkbox on the previous page.
There is a page that displays all the available recipients. A users then
selects which recipients he wants to receive the mail. Then the nex
It doesn't look like it works.
move back to 1.3.24
there are no probs there
"Philip Newman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> How do I Install PHP on Apache 2, on win32?
>
> I would like to install the ISAPI module?
>
> Thanks
>
>
>
--
PHP General Mailing Lis
Hi,
> The problem is that I can never get the html stuff output *after*
> having included "download.inc" because of the "exit;" call -- which I
> have to have else the html gets output and downloaded as well (and I
> don't understand why fpassthru doesn't stop at EOF on $fp).
[...]
> downloadt
Hi,
> I am not sure how I should me sending the checkbox name and variables
> and then how to actually insert the email addresses using the mail
> command. Is there a better way than using a checkbox?
If you have a HTML form with a list of email addresses to send to you might
want the code to l
Checkboxes are an easy way to do it.
The value of a checkbox will only be sent if it's checked. If it's not
checked, then that variable isn't even created.
So the easiest way to do it is to use the email address as the value, and
name the checkboxes all the same name with an [] to make it an arr
Sine PHP has so many string parsing functions, you can grab the text
betn.
...
e.g. HTML code:
..
Read the whole file by line into an array -
http://www.php.net/manual/en/function.file.php
search for line containing
for($lines as $onelineatatime) {
strpos($onelineatatime, "")
remov
Slower, yes. But still faster than most of other web scripting languages,
at least from some benchmarks I've seen.
But still, who wants to code with pointers and memory management and etc
when PHP do those kinds of difficult tasks, and the "normal" ones, while
taking less time to code? If you
Hi,
I would suggest not to use $hash[var1][var2] instead of
$hash['var1']['var2'] because afaik php will think u mean two constants (
var1 and var2 ).
Just if it doesnt find these constants it will use them as
$hash['var1']['var2'].
Markus Mirsberger
"Dan Hardiker" <[EMAIL PROTECTED]> schrieb
On Thursday 02 May 2002 3:08 pm, Dan Hardiker wrote:
> Replace "exit;" with "fclose( $fp );".
Nope - tried this way back when - if you rtfm you will see that the file is
closed when fpassthru() is done reading it. If you use fclose what you get
is this:
PHP Warning: 27 is not a valid File-Hand
Hi,
> I would suggest not to use $hash[var1][var2] instead of
> $hash['var1']['var2'] because afaik php will think u mean two constants
> ( var1 and var2 ).
> Just if it doesnt find these constants it will use them as
> $hash['var1']['var2'].
Thats correct, php will think they are constants and
php-general Digest 2 May 2002 15:50:42 - Issue 1321
Topics (messages 95640 through 95703):
Re: getting a function name of the calling function
95640 by: CC Zona
95642 by: Philip Olson
95690 by: Joshua E Minnie
Re: file() and macintosh line break
95641 by: ea
When I run:
$number = 0.023884057998657;
echo round($number, 3);
echo number_format($number, 3);
Both function output "0.024", both functions round the last digit. This is
contrary to the example in the manual which shows this:
$number = 1234.5678;
// english notation without thousands sepera
On Thursday 02 May 2002 4:26 pm, Donna Robinson wrote:
> > What you are trying to achieve can be done with refresh headers (either
> > html-meta or http).
> Huh? pls explain.
Forget it - I figured it out. If I send this along with the rest of the
headers everything is just peachy:
$url = $PHP_S
Basically you are not going to get the value type of the snmp, ie OID,
timeticks, integers, etc..
Ray Hunter
"Razvan Cosma" <[EMAIL PROTECTED]> wrote in message
Pine.LNX.4.44.0205011203110.32753-10@mach2">news:Pine.LNX.4.44.0205011203110.32753-10@mach2...
> First of all, gretings to ev
Hi guys,
>From PhP, I want to call JavaScript and pass argument to it
For some reason when I do the following:
onClick=\"return lastCheck($maxa);\
and printout maxa in JavaScript, it says maxa is undefined
maxa is defined in PhP form section. User enters value into a form which
name i
Prior to submittal the PHP variable $maxa has no value. PHP is a server
side language, not a client side language.
If you want to use the value of a form in javascript use the javascript
objects to access the value of the field.
Jason
-Original Message-
From: ZILBER,LEONID (HP-NewJerse
Since round() is a maths routine, it will return the most approx. value of
your 0.02388.. in 3 decimal digits.
If you just want to return the first 3 digits after the decimal use the
string routines suggested by Rober Zwink or :
$number = $number*1000; // 23.884
$number = floor($number); //
http://www.php.net/manual/en/ref.printer.php
If you are running php on a win32 server you can use the above function
to access and use a printer spool. Note that this allows the web server
to print , not the web client. Depending on your need that may be OK for
you.
Vinny
Simonk wrote:
> Is
> There is a session problem with 4.1
>
> If register_globals is ON, then use session_register().
>
> If it's off, then use $_SESSION["name"] = "value"; and the value will
> automatically be registered.
What kind of session problem? I currently have register_globals set to on. I
am already usin
Does anyone know of and used a PHP powed portal
server?
Which is the most robust and the easiest to maintain?
__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
--
PHP General Mailing List (http://www.php.n
> > Alright that's good to hear. In a specific case that I'm having
> > this problem
> > the main PHP file is including file (content) that refers to
> > $_SESSION[nSID_PeopleID] in main. This value is vital in
> > rendering the page.
> > So it should be there right? Also about removing
> session
One thing to note is that constants are not looked for
within strings. So:
// This is okay but can cause confusion. No errors
// are created but many prefer not to do this.
$str = "Hello $there[friend], how are you?";
Outside of a string, $there[friend] will indeed seek
a constant nam
On Thursday 02 May 2002 21:05, Jay Blanchard wrote:
> G' morning!
>
> Can someone tell me where to find the various options for the Header
> function as it relates to M$ Excel? Yesterday, thanks to this list, we
> found a way to open a worksheet in the browser and display data retrieved
> from a d
On Thursday 02 May 2002 20:13, Christoph Starkmann wrote:
> Hi there!
>
> I guess I got a very easy question for the pros here...
> I've been searching the documentaion of mySQL, but didn't
> find the answer (even though I'm sure it's out there
> somewhere :))...
>
> Is a primary key in mySQL auto
This is a simple problem but for some reason it is eluding me...
I have a form that has text fields and check boxes, the function checks the
form, counts words, strips the slashes, then based on the number of words
and number of checkboxes selected calculates a cost... I have added 4 new
checkboxe
On Thursday 02 May 2002 19:31, 1LT John W. Holmes wrote:
> > Do we have to upload the file first, which is to be attached?
>
> No. When you press the submit button, just speak slowly and clearly where
> the file is and PHP will understand you. What kind of video card do you
> have?
I prefer faxin
On Friday 03 May 2002 01:33, Jas wrote:
> This is a simple problem but for some reason it is eluding me...
> I have a form that has text fields and check boxes, the function checks the
> form, counts words, strips the slashes, then based on the number of words
> and number of checkboxes selected c
> $section = $box3 + $box4 + $box5 + $box6; // new ones i have added that
> won't work
Are the $box values listed here actually receiving values from the form? If
you do an
echo "$box3 $box4 $box5 $box6";
what do you see?
Could you provide the HTML for your form as well please? It may help s
Has anyone every used curl to do something similar to wget on linux?
BigDog
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all, I am having a problem with getting this to work properly. When a
user select DELETE I want an alert to pop up and say HEY YOUR DELETING
THIS. This portion is working properly. If you hit CANCEL the desired
effect takes place NOTHING. But if you really want to cancel this record,
it bom
I want to do something along the lines of:
$type = "basic";
$$type_user = "jaxn";
echo $basic_user;
and have the output be "jaxn".
I have tried everything I can think of, and I have looked in all my
books.
I know how to:
$type = "basic";
$$type = "jaxn";
echo $basic;
but this won't do what I
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Joshua E Minnie) wrote:
> What I am trying to do is create an error message within in a string that
> whenever each function fails it echos this particular string out with it's
> pertinent information.
>
> i.e.
> $error_string = "Warning: unab
No problem here (Apache 2 / PHP 4.2.0 / win2k):
Following went to httpd.conf:
LoadModule php4_module c:/PHP/experimental/apache2filter.dll
AddType application/x-httpd-php .php
Dropped the 'AddModule' - line, seems not to be needed anymore!
BTW, for those who read my postings about
Hi,
I want to compile Apache 1.3.22+PHP 4.0+MYSql 3.23.44 with DSO support
on Solaris 8.
Where can I find the installation information to use DSO with PHP and MYSql?
TIA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 03 May 2002 02:43, Jackson Miller wrote:
> I want to do something along the lines of:
>
> $type = "basic";
> $$type_user = "jaxn";
> echo $basic_user;
>
> and have the output be "jaxn".
>
> I have tried everything I can think of, and I have looked in all my
> books.
>
> I know how to:
>
On Friday 03 May 2002 02:45, Hong Tian wrote:
> Hi,
>
> I want to compile Apache 1.3.22+PHP 4.0+MYSql 3.23.44 with DSO support
> on Solaris 8.
>
> Where can I find the installation information to use DSO with PHP and
> MYSql?
The manual perhaps?
--
Jason Wong -> Gremlins Associates -> www.greml
Make a unique form key for every form. When someone submits, store this
unique key. Don't insert another form is there's a key already there :-)
Make sure it's unique, like of current time in miliseconds plus random
characters, I don't know.
--
Julio Nobrega.
Um dia eu chego lá:
http://sou
On Friday 03 May 2002 02:23, Rodrigo Peres wrote:
> Hi list,
>
> There's any way to avoid a "speed gonzales" user to keep pressing submit
> button while you PHP is processing the code???
> I was looking in my mysql and found some duplicate entries with a
> diference with seconds in the time.
Incl
I am a little confused with an error I am receiving on a function I am
using. Here is the function:
function get_user_data($user,$field) {
# get_user_data is a base function assuming no errors have
# been passed and will return the data of a specific field
# based on the value of $user
db_con
php.ini didn't exist before apparently on this server I'm on.. or rather, it
was a 0 byte file.
Thanks, Rasmus.
Chad
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 02, 2002 2:58 PM
To: Chad Day
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Problems upg
Well, that worked for variable tracking, but MySQL seems to have been broken
in the process.. or rather, PHP accessing it..
Warning: MySQL: Unable to save result set in
/usr/local/www/vhosts/bangable.com/htdocs/forums/admin/db_mysql.php on line
92
If I do a phpinfo();, my PHP configure line read
Is it showing the right build date? The configure switches should match
what you used.
-R
On Thu, 2 May 2002, Chad Day wrote:
> Well, that worked for variable tracking, but MySQL seems to have been broken
> in the process.. or rather, PHP accessing it..
>
> Warning: MySQL: Unable to save resul
Indexes are good but the only thing you have to look out for is not over using it. So
don't index all your fields because it will make your database a lot bigger and add
more
time when inserting and updating.
-Original Message-
From: Dan Hardiker [mailto:[EMAIL PROTECTED]]
Sent: May 2,
Hi,
I am doing a test with the date function,
$mydate="2002-05-02"
$tdate=date("d M Y", "$mydate");
echo "$tdate"
I should expect 02 May 2002. But I get a strange result "31 Dec 1969". Why?
How can I correct this?
Regards,
Norman
--
PHP General Mailing List (http://www.php.net/)
To unsub
Yeah this isn't specifically about php but most people use databases so I think this is
relevant. I like it when we have discussions like these instead of someone posting up
a
bunch of code and asking to find a missing ' or }.
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTE
On Friday 03 May 2002 03:17, Norman Zhang wrote:
> Hi,
>
> I am doing a test with the date function,
>
> $mydate="2002-05-02"
> $tdate=date("d M Y", "$mydate");
> echo "$tdate"
>
> I should expect 02 May 2002. But I get a strange result "31 Dec 1969". Why?
> How can I correct this?
Please RTFM, d
Date takes a timestamp, so you would need to do something like this instead:
$mydate = strtotime('2002-05-02');
$tdate = date("d M Y", $mydate);
Echo $tdate;
Cheers!
Rick
I remember a man of some standing who once came to see me and told me that a
friend of his who claimed no small spiritual a
On Friday 03 May 2002 03:17, SP wrote:
> Yeah this isn't specifically about php but most people use databases so I
> think this is relevant. I like it when we have discussions like these
> instead of someone posting up a bunch of code and asking to find a missing
> ' or }.
Yes, but that's what t
Hi,
I'm currently working on a warehouse system, and I'd like to print some
labels pretty accurately.
At the moment, I'm using Mozilla to print, but this just won't do,
especially not when we're expecting to print something like 4,000 labels
next week :D
$client is the MySQL record where the
When/If you read the PHP manual, you'll discover that the second parameter
MUST be a timestamp; not a text string.
- Original Message -
From: Norman Zhang <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 02, 2002 2:17 PM
Subject: [PHP] date
Hi,
I am doing a test with the
hello, php-general,
I'm trying to get the size of pointer.
First I use
$res = fsockopen( $server, $port );
then
echo fgets( $handle, 1024 );
But it only gets only one line. So I need to know the size of then
pointer. I tried to do it with fstat(), but it didn't work..
So can anyb
Quick question. Im using srand to seed array_rand in a script.
I read that srand should only be called once per script under the srand
manual page.
Im using ADODB, and that also uses srand. Now should that warning be a
literal warning or should that
be 'use srand once per page'??
Thanks
--
On Friday 03 May 2002 02:05, Mrdini wrote:
> Hi,
>
> I'm currently working on a warehouse system, and I'd like to print some
> labels pretty accurately.
>
> At the moment, I'm using Mozilla to print, but this just won't do,
> especially not when we're expecting to print something like 4,000 labels
True.
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: May 2, 2002 3:26 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PRIMARY KEY vs. INDEX
On Friday 03 May 2002 03:17, SP wrote:
> Yeah this isn't specifically about php but most people use databases so I
> think
I have installed php4 with apache 1.3.24.
Downgraded apache again.
LOL
When I wan't to submit a form from say form.php to from2.php
with the following fields : input field name=stuff
input stuff contains "Hello World"
when i submit form.php
form2.php displays nothing.
I've set form2.p
Hi,
I'm doing:
eregi("$start(.*)end", $rf, $my_var);
And I want it to stop at the first presedence of $end, not the last (thats
what this is doing).
Any hints?
Best Regards
Fredrik A. Takle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
An issue/confusion of register_globals, global, and
variable scope exists out there; here are some thoughts:
a) As of PHP 4.2.0, register_globals defaults to off.
This is a major change to consider.
register_globals is a PHP directive that lives in
php.ini, the configuration file th
1 - 100 of 181 matches
Mail list logo