Hi All, it's my first post here.
I've got a problem with the upload. I want to upload a 4Mo file on the
server but it refuses to work. I modified the max_upload_size in the php.ini
but it continues to refuse the transfer. If I upload a smaller file it works
fine.
Someone told me to modify the
Hi, I am looking for Web host that offers the best deal plus postgreSQL
support. Could anyone come up with the best one? The best deal would
include Telnet access and cost as low as round $15/per month. Thanks.
_
MSN Photos is
We have just taken a contract for a dedicated server, and I tried rather
hard to get it to be a Linux server. The killer for that was that we
have a significantly complex site that will need to be migrated to the
server which has been coded in asp - which leaves us rather stuck with
Windows
Sorry - I'm being clear as mud! We have an existing site which will need to live on
the server - I'm looking at new development. The two don't need to work on the same
thing - there's no question of recoding that site as coldfusion.
- M
Rasmus Lerdorf [EMAIL PROTECTED] 04/11/02 08:37am
But
see what's wrong here:
ereg('(^[0-1231]$).jpg$',$file_name)
[] meens a group of characters, so in your case
0,1,2 and 3 are valid characters. you haven't defined any
modifer like ?,*,+ or{}, so one of this characters has to
be found exactly one time. you're using ^ outside the [] so it meens the
typo in the querystring, this should work, i suppose
$queryString = SELECT count(m.*) parxdocs
m.$sureName,
m.$preName,
m.$title,
I have downloaded the GD library and I am wondering how do I install it..
I unzipped it and put it my root. I have PHP version 4.1.1...what else
is there to do? Does anybody have any script for me to test it real quick?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
How to install PHP on Apache 2.0 server?
Sincerely
Marcin Pasieka
Hi!!
i`ve wrote a little script to run under shell, so this script:
#!/usr/bin/php
$saslpasswd = /usr/sbin/saslpasswd -p $username;
$saslproc = popen($saslpasswd,w);
fputs($saslproc, $passwd);
pclose($saslproc);
php-parser gives me the following as output:
#
sh: /saslpasswd: No such file or
Here is what I want to do.
I am taking a poll and I would like to display the results in a bar graph
format. What is the best way to do this.hopefully you will not say GD
library!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$headers = Content-type: text/html\n;
$fromEmail = urlencode( $dbQuery-adminEmail );
$subject = Your new eStore is ready!;
$message = img src=\somedomain.com/images/estore.jpg\brbr::name::,
brYour new eStore is ready at a
href=\http://woodenpickle.com/shop\;http://woodenpickle.com/shop/a.brY
ou
and i'd suggest using eregi instead, because then also .Jpg or .JPG will be
found.
Michael Virnstein [EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
see what's wrong here:
ereg('(^[0-1231]$).jpg$',$file_name)
[] meens a group of characters, so in your
On Thursday, April 11, 2002, at 02:17 PM, Andrey Hristov wrote:
In PHP the programmer has to call the constructor of the super class.
The derived class has to know the name of his super(java syntax).
In PHP5 the constructor will have unified name, there will not be a
need the derived
I'm trying to set $image = imageA via a URL:
http://www.abc123.com/php001/image_switch.php?image=imageA
Script is:
html
head
titleImage Switch/title
/head
body
div align=centerimg src=?php $image ?.gif width=150 height=100
border=0/div
/body
/html
Image link ends up as:
At 10:53 AM +0800 12/4/02, Manisha wrote:
if (is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) {
copy($HTTP_POST_FILES['userfile']['tmp_name'], /img);
Check to see whether that copy function completed successfully.
how ? I put one echo statement after copy which is
On Friday 12 April 2002 10:53, Manisha wrote:
I'd be surprised if you really want to move the file to /img.
And if you're on a Unix system the web server certainly won't
have write access to the / directory.
i tried with complete path starting from root (/usr/web/html/img) and
also
Hello,
This is my first question to the list, I have included as much
information as I feel will help someone find a solution to my problem.
Server: RedHat Linux 7.0, Kernel 2.2.16-22
PHP Version: 4.1.0
Apache Version: 1.3.12
Class name: class.Htpasswd.php3
Problem
I have just started using
On Friday 12 April 2002 05:29, Kevin Stone wrote:
Wouldn't it be more helpful to assume that the individual is simply
uninformed? So isntead of flaming him and calling him stupid you could
say, Check the PHP manual at www.php.net.
Nobody called him/her stupid. In fact it's probably a very
odd, I copied your code, changed the dir to ./ and it works for me
(php4.0.?, winnt)
if dir() doesn't work for you, you might need to use opendir(), readdir(),
etc
-Original Message-
From: Phieu Huynh [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 2:14 PM
To: Martin Towell;
On Thursday 11 April 2002 14:30, Andrew Schoenherr wrote:
[snip]
Problem
I have just started using classes, downloaded from www.thewebmasters.net
web site. I am working on user authentication and I am getting a
parse error when the page loads. Only since I started using the
class has this
On Friday 12 April 2002 09:19, Jennifer Downey wrote:
Actually after the submit button is clicked it returns a blank page.
Jennifer Downey [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
Now I have a weird problem. I am using this code and can't
I also try the following code and still have the same problem.
I am runing php4.0.?, solaris(linux)
$dir_name = /export/home/phuynh/php/main/student/upload/;
$dir = opendir($dir_name);
while (false !== ($file_names = readdir($dir))) {
echo $file_names;
}
closedir($dir);
Martin
At 10:33 PM 4/11/2002 Thursday, Phieu Huynh wrote:
I also try the following code and still have the same problem.
I am runing php4.0.?, solaris(linux)
$dir_name = /export/home/phuynh/php/main/student/upload/;
$dir = opendir($dir_name);
while (false !== ($file_names = readdir($dir))) {
!== is correct - it's checking for type, as well as value
strict non-equality
-Original Message-
From: Phillip S. Baker [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 3:38 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] the document contained no data
At 10:33 PM 4/11/2002
does that code work if you set the directory path to ./ ?
-Original Message-
From: Phieu Huynh [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 3:33 PM
To: Martin Towell
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] the document contained no data
I also try the following code and
Following on the same subject (kinda) of Variable Variables... i have
actually wondered this before... is there a difference between these 2
blocks?? (both should print worldhello if i am not mistaken, but is there
a difference in how the nested variable is handled when it's inside curly
26 matches
Mail list logo