\n is not a new line to the browser window although if you look at the
HTML source, a new line will exist. You want to use here. Now to
demonstrate, use pre, which values whitespace :
At any rate, \n does not return a new line within browser window, this is
common question
Quoting from my previous message. I think my exact question is that when I
add a new db on to db server, How do I set up username and password to
access that db? All I did was just run the query at "mysql" database to
insert Host, username at "user" table ( left password blank)and gave all
privile
I always use mysql_setpermission, which is a script for easy adding of users
and permissions etc. step by step. It comes with the standard dist. of
mysql.
Mvh Jørg
- Original Message -
From: "Jacky@lilst" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 10:45
Hello Andrew,
Thank you for contacting Zend and your interest in our products.
Regarding your questions, the answers are:
1. YES. The Encoder Plugins are perpetual and have no time limitation.
2. You will receive all the prducts at nce, and you are entitled to all
major S/W upgrades within this
-Ursprungliche Nachricht-
Von: Thomas Weber [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 24. Januar 2001 09:50
An: [EMAIL PROTECTED]
Betreff: AW: [PHP] Shared Memory with Yast-installed mod_php4 from SuSE.
Thanks Stathis i tried it twice to compile it, ./configure , make,
mak
> I created a table with FaceMysql that had one field and I could not add
data
> to it .Only when I recreated it with 2 fields and a primary key did it
> work.Is there any reason for this?Must there always be a primary key in
> Mysql?I've never known this to be true of relational Db's.Especially i
> I'm going to created a database with the use of a php/html page on my
> commercial host (forsite.net). I have yet to master the unix directory
> system so I don't want to play around looking for it. Does a database have
> to "live" in the MySQL directory, or can it be in my html web directory?
>
There are only so many files that your OS can have open at any one time --
Perhaps you are hitting that limit?...
I think you can increase this with... "ulimit"???
Another possibility is that if you need to copy an entire directory
structure, rather than making PHP walk through it copying one f
> I'm making a small quiz script, and wanted to know how
> I could minimize repition of questions to a single
> user.
>
> And also how to randomize all the questions ?
If you put all the questions in an array, and then call
http://php.net/shuffle on it, you'll do both.
--
PHP General Mailing
Warning: open(/tmp\sess_1b7577b36d874741ed1e74b4bead0dfd, O_RDWR) failed: m
(2) in h:\program\apache\htdocs/boa/sessionTest.php on line 5
Warning: open(/tmp\sess_1b7577b36d874741ed1e74b4bead0dfd, O_RDWR) failed: m
(2) in Unknown on line 0
Warning: Failed to write session data (files). Please
I dunno what's wrong.
I have wu-imap installed and running. I want to compile php with imap
support, so I downloaded and untarred wu-imapd. When compiling php I
specified the locaiton of c-client files in the source dir of wu-imap.
Make, make install ran withou error ( or I didn't notice any ).
Ap
Hello
Can someone tell me the present status of debugger_on( ) function?
Does it still exist? the documentation says it does!
Is there someone who is really using it?
Thanks in advance
Tarique
--
=
B2B Application Providers
http://www
Does anyone know of any reputable PHP/MySQL webhosting companies
that allow clients to use the "load data ... infile" statement?
Many enquiries to well known webhosts have resulted in a
universal '"no".
TIA
Margot.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
""Chris Lee"" ...
> If your refering to old Pascal pre-3.0 in how you could only have X number
> of bytes in a file (32k I think) then pascal would not parse the rest,
then
> no php isnt limited to this, your pages will just get slower and slower
> because of more hits.
Anyway, if your pages are
I can't understand why you don't just use:
$address = "[EMAIL PROTECTED]";
$subject = "This is an HTML message";
$headers = "Content-Type: text/html\n";
$message = "\n";
$message .= "This should use H1\n";
$message .= "This should use H2
I got this quote right out of the php manual. My Id field happen to be type BIGINT as
it said so I tried using LAST_INSERT_ID(); and turn out to be error said
"unidentified function". Any clue?
***
mysql_insert_id() converts the return type of the native
LAST_INSERT_ID() is a mySQL function, non PHP...
in PHP you can use mysql_insert_id() which will return you what you the last
inserted ID.
Cheers,
Maxim Maletsky
-Original Message-
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 7:16 AM
To: [EMAIL PROTECTED
Hi,
Is it at all possible, no matter how much trickery and such involved, to
do something similar to popen(), but bi-directional?
Thanks,
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
for example:
$SQL = "INSERT INTO users SET name='Maxim', surname='Maletsky'";
now you have to insert into another table where you need to relate that user
to the entry:
$SQL2 = "INSERT INTO questions SET question='how did you sleep?',
made_by=LAST_INSERT_ID()";
LAST_INSERT_ID() will be here eq
""Benny Nissen"" <[EMAIL PROTECTED]> wrote in message
94k0ql$em$[EMAIL PROTECTED]">news:94k0ql$em$[EMAIL PROTECTED]...
> Hi All
>
> I have tried to get this to work but it does not produce any output in the
> browser - why
>
> $i = 1;
> while ($i)
> {
> if(connection_aborted())
> break;
>
> ec
Someone jump in here and correct me if I'm wrong, but by the time you
get around to executing the second query, LAST_INSERT_ID() from MySQL
isn't necessarily going to be the desired value, because another record
may well have been inserted in that time?
On 24 Jan 2001 18:25:27 +0900, Maxim Malets
So can I do either way as I show below here?
first could be :
$sql = "insert into user (name,email) values('Jack','[EMAIL PROTECTED]')";
$result = mysql_query($sql);
$sql1 = "insert into userFriend (userId,friendName,)
values(LAST_INSERT_ID(),'John');"
$result1 = mysql_query($sql1);
or second way
no it will keep it very well. In fact most common errors with this function
is that it still keeps the same value when you do something wrong.
This issue is described in more details on every single manual that has
LAST_INSERT_ID() in it - read where you found it ... it is written there ...
I am
Yes, except that in the second case you first will have to do the insertion
of $sql and then assign $lastId to mysql_insert_id();
Cheers,
Maxim Maletsky
-Original Message-
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 7:36 AM
To: Maxim Maletsky; [EMAIL PRO
a thing to understand (just in case you didn't)
that mysql_insert_id() must be called after mysql_query($sql) was made...
otherwise how do we know the last id... ?
Cheers,
Maxim Maletsky
-Original Message-
From: Maxim Maletsky
Sent: Wednesday, January 24, 2001 6:38 PM
To: 'Jacky@lil
derick Wed Jan 24 01:24:27 2001 EDT
Modified files:
/php4/ext/gdgd.c php_gd.h
Log:
- Commited a patch that adds support for converting Images to WBMP format.
(Thanx to Denis Gasparin <[EMAIL PROTECTED]>)
@- Added support for converting images from J
eschmid Wed Jan 24 01:42:17 2001 EDT
Modified files:
/php4/ext/gdgd.c
Log:
Protos fixed.
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.107 php4/ext/gd/gd.c:1.108
--- php4/ext/gd/gd.c:1.107 Wed Jan 24 01:24:26 2001
+++ php4/ext/gd/gd.cWed J
Can we store the value retrieved by last_insert_id for later use? say we
want to related 3 queries together and under that case, we will then need to
store the first "last_insert_id value" somewhere and then retrive the second
"last_insert_id value" from the second insert query before both values
I am not really sure about this one, but the first thing I would do is that
I would try it.
It could be though ...
Cheers,
Maxim Maletsky
-Original Message-
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 7:53 AM
To: Maxim Maletsky; 'Mark Lipscombe'
Cc: [E
The online manual has some working examples
Also, using the socket funcs in Php isn't very different from using them in
C - try searching www.google.com if the examples in the manual aren't enough
jason
- Original Message -
From: "Boget, Chris" <[EMAIL PROTECTED]>
To: "Php (E-mail)" <[
Hi,
I have a page with a couple of form fields that are being POSTed to a
processing PHP script. The page that contains these form fields is itself a
PHP page that uses sessions and so on.
I have to make "server-side data validation" on the fields because of their
complexity. When the user hits
Hi Richard, thank you for your answer:
>> When calling the php4 code below, sometimes the browser receives
>> -the "HTML estandar text"
>> -sometimes the "Text generated from PHP" (but NEVER both!)
>> -and ocassionaly the error:
>> "Warning: fopen("php://stdout","w") - Bad file descriptor in
>> /
Hi,
Anyway, as far as I know, mysql_insert_id() is just a PHP implementation
calling the exact same code as mySQL's internal last_insert_id() function;
except for the drawback with the BIGINT thing, the functionality should be
exactly the same for both.
"Maxim Maletsky" <[EMAIL PROTECTED]> a écr
I did try already.
What I did was I assign value from LAST_INSERT_ID(); onto a virable after I
run the first insert query the same way we do to mysql_insert_id
and the result when the page is executed, it said " unidentified function"
which of course because php does not know LAST_INSERT_ID like y
Hi,
To use mySQL's internal function, try something like this:
mysql_query("insert into mytable values(1,2,3)");
$rs = mysql_query("select LAST_INSERT_ID() from mytable");
$theLastInsertedID = mysql_result($rs,0,0);
""Jacky@lilst"" <[EMAIL PROTECTED]> a écrit dans le message news:
05f701c0865b$
> Everyone has their favorite editor, and FWIW mine is editplus. I've
> programmed for almost 20 years with many different editors and in
> my opinion, this is the best editor I've ever used. It works
> great with PHP.
> www.editplus.com
I use PHPED (www.phped.com). It has some bugs but I like it
Hi,
I would like to know if anybody has had any luck in writing a PHP
module, that uses an external (C) library,
using ext_skel, buildconf/phpize...
I've been reading the apidocs as well as "Web Application Development
with PHP 4.0" but I still can't get it to work..
The problem is that allthou
Hi guys!
I'm working on an NT workstation, i used to work with asp, but i heard a lot
about php! that i decided to start working with it !
so i'm using PWS4 and i'm wondering which free php editor is more suitible
for me ? and also what links to get free more tutorials, i got one of phpnet
but
> After 3½ day with the same stupid problem I am borderline crazy and
> beginning to get REALLY fed up with PHP ;-)
> Could it be a bug in the ext_skel "and friends" utilities???
No, they work quite well. Try going to http://conf.php.net and pick the
New York Linuxworld Advanced presentation nea
Hi,
could you tell me how to save image created ( with ImageCreate , and other stuff ..),
there is any SaveImageAs... or something like that ?
Do you know where can I find tutorials about creating, using thumb nails?
Thanks your time...
Miguel Loureiro < [EMAIL PROTECTED] > ENJOY LIFE...
Don't you have to do something like this?
$something = mysql_query("into mytable.");
$result = mysql_query($something);
$rs = mysql_query("select LAST_INSERT_ID() from mytable");
$theLastInsertedID = mysql_result($rs,0,0);
corerct?
Jack
> [EMAIL PROTECTED]
> "There is nothing more rew
Here is collection I got from this list;
www.editplus.com
www.codecharge.com
www.phpedit.com
www.ultraedit.com
NOBBY
- Original Message -
From: kaab kaoutar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 4:28 PM
Subject: [PHP] Beginner in php!
> Hi guys!
Try the "GET" method in the form.
Jaks
- Original Message -
From: Alain Fontaine <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 2:11 AM
Subject: [PHP] Form data is not "remembered"
> Hi,
>
> I have a page with a couple of form fields that are being POSTed
Hi, welcome to the wonderful world of PHP...
You can use any text editor you like to write your PHP, my personal
favourite is EditPlus 2 (www.editplus.com), but this is holy war territory
so try a few out and see which one you get on with best.
There are loads of great tutorials all over the ww
Hello,
I getting dificulties with an updating records procedure: like I have an
Auto-Increment field I try to use the REPLACE (but without the the
auto-increment I tried also UPDATE). I checked also the variables with
an echo, and also all the usual things I could imagine...
Now I am quite desp
On Tuesday 23 January 2001 22:03, Gerry wrote:
> All I need is to be able to learn how to load everything from a script
> and how to call the script with a URL to the directory.
> eg. {
> include "header,nav, fetch content,footer";
> else "?";
> }
> ?>
>
> http://mysite.com/Yarns/"> Yarns
Read
I don't know if it'll help but here my bit of the php.ini:
session.save_handler = files ; handler used to store/retrieve data
session.save_path = C:\Programme\Apache
Group\Apache\cgi-bin\php4\sessiondata; argument passed to
save_handler
; in t
On Wednesday 24 January 2001 01:25, Richard Lynch wrote:
> > I wonder myself, which method is better to fetch a web page:
> >
> >$file = fopen($url, "r");
> >$page = fread($file, 5);
> >
> > or
> >
> >$file = join('', file($url));
>
> Probably about the same either way...
Perhaps.
ssb Wed Jan 24 03:04:34 2001 EDT
Modified files:
/php4/pear/HTML Form.php
Log:
typo
Index: php4/pear/HTML/Form.php
diff -u php4/pear/HTML/Form.php:1.7 php4/pear/HTML/Form.php:1.8
--- php4/pear/HTML/Form.php:1.7 Tue Jan 9 17:01:55 2001
+++ php4/pear/
On Wednesday 24 January 2001 09:55, Thomas Weber wrote:
> Thanks Stathis i tried it twice to compile it, ./configure ,
> make, make install. but i don't get a new libphp4.so! I found only
> a libphp4.a wich is 9MB (the original libphp4.so is only 2.5MB .
You forgot the --with-apxs
Hi,
Thanks for the hint, but using GET method doesn't change anything,
unfortunately.
"Klepto" <[EMAIL PROTECTED]> a écrit dans le message news:
001401c085f2$3c8801a0$[EMAIL PROTECTED]
> Try the "GET" method in the form.
>
> Jaks
> - Original Message -
> From: Alain Fontaine <[EMAIL PRO
sbergmann Wed Jan 24 03:19:29 2001 EDT
Modified files:
/php4/pear/HTML ITX.php
Log:
Forgot to include IT.php.
Index: php4/pear/HTML/ITX.php
diff -u php4/pear/HTML/ITX.php:1.3 php4/pear/HTML/ITX.php:1.4
--- php4/pear/HTML/ITX.php:1.3 Fri Jan 19 05:37:
Hi all
I'm trying to use is_dir to go thru a dir to list all dirs of that
I have a dir with 3 other dirs in them
[root@universe templates]# pwd
/www/docs/webit/admin/templates
[root@universe templates]# ls -l
total 12
drwxr-xr-x 4 root root 4096 Jan 12 13:16 1/
drwxr-xr-x 4 ro
Hi all,
I was wondering if you could use PHP to test if a picture is there?
I.E. checking if you could open the picture or not, and displaying a message
either way.
I have tried
$file = fopen ("../images/maps/$filename.jpg", "r");
if (!$file) {
print "This is no map for this trip.";
Yea, thank you It worked!
Formerly i used the --with-apache command (wich hasn't worked) and now with
the --with-apxs it works.
Great, thank you very much! :))
--
Thomas
-Ursprüngliche Nachricht-
Von: Christian Reiniger [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 24. Januar 200
Yep.
$file = @fopen (.
The @ sign suppresses the warning messages. Should work fine after this.
HTH
Jon
-Original Message-
From: Sam [mailto:[EMAIL PROTECTED]]
Sent: 24 January 2001 12:19
To: 'php'
Subject: [PHP] Checking if files are there?
Hi all,
I was wondering if you
HI!
Anybody has some experince with working Roxen+PHP?
How about speed, features in compare to Apache for example?
TIA
RemS
--
---/\--
Remigiusz Sokolowski e-mail: [EMAIL PROTECTED]/ \
On Wed, Jan 24, 2001 at 01:48:29PM +0200, [EMAIL PROTECTED] wrote:
> Hi all
>
> I'm trying to use is_dir to go thru a dir to list all dirs of that
>
> I have a dir with 3 other dirs in them
>
> [root@universe templates]# pwd
> /www/docs/webit/admin/templates
> [root@universe templates]# ls -l
Hi all,
Im working on a site where we want to put all the text into text-files. Im having
troubles doing this, though. If I have a text like this "Today there are more than
users registered", and I put it in a .txt-file, how can I execute the code wich
should return the numer ? Im buil
I Know that PHP can make PDF files.
But Some body PLEASE can pass to me a Binary instalation of this library??
Or tell me where i can find it
THANKS
Double-check the output of configure in config.cache and config.log (?) and
make sure there were no errors about imap.
For some extensions, configure goes ahead and creates a working make setup
ever if there were errors...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?
> Is it at all possible, no matter how much trickery and such involved, to
> do something similar to popen(), but bi-directional?
The user-contributed notes indicate that popen() *is* bi-directional for
those OSes that support them...
Meanwhile, if yours doesn't, you could maybe wrangle somethin
> I getting dificulties with an updating records procedure: like I have an
> Auto-Increment field I try to use the REPLACE (but without the the
> auto-increment I tried also UPDATE). I checked also the variables with
> an echo, and also all the usual things I could imagine...
What goes wrong?...
>Im working on a site where we want to put all the text into text-files. Im
having troubles doing this, though. If I have a text like this "Today there
are more than users registered", and I put it in a .txt-file, how can I
execute the code wich should return the numer ? Im building funct
At 2:41 AM -0800 1/24/01, Klepto wrote:
>Try the "GET" method in the form.
>
>Jaks
>- Original Message -
>From: Alain Fontaine <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, January 24, 2001 2:11 AM
>Subject: [PHP] Form data is not "remembered"
>
>
>> Hi,
>>
>> I have a p
Hi Maxim,
> It is simple, I can see it, but I do not understand what is that RegEx for,
> what is $pid ( fork() ) and where does it actually send emails...
right... you look like Blair and Clinton saying the Human Genome has been
'completely' discovered. Simple, but
## the first part is
At 4:40 PM +0600 1/24/01, Tshering Norbu wrote:
>Here is collection I got from this list;
>
>www.editplus.com
>www.codecharge.com
>www.phpedit.com
>www.ultraedit.com
>
See this list:
http://www.itworks.demon.co.uk/phpeditors.htm
Some of the comments are a bit out of date - for instance
> I actually was getting prompted to download the .php file sometimes...
So, the user would be able to open the file in, say, VI and see your code? Big
security hole, no? Of which versions of php4 was this characteristic?
Dotan Cohen
---
MySQLphp4
I want to evaluate some PHP code to a string. How can I do this?
$php_code = "echo 'hello';"
I would like to evaluate the code to "hello" in another string...
Can anyone help with inserting a blob field into a
database Interbase 6?
I am using a textarea field for user input/text and
need to
insert the field into my database.
I am getting the following error if I do a normal
insert statement:
'conversion error from string "BLOB"'
Thanks in advance.
_
Hi all!
first thanks for urvreplies about the editors and tutorials!
well while trying a my first php form i had to use a loop in the
confirmation part which looks like:
" ;
echo Count($beer);
$i=0;
for ($i=0;$i
i have the same error the constant i is not defined ...
how acn i fix it ?
by the w
Hi Everyone!
I did post the note in the past about the problem with HTTP_REFERER
which doesn't work in Netscape 6.0. It turned out that I was looking at the
wrong thing the whole time. What I found is that it isn't really Netscape
problem. It turned out that Netscape 6.0 can't use 2 times
kaab kaoutar wrote:
> echo " " . $personal["name"]. "\n" . $personal["email"] . " " ;
> echo Count($beer);
> $i=0;
> for ($i=0;$i ?>
>
> i have the same error the constant i is not defined ...
> how acn i fix it ?
Try
for ($i=0;$ihttp://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
try
eval("\$php_code;");
-Ursprüngliche Nachricht-
Von: [ rswfire ] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 24. Januar 2001 15:36
An: [EMAIL PROTECTED]
Betreff: [PHP] eval() to string???
I want to evaluate some PHP code to a string. How can I do this?
$php_code = "echo 'hello'
How is this going to help me?
I want to evaluate the code in $php_code to *another* string...
- Original Message -
From: Thomas Weber <>
To: Php-General <>
Sent: Wednesday, January 24, 2001 10:14 AM
Subject: AW: [PHP] eval() to string???
> try
>
> eval("\$php_code;");
>
> -Ursprün
okay, i see
here is an example:
$php_code = "$foo + $bar";
eval("\$var = \"$php_code\";);
now in $var there should be the eval of $foo + $bar
-Ursprüngliche Nachricht-
Von: Robert S. White [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 24. Januar 2001 16:20
An: [EMAIL PROTECTED]
Hi,
> I want to evaluate the code in $php_code to *another* string...
you have to do it through output buffering:
ob_start();
eval($php_code);
$another_string=ob_get_contents();
ob_end_clean();
Rgds,
Tfr
--==< [EMAIL PROTECTED] >==< http://tfr.cafe.ee/ >==< +372-50-17621 >==--
> -Original Message-
> From: Ignacio Vazquez-Abrams [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 22, 2001 11:01 AM
> To: johnny p.
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] file storage/downloader...
>
>
> On Sun, 21 Jan 2001, johnny p. wrote:
>
> > Ok, here's the prolem: I'm t
Hi:
We are a web programming company and a custom ask us for those things:
The client is really interested on the distribution of CD-Roms which include a
webserver (apache) with support for interpretive language (php3) and a database
(mysql). That is why we have though to include in this Cd-R
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> $connect = mysql_connect(xx); or die ("dBase not connect.")
> $sql = "REPLACE CLIENT SET ID = \"$id\", ITEM = \"$item\", TITLE
> =\"$title\", AUTHOR = \"$author\", PUBLISHER = \"$publisher\", DELIVERY
> = \"$deli
Hi list,
Is it possible to get PHP to create entities in Outlook, specifically tasks
and calendar entries?
TIA
Jon
Please visit us on the Internet:
http://www.witanjardine.co.uk
'The information included in this e-mail is of a confidential nature and is
intended only for the addressee. If yo
When I try to use sessions without cookies, I get the following error.
Failed to write session data (files). Please verify that the current
setting of session.save_path is correct (/tmp) in Unknown on line 0
What does that mean?
Of course, the session data isn't saved when this happens.
The sc
I've been off the list for a couple of months after
having been on for 2 years and I must say, it's good
to be back. Unfortunately, my latest job advancement
left me using jsp/servlets but there's always hope...
jason
__
Do You Yahoo!?
Yahoo! Auct
I need learn how to install this library to create pdf files dinamicaly.!!!
Hi,
I need to test for cookies. What is the simplest way to do this?
Thanks - Karl
--
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]
Under PHP 4.0.4pl1 (for Windows) I can not start up old php_gd.dll from older PHP
distribution.
This is old GD library 3.0.12 that have GIF support. (Under 4.0.3pl1 everything was
fine).
Does anyone have idea about this problem
Thanks in advance,
Vladimir
P.S. I installed and new ZendOptimi
By trying to set a cookie and read it back.
> -Original Message-
> From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 24, 2001 11:50 AM
> To: PHP Mailing List
> Subject: [PHP] Test for Cookies
>
>
> Hi,
>
> I need to test for cookies. What is the simplest wa
Hello,
I have this code in a php script, which takes all pixels from a PNG image
and produces a second "image"
with random numbers in HTML format this time. (an example can be found at
http://www.cyprusnews.org/sub/prog2.php).
Instead of getting ALL shades of red from the pallette, I get only 8
Karl J. Stubsjoen [[EMAIL PROTECTED]] wrote:
> Hi,
>
> I need to test for cookies. What is the simplest way to do this?
Be a little more specific - do you want to know if there
are cookies at all, or if there are specific cookies?
Depends on the settings in the Data Handling section of your
ph
Everytime I send a post to
[EMAIL PROTECTED]
The message goes through but
I also recieve back the following
This is the Postfix program at host kgb.ijs.si.
I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.
For further assistance,
I have successfully installed pdflib with PHP4.0.4pl1 and all the
necessary components. However, I don't know how to output a generated
pdf to the browser without writing it to disk first and then reading it
in. Below are the examples that I use.
This example tries to directly output the pdf to t
If the form page is not being cached, it would probably get reloaded
when they clicked back, thus losing the data.
I'd suggest redrawing the form with the fields populated and with the
appropriate error messages. Then you don't need to mess with caches or
sessions for that matter, and the user do
rasmus Wed Jan 24 09:32:26 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
Some karma for Dan
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.53 CVSROOT/avail:1.54
--- CVSROOT/avail:1.53 Tue Jan 23 07:56:13 2001
+++ CVSROOT/avail Wed Jan
A few things to try:
1. Use session variables that expire after a certain time. The remote
host, your partner, has to contact your host every X hours to get a new
session key and all communication is done for that period of time using
that key in the URL.
2. Use difficult to guess user identifier
There is a LiveDate (-MM-DD) field in my table.
1. I want data from last 5 days up to now, and its order should be from
latest;
2. I want data for next month.
Any help would be appreciated.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
This is covered by the LICENSE file that comes with PHP. And yes, you can
distribute PHP on a CD-Rom like that as long as you abide by the terms of
the license.
-Rasmus
On Wed, 24 Jan 2001, Miguel Martinez wrote:
> Hi:
>
>
> We are a web programming company and a custom ask us for those things
Hi all,
I was wondering how I can display a date in this format 'DD/MM/YY'
As when I do a select statement and display the date I get it in this format
'DD-MM-YYY 00:00:00'
Which is kind of annoying.
I am using mySQL and also PHP.
Thanks in advance.
Sam Rose
--
PHP General Mailing List (ht
I'm the author of an opensource php auctioning system and have recently been
receving alot of emails concerning the availibility of different languages.
I was wondering what the best way to build a sort of language pack would be
(one file for french, one for english, one for german, etc). Someth
On 24-Jan-01 Mark Lipscombe wrote:
> Someone jump in here and correct me if I'm wrong, but by the time you
> get around to executing the second query, LAST_INSERT_ID() from MySQL
> isn't necessarily going to be the desired value, because another record
> may well have been inserted in that time?
Well, php is server side, so wahtever you want todo serverside php can
probably try todo. is outlook express on the server? if not I doubt you'll
have any luck at all.
You might be able to do this is if you had php dynamically write VBscript
and email that to the client. I dont know about that.
1 - 100 of 244 matches
Mail list logo