Check that you are using the correct MIME type.
There is a note on this in the User Contributed Notes under the function definition.
Jason Jacobs wrote:
Hi all. I've been struggling with getting images to upload cleanly. I'm using php 4.2.2. When I look at the uploaded file info, it
Hey Justin.
Sorry for the late reply -- got totally wrapped up in utilizing that highly
useful bit of reg exp code.
Thanks for the heads up; it certainly solved the problem.
Unfortunately, or fortunately, new problems have arisen -- time to dive into
learning some reg exp syntax
Thanks
I have to get this off my chest, and I tried to send it directly to Jason
off list, but the email bounces back. Why? Probably because he gets a lot
of these emails. Don't like what I have to say? Tough luck, I am sick of
unconstructive emails hitting the list putting people down. If you
I have $_POST['day'] (1-31), $_POST['month'] (1-12), $_POST['year']
(2003-2004).
I store all dates as unix (epoch) timestamps, and generate the timestamp for
the event with:
strtotime('{$_POST['month']}/{$_POST['day']}/{$_POST['day']}');
Everything works fine on my LAN (Australia), but when I
Hi,
I know this function is new, however, does anyone have any documentation on
it? There is nothing on php.net...
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What is a good function for striping white space and removing \\..\.. and possible
, Anything that would be considered unwanted user input???
I looked at trim() but its doesnt do all the things I need it to do.
-Dan
From the GnuPG docs:
--passphrase-fd n
Read the passphrase from file descriptor n. If you use 0 for n, the
passphrase will be read from stdin. This can only be used if only one
passphrase is supplied. Don't use this option if you can avoid it.
I added --passphrase-fd 0 to my command so
Hi,
Have a look at: http://us2.php.net/manual/en/function.ereg-replace.php
That might do what you want.
-Dan Joseph
What is a good function for striping white space and removing
\\..\.. and possible , Anything that would be considered
unwanted user input???
I looked
On Thursday 29 May 2003 14:31, César Aracena wrote:
Hi all,
I just made a pretty little flash banner with buttons and everything...
Does anyone knows if I can make the flash buttons links with dynamic
content? I need to fetch cartain common pages but with different
variables.
Thanks in
If you have your date components split up already the way you do, you
should be using mktime().
Next you have to determine which timezone your information is from. If
you consider your month/day/year values to be GMT values, then use
gmmktime() to generate your timestamp. Otherwise, make sure
On Thu, 29 May 2003 10:33:16 +0100, Ford, Mike [LSS]
wrote:
Well, how about references, then? (And me, personally, I'd use isset()
rather than is_array().)
if (isset($_POST)):
$POST = $_POST;
else:
$POST = $HTTP_POST_VARS;
endif;
I was told that PHP didn't do
On Thu, 29 May 2003, Wendell Brown wrote:
On Thu, 29 May 2003 10:33:16 +0100, Ford, Mike [LSS]
wrote:
Well, how about references, then? (And me, personally, I'd use isset()
rather than is_array().)
if (isset($_POST)):
$POST = $_POST;
else:
$POST =
-Original Message-
From: Wendell Brown [mailto:[EMAIL PROTECTED]
Sent: 29 May 2003 15:18
On Thu, 29 May 2003 10:33:16 +0100, Ford, Mike [LSS]
wrote:
Well, how about references, then? (And me, personally, I'd
use isset()
rather than is_array().)
if
On Thursday 29 May 2003 21:49, Mike Morton wrote:
I have to get this off my chest, and I tried to send it directly to Jason
off list, but the email bounces back. Why? Probably because he gets a lot
of these emails.
Because I don't like spam.
Why do you bother to answer on the php list at
On Thu, 29 May 2003 07:21:01 -0700 (Pacific Standard Time), Rasmus
Lerdorf wrote:
It isn't a pointer. It is a reference which you should think of as a
symbol table alias. A pointer, at least by my definition, is a memory
address. In PHP it isn't a memory address, just another entry in the
of course ;)
but i couldn't find a reference to this particular problem...
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Have you checked the date functions at http://www.php.net ?
-Original Message-
From: Shaun [mailto:[EMAIL PROTECTED]
Sent: Thursday, May
Jason, you are a sad sad man.
The point I was simply trying to make was that YOU do not have to do
ANYTHING. Don't search google, don't spend any time on it at all, don't
even email.
There are plenty of people here that are willing to help - if you are not -
piss off.
Not everyone has your
Mike,
I agree that at times Jason (and plenty of others, including myself on a bad
day) tend to use the search google and RTFM replies a lot, but the
reality is that if people did a quick search in the manual, and a quick
search on google, this list would be a lot less cluttered.
It also goes a
On Thu, 29 May 2003 15:40:00 +0100, Shaun wrote:
of course ;)
but i couldn't find a reference to this particular problem...
I don't think you are going to find a standard PHP function to do this.
You are going to have to do something like this (I haven't tried it
but I think it will do what
Umm, have you tested it? It didn't work for me...
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); )
zavaboy wrote:
Hey,
I'm having problems with the eval() function...
if ($Sort == Up) {
$do==;
} else
Hi All,
I read in the ChangeLog for v4.3.2 that GD2 is bundled with this release. I
downloaded and installed the Windows Installer version but my sample
imagecreate code still doesn't work, it reports the error 'Call to undefined
function: imagecreate()'.
When I uncomment the
Ok, I enroll in the school of 'If it ain't broke, don't fix it' and my
version of PHP has worked just fine so I never saw a reason to update. Now,
I think I will take the plunge. I can barely remember configuring apache
and php originally so is there an easy route to install the latest php
-Original Message-
From: Shaun [mailto:[EMAIL PROTECTED]
Sent: 29 May 2003 15:40
of course ;)
but i couldn't find a reference to this particular problem...
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Have you checked the date functions at
I prefer apt-get -u dist-upgrade ;)
If you follow the static compile in the INSTALL file that comes with the PHP
source you can compile it in a matter of minutes.
--Joe
--
Joe Stump [EMAIL PROTECTED]
http://www.joestump.net
Label makers are proof God wants Sys Admins to be happy.
Justin:
Point well taken, and I agree for the most part. Teaching people to learn
themselves is a much better solution that just giving the answer, however it
CAN be done in a constructive and helpful manner, rather than a rude and
abrupt one.
I have not noticed your responses, so I cannot
On Thursday 29 May 2003 22:40, Shaun wrote:
of course ;)
Try:
$start_date_ts = time();
if ('Mon' != date('D', $start_date_ts)) {
$start_date_ts = strtotime(last monday);
}
$start_date= strftime(%Y-%m-%d, $start_date_ts);
echo $start_date;
Season to taste.
Hi,
Ive tried php-4.3.2 with my old config (4.3.1), and I noticed that all our
VirtualHosts are sometimes blank and then after a browser refresh, the
content is showed. This happens approx. 1 in 10 times.
You can try it with one of our vhosts: www.hot.lu and refreshing it a few
times.
The
-Original Message-
From: Dave O Keeffe [mailto:[EMAIL PROTECTED]
Sent: 29 May 2003 15:28
I read in the ChangeLog for v4.3.2 that GD2 is bundled with
this release. I
downloaded and installed the Windows Installer version but my sample
imagecreate code still doesn't work, it
William N. Zanatta [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
It is a known issue that function calls are expensive for the processor.
The OOP let us better organize the code but, thinking in function (or
method) calls it may be more expensive than in the procedural form.
zavaboy wrote:
Umm, have you tested it? It didn't work for me...
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); )
Untested:
for ($i = $aNum; eval(return (\$i . $do . \$bNum););)
--
David Grant
Web Developer
how about stripslashes();
http://www.php.net/manual/en/function.stripslashes.php
HTH
Shaun
Dan Joseph [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Have a look at: http://us2.php.net/manual/en/function.ereg-replace.php
That might do what you want.
-Dan Joseph
What is
Agreed, if you don't have something usefull to say,
don't say anything at all.
On Thu, 2003-05-29 at 10:57, Mike Morton wrote:
Justin:
Point well taken, and I agree for the most part. Teaching people to learn
themselves is a much better solution that just giving the answer, however it
CAN
I get a infinite loop and parse error, unexpected $...
David Grant [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
zavaboy wrote:
Umm, have you tested it? It didn't work for me...
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
for ($i = $aNum;
In my experience OOP isn't any faster/slower. I've used it on sites that get
30M hits a month; so if it's gonna break I'd have seen it by now.
One thing I'd like to abundantly point out is that NOT EVERYTHING BELONGS IN
OOP! For instance, if you're building classes that output HTML - you've
Mike,
I'm glad you vented. Now let me. I say none of this in anger and quite a lot
of it in amusement. Please don't take this the wrong way. (By saying that
I'm insuring that you WILL take it the wrong way!) :)
Why is it helpful to give a person the answer to a question that has been
answered
zavaboy wrote:
I get a infinite loop and parse error, unexpected $...
Told you it was untested.. :P
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio:
I use mail() to send e-mail automatically.
But all I can send is text. I would like to send links, but can figure out
how to make them work.
Thanks,
Christian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi list,
i'm very newbie in PHP so sorry for this simple question but i havn't found any
differences between my code and example code on a lot of website that i visited.
I use PHP-4.3.1, OpenLDAP 2.1.19, BerkeleyDB-4.1.25 and Apache-2.0.45.
My problem is that my variables are not taken into
Most MUA's will convert http://* or www.* to a link. Otherwise you'll have
to send MIME encoded HTML with a href=/a tags. The problem with the
second solution is that not all MUA's (ie. mutt) support MIME encoded HTML
messages.
--Joe
--
Joe Stump [EMAIL PROTECTED]
http://www.joestump.net
Label
For the third parameter of the mail command, use:
Content-type:text/html\r\n
I.E.:
mail($to,$subject,$body,Content-type:text/html\r\n);
On Thu, 2003-05-29 at 11:13, christian tischler wrote:
I use mail() to send e-mail automatically.
But all I can send is text. I would like to send links,
$link = http://somedomain.com;;
$msg .= $link\n;
Quoting christian tischler [EMAIL PROTECTED]:
I use mail() to send e-mail automatically.
But all I can send is text. I would like to send links, but can figure out
how to make them work.
Thanks,
Christian
--
PHP General
I would like to know wich is the best way to program in PHP, is it OO or
structured, because I red in a book that if I program in OO PHP the
performance of the page is slower than programming it in structured.
But if i have a big web site isn´t it better to program Object Oriented.
--
PHP
Hello all you great PHPers,
Who among you can solve this tricky problem?
OK, a little background: my goal is to send local POST requests to some of my php
pages from **within** a php program. I have already successfully done simple POST data
transfers with sockets using HTTPClient.class. This
One thing I'd like to abundantly point out is that NOT
EVERYTHING BELONGS IN
OOP! For instance, if you're building classes that output
HTML - you've
skipped a few chapters in your OOP design books.
Joe,
I am curious about this opinion, could you elaborate a bit, please? I am not
an OOP
On Thursday 29 May 2003 22:49, Mike Morton wrote:
There are plenty of people here that are willing to help - if you are not -
piss off.
For the record the gentleman posted the question twice. I didn't even bother
to answer the first one (and no-one else did). When he posted again he was
Sure ...
I'm of the belief that OOP (in PHP anyways) has great use for core
libraries. Core libraries, by their nature, generally don't output HTML.
It's a core libraries job to separate logic and presentation. How portable
is your library that outputs HTML for a guy who wants PDF/WAP/XML output?
Thanks Lang - from the notes you sent me I'm able to bind arrays
successfully using a complex select, but using the procedure still gives
me an error:
Warning: OCIStmtExecute: ORA-01008: not all variables bound in
C:\ftp_dir\boards\winners.php on line 20
Warning: OCIFetch: ORA-24374:
Hi,
Can we use one PHP.INI directive to set the other?
What I mean is like this:
Let's say I have:
upload_tmp_dir = sys:/php/temp
in the PHP.INI file.
Now I want to set the same value into the open_basedir directive like:
open_basedir = .;sys:/php/temp
Here, I do not want to hard code
My problem relates to IF statement in the following code. There are two
checkboxes, named altid$thisid, so for instance they become altid36 and
altid37. When the form is submitted with both checked, I can read the first
altid36, but the second does not pass the IF test. Any suggestions re
Dillon, John wrote:
My problem relates to IF statement in the following code. There are two
checkboxes, named altid$thisid, so for instance they become altid36 and
altid37. When the form is submitted with both checked, I can read the first
altid36, but the second does not pass the IF test. Any
yes, missing semi-comma:
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum;'); )
the rest is up to you, I don't know what you want to do whit it
Marek Kilimajer wrote:
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); )
zavaboy wrote:
Hey,
I'm having problems with the eval()
Nicholas F. Singh wrote:
Hello all you great PHPers,
Who among you can solve this tricky problem?
OK, a little background: my goal is to send local POST requests to some of my php pages from **within** a php program. I have already successfully done simple POST data transfers with sockets using
Joe,
I mostly agree with your opinion. But remember that a method in an
object that has output doesn't have to print the output - it can return
it instead and the calling function can then either display the output
or do something else with it. And if it makes sense to have a method
return HTML,
Hi,
Can we use one PHP.INI directive to set the other?
What I mean is like this:
Let's say I have:
upload_tmp_dir = sys:/php/temp
in the PHP.INI file.
Now I want to set the same value into the open_basedir directive like:
open_basedir = .;sys:/php/temp
Here, I do not want to hard code
Good point. However, the whole point is that I need to pass that session ID
so that TST2 can access the same session info TST1 is. Know what I mean? I
wonder how I can resolve this...
Thanks for the reply!
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: Nicholas F. Singh
I have a form where the user enters a date into a text input field. I need
to convert this text to a date and put it in a field in a mySQL database.
Is there an easy way to do this? Do I have to tear the string appart and
create a date out of the parts? Someone must have a fiunction that will
On Friday 30 May 2003 07:03, Haseeb Iqbal wrote:
Actually i know what vpopmail is but to be abs clear i want to read more. i
have a few questions in my mind. that i want to be clear about.i want to
make a script that would create new users on a qmail server.i want to be
sure this is what i
Anthony,
I believe that what you are looking for is the following:
http://www.php.net/strtotime
Jordan
Anthony wrote:
I have a form where the user enters a date into a text input field. I need
to convert this text to a date and put it in a field in a mySQL database.
Is there an easy way to do
You can do:
session_start();
$session_id = session_id();
session_write_close();
Lock has been released, now you are free to post $session_id to the
other script
N. F. Singh wrote:
Good point. However, the whole point is that I need to pass that session ID
so that TST2 can access the same
Look at http://www.php.net/strtotime
..micahel..
On Thu, 2003-05-29 at 09:21, Anthony wrote:
I have a form where the user enters a date into a text input field. I need
to convert this text to a date and put it in a field in a mySQL database.
Is there an easy way to do this? Do I have to
Ok, it works now! Thanks!
Go visit what I'm working on at: http://zavaboy.jimbug.org/phptest/blog.php
I'm working on a blog, mainly for myself...
If you go there, tell me if the yellow days are clickable. Also tell me if
you see red dates on the blog.
I should be the only one to see those things
Fantastic! I was totally unaware of this function. Thanks very much! If any
of you guys found this helpfull, be sure to call session_start() again if
you're using --enable-trans-sid. Otherwise, on your subsequent call to
another page needing a session state, the SID won't be propogated (at least
Yes, no problem! Glad it worked out. you may wish to actually study the
perlre man page on perl.com. This goes into the most details and talks about
how PERL actually EXTENDS shell regular expressions significantly and
excellent resource that I have used many many times.
I figure since PHP
Yes, no problem! Glad it worked out. you may wish to actually study the
perlre man page on perl.com. This goes into the most details and talks
about
how PERL actually EXTENDS shell regular expressions significantly and
excellent resource that I have used many many times.
I figure since PHP
At 04:05 29.05.2003, William N. Zanatta said:
[snip]
It is a known issue that function calls are expensive for the processor.
The OOP let us better organize the code but, thinking in function (or
method) calls it may be more expensive than in the
exactly what I'm looking for. Thanks!
- Anthony
Jordan S. Jones [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Anthony,
I believe that what you are looking for is the following:
http://www.php.net/strtotime
Jordan
Anthony wrote:
I have a form where the user enters a date
Joe Stump [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sure ...
I'm of the belief that OOP (in PHP anyways) has great use for core
libraries. Core libraries, by their nature, generally don't output HTML.
It's a core libraries job to separate logic and presentation. How portable
Hello,
On 05/29/2003 12:13 PM, Christian Tischler wrote:
I use mail() to send e-mail automatically.
But all I can send is text. I would like to send links, but can figure out
how to make them work.
In most mail programs, if you start address in text messages with
http:// or mailto: for
ok, I am having an off day, I admit...I got this script off codewalkers this
morning (cheating, I know)
?php
//phpinfo();
function thumbnail($i,$nw,$p,$nn) {
$img=imagecreatefromjpeg($i);
$ow=imagesx($img);
$oh=imagesy($img);
$scale=$nw/$ow;
$nh=ceil($oh*$scale);
Hi all,
How can i do for the moment i open and list all file there, display in the
browser the order of this files by name ?. I have this code:
?php
$handle=opendir('.');
while ($file = readdir($handle)) {
if ($file != . $file != ..) {
echo $file\n;
}
}
closedir($handle);
?
And
At 5/29/2003 01:55 PM, Edward Peloke wrote:
Isn't php4.3.2 compiled with the gd library
Not necessarily. Run a phpinfo() and look in the configuration for --with-gd.
--
S. Keller
UI Engineer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Pkwy.
Anchorage, AK 99508
At 5/29/2003 01:55 PM, Edward Peloke wrote:
I now have php 4.3.2
I'm sorry, I read the version wrong. Feel free to ignore me.
--
S. Keller
UI Engineer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Pkwy.
Anchorage, AK 99508
907.770.6200 ext.220
907.336.6205 (fax)
Hi,
From my personal recent experience, I can tell you that processing a lot of
echo's thru classes is a heck of a lot slower than just doing it the normal
way. Although I wouldn't have done this particular project any other way, I
do with that I could get it to display faster. Its not
Help! :-)
Have a need for a pop up window to show images when the thumbnail is
clicked. But the script I found only shows the image and no background,
etc. I want to be able to have the pop up open and then send it a php
created dynamic page with the proper html and image.
In perl I know
would this still be in phpinfo? I am running apache on windows and all I
did was move unzip the binaries to my php folder, then move the dll into my
windows system directory...phpinfo now displays version 4.3.2but maybe I
need to do more...I was using 4.2.x before I upgraded.
-Original
Still new to PHP - any assistance would be very much appreciated...
I am using a php script to send info to a local file for mail filtering.
Whe the php script sends the following:
fputs($nf, MAILDIR=$MAILDIR # Default mail directory\n);
the output actually has a chr 13, 10
ProcMail interprest
Hi. I've set up a membership site that has different levels of users. Each
member's DB record has a user_status field that has a number from 1-9, 9
being the highest (Admin) level of access. This has worked okay, but, I'm
finding this system of granting access too limiting, and need finer control
Nevermind, I got it working with a few ini changes...
Thanks,
Eddie
-Original Message-
From: Steve Keller [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 2:24 PM
To: Edward Peloke; [EMAIL PROTECTED] Php. Net
Subject: Re: [PHP] imagecreatefromjpeg()
At 5/29/2003 01:55 PM, Edward
Hi,
You could put them into an array and sort the array.
cheers,
Catalin
Ef [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
How can i do for the moment i open and list all file there, display in the
browser the order of this files by name ?. I have this code:
Hi,
If indeed \n puts CRLF pairs, which i doubt,
you can use the hex code for LF which is 0x0A
istead.
Cheers,
Catalin
Michael Isaacs [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Still new to PHP - any assistance would be very much appreciated...
I am using a php
Hi,
Simply put: it doesn't work; you have to put it by hand there,
or use the ini_set function in all PHP scripts you need.
Cheers,
Catalin
Ananth Kesari [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Can we use one PHP.INI directive to set the other?
What I
At 5/29/2003 02:42 PM, Edward Peloke wrote:
Nevermind, I got it working with a few ini changes...
All rightee. Glad I could help.
--
S. Keller
UI Engineer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Pkwy.
Anchorage, AK 99508
907.770.6200 ext.220
907.336.6205 (fax)
Hello All!
I hope someone can give me some good advice,
I'm trying to write a PHP script to make it easy for me to do my ebay
auctions, and I'm having problems dealing with the Cookies at Signin.
I _BELIEVE_ ( but I'm not sure ) that the problem is all about the
cookies.
I forget what site I
This should be fairly easy. It sounds like the script you are using is
opening only the image in a new window, and not a page that loads the image
in a new window.
Just add some Javascript to the links around your thumbnails, like this:
a
?
$random = gmp_random(10);
echo $random;
?
how to do that it echoes a random number and not a
Resource id #1,
--
Marius
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would imagine that you have to add:
$random = gmp_strval($random);
In between the two lines to convert the resource to a string value.
Wes
On Thursday, May 29, 2003, at 04:24 PM, Marius wrote:
?
$random = gmp_random(10);
echo $random;
?
how to do that it echoes a random number and not a
Does anybody know of a way under php to add a background sound to a
webpage...i have sound on my page when it's local but as soon as I copy
it to the server, nothing :(
thanks
-bobby
Bobby Brooks
[EMAIL PROTECTED] http://bobby-brooks.com
Public Key = bobby-brooks.com/pubring.pkr
Simulated
Have you copied the sound file to your server as well?
Jordan
Bobby wrote:
Does anybody know of a way under php to add a background sound to a
webpage...i have sound on my page when it's local but as soon as I copy
it to the server, nothing :(
thanks
-bobby
Bobby Brooks
[EMAIL PROTECTED]
Php is on the server, not on the local client
You can make it with Flash
-Message d'origine-
De : Bobby [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 29 mai 2003 21:39
À : [EMAIL PROTECTED]
Objet : [PHP] sound
Does anybody know of a way under php to add a background sound to a
webpage...i
I know that...i'm just curious if somebody knows of a bit of php code
outside of the usual html embed src and background tags for sound on a
webpage...and I'm trying to avoid having to add flash unless I have
to...but yes that is an option
Thanks
-bobby
-Original Message-
From: Julien
Hi:
On Thu, 29 May 2003, Jaime Diaz wrote:
I would like to know wich is the best way to program in PHP, is it OO or
structured, because I red in a book that if I program in OO PHP the
performance of the page is slower than programming it in structured.
But if i have a big web site isn´t it
Negative. Sounds are client side, PHP is server side.
-Original Message-
From: Bobby [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 3:45 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] sound
I know that...i'm just curious if somebody knows of a bit of php code
I'm guessing perhaps you didn't upload the sound to the server when you
uploaded the webpage?
Slide
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Are you appending a newline to your passphrase?
$passphrase = my gnupg passphrase\n;
On Thursday 29 May 2003 06:56 am, you wrote:
From the GnuPG docs:
--passphrase-fd n
Read the passphrase from file descriptor n. If you use 0 for n, the
passphrase will be read from stdin. This can
?php echo $random = gmp_intval(gmp_random(10)); ?
On Thursday 29 May 2003 01:24 pm, Marius wrote:
?
$random = gmp_random(10);
echo $random;
?
how to do that it echoes a random number and not a
Resource id #1,
--
Happy shall he be, that taketh and dasheth thy little ones against the
I just tried, but that didn't correct the problem - the output.txt file
is still not generated:
?
$command = /usr/bin/gpg --homedir=/path/to/homedir/.gnupg
--no-secmem-warning --passphrase-fd 0 --always-trust --yes --output
/path/to/homedir/.gpgkeys/temp/output.txt --decrypt
How do you send attachments when sending e-mail uisng the mail() command?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel,
Switch register_globals back on, and everything works as it always did.
So do it!
All this fuss about register_globals being insecure is a complete load
of rubbish. This issue really bores me, but it seems programmers are
wasting a lot of time on it, so I guess I'd better run through
At 23:20 29.05.2003, Artoo Smith said:
[snip]
How do you send attachments when sending e-mail uisng the mail() command?
[snip]
If you want to use the builtin mail() function you gotta construct the
complete MIME
Questions, I have a
cusotmer using a basic username and password
verifier on a php Web Page.
This was working and suddenly with I redefined the php environment,
the php variables are not getting passed on.
why?
--
Member - Liberal International On 11 Sept 2001 the WORLD was violated.
This
1 - 100 of 155 matches
Mail list logo