2012/1/28 Mihai Anghel
If you enable notices you will see that PHP outputs this : Notice:
ArrayIterator::next(): Array was modified outside object and internal
position is no longer valid.This line seems to be the problem //Test
if next stream is an option for ( $iterator->next();
$iterator->vali
mostly MVC, Singleton and Factory. depends on requirements.
On Fri, Feb 17, 2012 at 1:26 PM, Negin Nickparsa wrote:
> I have a Gams application<
> http://interfaces.gams-software.com/doku.php?id=env%3aspawning_gams_from_php
> >
> which I want to run it through php code after trying many things finally I
> found that for running in commmand line I should g
give the full path of trnsport_php.gms too.
shell_exec should be working fine on windows as well.
replace \ in path with /
then should work fine on windows too.
On Fri, Feb 17, 2012 at 2:19 PM, Stuart Dallas wrote:
> On 17 Feb 2012, at 12:12, Negin Nickparsa wrote:
> > if (($out = system(' "C:/Program Files/GAMS23.7/gams.exe "C:/Program
> > Files/GAMS23.7/trnsport_php.gms')) !== FALSE)
> > {
> > print('Not error!');
> > printf('Output is "%s"', $out);
>
ERRORNULL
maybe program Files which has space should have something like \ which I
don't know ha?
or because of Null It is correct?
means false.. it cannot find the path. you have problem with path.
;dir')
> shows me files of C:\Program Files\GAMS23.7
> then it shoud run the command gams.exe transport.gms without giving
> pathfiles
>
> what's wrong here?
> what reason is here for setting path files?
>
>
> On Fri, Feb 17, 2012 at 5:06 PM, Fatih P. wrote:
well then fix it. i m not using editor.
On Mon, Feb 20, 2012 at 8:57 PM, Jay Blanchard <
jay.blanch...@sigmaphinothing.org> wrote:
> Does this work?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
it works
On Thu, Feb 23, 2012 at 8:49 PM, Rick Dwyer wrote:
> Hello all.
>
> I perform a SQL query like the following:
>
> $sql = 'select * from my_table where id="10"
>
> It returns the the following array for 3 records:
>
>
> Array ( [0] => Array ( [cb] => 2 ) [1] => Array ( [cb] => 6 ) [2] => Array
> (
So, to use my existing function, how do I get the following array to look
> like the above one:
>
>
> Array ( [0] => Array ( [cb] => 2 ) [1] => Array ( [cb] => 6 ) [2] => Array
> ( [cb] => 1 ) )
>
>
> --Rick
>
>
>
> On Feb 23, 2012, at 2:08 PM
On Fri, Feb 24, 2012 at 3:58 AM, Daniel Fenn wrote:
> Hi,
>
> Just a quick question, will I be able to run Apache 2.4.1 and php
> 5.3.10 together? Or will I need to wait for php to be updated? I'm
> setting this up on CentOs 6.2
>
> Regards,
> Daniel Fenn
>
> --
> PHP General Mailing List (http:/
On Thu, Mar 1, 2012 at 10:43 AM, Robert Nilsson wrote:
> Hi,
> Ok, I admit -I'm lazy!
> Been asked to make a reporting tool, what and how many hours spent on
> Possible with a save option, to enable continuously adding during the
> week, before sending off by mail to manager and one self.
>
>
On Wed, Mar 28, 2012 at 9:26 PM, Alexis wrote:
> I am hitting my head over a problem with Mime Mail...which i am hoping
> some kind some can help me out on please
>
> The email is sent out fine and when viewing the source, appears to be
> fine, however neither the body of the email, nor the attac
On Wed, Mar 28, 2012 at 11:44 PM, Alexis wrote:
> If I insert the full stop after the \n then the output stops just before
> the fullstop.
>
> Currently I have \r\n \r\n
> That is a space between the two sets of \r\n's. I tried it without any
> spaces and still got the same result.
>
> Would it
Greetings, when compiling PHP with the 'with-mysql' option I get an
warning against using the built-in mysql support. So, I tried
'--with-mysql=/path/to/mysql.so and got the following error:
Cannot find MySQL header files under...
What are the names of the mysql header files this message is tal
Installed a new PHP last night because I wanted to start using PEAR.
When I use 'pear' from the command line a few funny things happen.
Among them are a bunch of errors like the following:
PHP Warning: Function registration failed - duplicate name -
mysql_connect in Unknown on line 0
PHP Wa
Hrm, I restarted apaches and got the following:
[warn] module php4_module is already loaded, skipping
Is there a way to restart the PHP DSO?
On Jun 1, 2004, at 8:56 AM, Jough P wrote:
Installed a new PHP last night because I wanted to start using PEAR.
When I use 'pear' from the comm
Greetings all,
I'm doing all my PHP development on my iBook running OS X. I'm
currently working on a messaging tool for a website. When the messages
are posted on my iBook the single quotes are escaped properly. When I
upload the same *.php files to the server the single quotes are
preceded
Greetings all, just installed Fedora with the bundled PHP Version
4.3.4. Upon calliing mysql_* functions I get errors like:
Fatal error: Call to undefined function: mysql_pconnect() blah blah blah
A call to phpinfo() reveals it was configured with:
--with-mysql=shared,/usr'
And doing a "locate m
Hi all, I'm having trouble installing PHP 5 on a Fedora Core 2 box. I
get through ./configure fine but during the make I get errors like
this:
ext/pcre/php_pcre.lo(.text+0x2e38):/home/jough/php-5.0.0RC3/ext/pcre/
php_pcre.c:1482: undefined reference to `php_pcre_exec'
collect2: ld returned 1
. After looking at the output
of phpinfo() I saw that pcre was still enabled. Don't know why it was
causing errors though. But at least it's solved!!
On Jul 2, 2004, at 1:19 PM, Jough P wrote:
Hi all, I'm having trouble installing PHP 5 on a Fedora Core 2 box.
I get thro
Greetings all, I have a real simple function. I works well on JPG
images but ImageCopyResized(), or ImagePNG() doesn't seem to be
working. When I view the uploaded file it is still it's original size.
Here is the function. I hope someone can help me, I'm pretty stumped.
function transfor
yup, you were right. I was naming the image "image.png.png". DOH!
been a long week
Thanks!!
On Jul 9, 2004, at 6:42 PM, Jason Wong wrote:
On Saturday 10 July 2004 06:38, Jough P wrote:
Greetings all, I have a real simple function. I works well on JPG
images but ImageCopyRes
Greetings all,
I upgraded to MySQL 4 on a Redhat Enterprise box. I recompiled PHP
4.3.6 and a look at phpinfo() reveals that the old mysql client API is
still being used. So, I moved the mysql.so to my home directory hoping
that when did ./configure and make again it would create a new one.
using the mysql
3.23 client API. I've upgraded the dev server and my laptop to have
PHP5 and MySQL 4 successfully but can't manage to get PHP5 to use the
MySQL 4 client API.
On Jul 20, 2004, at 6:47 PM, Jough P wrote:
Greetings all,
I upgraded to MySQL 4 on a Redhat Enterprise box. I
Thanks. I just stopped mysql and when I try to start it again it throws
another set of errors:
chown: changing ownership of `/home-public/mysql6': Operation not permitted
So I guess something is messed up completely. I wish I installed it better.
Now the installing is messed up I guess with all s
oding something :)
On Sun, May 11, 2008 at 12:27 AM, Nathan Nobbe <[EMAIL PROTECTED]>
wrote:
> On Sun, May 11, 2008 at 1:22 AM, Rahul P <[EMAIL PROTECTED]> wrote:
>
>> Thanks. I just stopped mysql and when I try to start it again it throws
>> another set of errors:
>
On Sun, May 11, 2008 at 12:42 AM, Nathan Nobbe <[EMAIL PROTECTED]>
wrote:
> On Sun, May 11, 2008 at 1:29 AM, Rahul P <[EMAIL PROTECTED]> wrote:
>
>> Oh... This is the fourth time I'm doing that except that this time yum
>> installed mysql6 instead of older
Ok I removed mysql using yum remove mysql. But is there a special way to
tell yum to install that version of mysql?
On Sun, May 11, 2008 at 12:44 AM, Rahul P <[EMAIL PROTECTED]> wrote:
>
>
> On Sun, May 11, 2008 at 12:42 AM, Nathan Nobbe <[EMAIL PROTECTED]>
> wrote:
>
Well I thought it has something to do with EasyPHP because I'm able to use
Remote Desktop Connection of Windows. Actually I've been using EasyPHP
through RDC but I thought I could use it directly...
On Sun, May 11, 2008 at 12:44 AM, Nathan Nobbe <[EMAIL PROTECTED]>
wrote:
> On Sun, May 11, 2008 a
Ok. I apologize for the mix. When I'm mailing someone, I simply don't get
Google into mind. :)
Thanks,
Rahul
On Sun, May 11, 2008 at 12:53 AM, Nathan Nobbe <[EMAIL PROTECTED]>
wrote:
> On Sun, May 11, 2008 at 1:46 AM, Rahul P <[EMAIL PROTECTED]> wrote:
>
>> O
Looks like it is closed... Thanks. I will pay a visit to the Root... You've
been of great help...
Thanks
Rahul
On Sun, May 11, 2008 at 1:00 AM, Nathan Nobbe <[EMAIL PROTECTED]>
wrote:
> On Sun, May 11, 2008 at 1:48 AM, Rahul P <[EMAIL PROTECTED]> wrote:
>
>> Well
Hello,
I am trying the run an external application with
command line arguments using PHP under linux.
ie:
$command="myprog $arg1 $arg2 > textfile.txt";
system("echo \"$command\" > test.txt");
system($command);
$handle=fopen("textfile.txt","r");
if($handle!=NULL)
{
while(!feof($handle))
Yes, that is a similar problem and sounds very much like
what I am experiencing.
Peter
Quoting Michael Jonsson <[EMAIL PROTECTED]>:
> Hi,
>
> I can run any external program like ls, cp, uptime...
> But if a try to run my shell script a get error.
>
> $passwdexe = "sudo /usr/bin/webpa
Quoting Adam Zey <[EMAIL PROTECTED]>:
>
> Looking at your $command, there is no path in front of it. It's likely
> that PHP's shell doesn't have the program in its PATH. Try manually
> specifying the full path to the command:
>
> $command="/home/peter/myprog $arg1 $arg2 > textfile.txt";
>
> (
Hello,
This problem has now been resolved.
The problem as described below was NOT caused by
PHP. The problem was actually a file permissions/ownership problem.
A.) The apache webserver runs as a user with specific
priviledges. On this particular server the webserver runs as user
'apache'.
B.) Th
Hi. There seems to be a minor error in the page
http://www.php.net/manual/en/features.file-upload.php. In Example 38-2
"Validating file uploads", there is a line:
$uploadfile = $uploaddir . basename($_FILES['userfile']['name']);
It looks like basename() is not required there. Because i found t
Hi. First thanks for the replies.
Can anyone confirm that the php 5.2.0 engine takes the file name from the
path automatically and so basename() can be omitted? I understand that
leaving basename() in the code won't hurt, but I need the info for other
purpose. Thanks.
> Hi. There seems to b
(Know enough to be dangerous beginner...)
Routine for a web login asked user name and password.
User Name is entered correctly.
Password is Incorrect.
Next Try.
User Name is enter correctly.
Password is Entered Correctly.
PHP notifies me on the html output that I am logged in. However, an
27;m using? Using EnginSite. Is there a better one for
a Windows Environment ?
( head banging against wall )
-Pete
P. Guethlein wrote:
(Know enough to be dangerous beginner...)
Routine for a web login asked user name and password.
User Name is entered correctly.
Password is Incorrect.
This seems like it should work, but the option statement is just
filling in one line of datahm... the names have multiple
territories (ID's), so I want to have one name associated with one
territory ID ( other stuff happens elseware...).
//building list of names and their territory ma
Initial index.php file:
=
Hackers seem to be able to call a remote script by appending the URL
to the href= command line . ( $include )
What buttons do I need to push to stop this? Does PHP have a setting
to allow only local calls? or do I have to do it in the ind
I'm at one of those frustration levels can't seem to get a
script working that will post and upload a file to the server. I"m
working with the below. Can you help?
0) print "Your file(s) has been uploaded.";
echo '
Send this file:
';
?>
--
PHP General Mai
offer any other insight before my laptop sails into the
wall ?
Thanks, -Pete
At 02:03 PM 05/21/2006, tedd wrote:
At 1:52 AM -0700 5/21/06, P. Guethlein wrote:
I'm at one of those frustration levels can't seem to get a
script working that will post and upload a file to the s
It worked perfectly!
ES Simple Uploader Script located at
http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/Upload_Systems/index.html
If anyone else is on their learning curve...
-Pete
At 04:56 PM 05/21/2006, P. Guethlein wrote:
I'm still very frustrated trying to f
Jay,
Thanks for the response. I finally found a script that actually
worked immediately. I posted the link in an earlier message. I
found the authors directly link
here http://www.energyscripts.com/Products/product2.html
for others that may need help.
-Pete
At 05:23 PM 05/21/2006, you wr
Anyone have any recommendations/Links to Shopping Cart Software that
will run on Windows/Apache/PHP ?
Thanks, -Pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greetings, all. I'm trying to upload and crop an image. I'm not able
to do it without the quality of the image suffering. I've fiddled with
the quality parameter in the imagejpeg function but it seems to have no
effect. I've tried varying values and leaving the parameter out
altogether.
An
imagecreatetruecolor() helps a lot! thanks very much!!
On Feb 17, 2004, at 4:48 PM, craig wrote:
Greetings, all. I'm trying to upload and crop an image. I'm
not able
to do it without the quality of the image suffering. I've
fiddled with
the quality parameter in the imagejpeg function but i
Greetings all, I'm getting "Notice: Undefined offset" regarding this
line of code while inside a for loop:
if($this->inputs[$i] == "user")
I assume the 'offset' that is undefined is $i. But $i is defined is
the for statement above it.
Here's the while function:
function draw()
{
e
Oops, in my previous email I meant to say "Here's the WHOLE function".
sorry about the typo, hope I didn't confuse...
On Mar 1, 2004, at 9:58 AM, Jough P wrote:
Greetings all, I'm getting "Notice: Undefined offset" regarding this
line of code while ins
I've used both the 'sizeof' functions and 'count'
On Mar 1, 2004, at 10:03 AM, Stuart wrote:
Jough P wrote:
Greetings all, I'm getting "Notice: Undefined offset" regarding this
line of code while inside a for loop:
if($this->inputs[$i] == &q
10:15 AM, Raditha Dissanayake wrote:
could be your $i > length of array
Jough P wrote:
Greetings all, I'm getting "Notice: Undefined offset" regarding this
line of code while inside a for loop:
if($this->inputs[$i] == "user")
I assume the 'offset' that is
Anyone else had this problem where one of your PHP pages produces some
output for a user to click on. The user clicks on one of these links
which causes some behavior, then clicks their browsers BACK button.
Now the original PHP page is producing a parse error.
My particular parse error says:
Just in case anyone is interested, this problem with the BACK button
happens with the Safari browser on a Mac OS X machine. I've discovered
that the problem can be solved by emptying the browsers cache.
On Mar 8, 2004, at 7:43 PM, Jough P wrote:
Anyone else had this problem where one of
i am storing images in a postgres database and i have set up a little
php file to retrieve them in such a way that i can do:
echo "";
...from another php file.
it's working great, BUT i've noticed two things that bother me:
[1] if someone wants to download an image, they can, but it will be
dow
Well, since I'm using the latest version of the PHP plugin, it can't be that I'm using
the $_FILES variable ($HTTP_POST_FILES is for older versions of php as far as I know).
Nevertheless, I tried it.. and it didn't work.
To clarify my problem.. I'm using a form to get a file name and some other
hello,
what do I have to change in php.ini, to allow thr
ini_set("memory_limit",-1);
command?
It doesn't work in my script...
regards
Joerg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try sending them via POST
""Ross"" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> Can you give me a quick emaple of how this would work, with an array.
>
> I have an array of errors ($errors[]) for a form, when the errors are
> trigger, I am trying to send them to a window which t
.
Florian P.
"Jasper Bryant-Greene" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Florian Paucke wrote:
> > I need some help from you, because, I'm creating a
> > guestbook. But I have a little problem.
> >
> > I
Hi.
What kind of webservices do you mean???
Do you mean Guestbooks? Or do you mean Forums? Or what else?
Greets
""Gustav Wiberg"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi there!
>
> I want to learn about creating webservices with PHP? (Is it possible with
> PHP 4.
hello,
I have some words with german special chars in mysql. When I print those
strings direct as xml to the browser, everything seems fine. But there
is one 'ä' that makes me crazy. It always appears as a ? in Firefox and
even makes an error in ie.
But other 'ä's are ok.
What could I d
Sounds like there's no swap space left to me...
-jp
> -Original Message-
> From: Dustin Butler [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 26, 2001 11:11 PM
> To: 'Jeroen Jochems'; php-general (E-mail)
> Subject: RE: [PHP] Strange problem
>
>
> There are FTP functions if it's an F
to something higher by typing 'ulimit -u '. If you're using a
different shell, do a man on the shell and look up ulimit.
johnny p.
> -Original Message-
> From: Daniel Williams [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 8:57 AM
> To: [E
,2300,2500,2600,2700) {
if ((($year == $key) && ($month > 2)) || ($year > $key)) {
$day_count--;
}
}
If anyone cares to translate into php, might be nice to have, but
doesn't php have a pretty good set of calendaring func
the maximum filesize
accepted. The value is in bytes.
johnny p.
> -Original Message-
> From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] copy() ??
>
>
> I'm trying to
Add the FollowSymLinks to your httpd.conf file for that directory. I
don't recommend doing this, tho, since it *is* a security hole.
Options Indexes FollowSymLinks
johnny p.
> -Original Message-
> From: david klein [mailto:[EMAIL PROTECTED]]
> Sent: Wednesd
ntry/
http://www.bastille-linux.org/
Just my humble and paranoid opinion from past experiences. :)
johnny p.
> -Original Message-
> From: david klein [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 2:04 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject
ile);
$files[$some_dir."/".$file] = $mtime;
}
}
closedir($DIR);
asort ($files);
reset ($files);
**
PHP's filemtime is equivalent to perl's (stat())[9], which returns
the modification time of a file.
PHP's filetype($file) is equivalent to the grep
what they're looking for. Look at what
the client thinks they're getting. Use anything you can to find out
what the client's price range is and then set your prices in the middle.
And also, everything can be negotiated.
my 2 cents...
johnny p.
> -Original Message---
I agree. I have a separate maintenance agreement for additional changes
and updates and charge them a pre-specified hourly rate.
thanks for the advice... been bit a couple times before, tho. good for
others to read.
johnny p.
> -Original Message-
> From: Jeff Oien [mailto:
Hah! My wife has a formal education in graphics design. My web sites
would look like crap without her extensive layout skills. :) I'm so
lucky...
johnny p.
> -Original Message-
> From: Jerry Lake [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 12:11 P
Well, I think the equivalent PHP function to VB's eval() function is...
eval().
go to:
http://www.php.net/manual/en/function.eval.php
HTH,
johnny p.
> -Original Message-
> From: ¹æÃ¢Çö [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 02, 2001 8:11 PM
> To:
What is the expression that seems to be failing? give an example,
perhaps it's your code.
johnny p.
> -Original Message-
> From: Shawn J. Wallace [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 05, 2001 8:09 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Which Rege
If that works, then just use that.
johnny p.
> -Original Message-
> From: Shawn J. Wallace [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 05, 2001 8:17 AM
> To: johnny p.
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Which Regex library?
>
>
> Ok, this is from
I'm not sure where it is, but I agree that you are missing a curly brace
somewhere. Take a break from your code for a bit, come back to it, and
start matching braces. I suggest getting a coffee or some tea.
johnny p.
> -Original Message-
> From: April [mailto:[EMAIL PROTECT
Hi to all,
Sorry for this post I know this is a mysql related question, i just wanna
have other comments.suggestions from this list.
I have a problem regarding date queries in mysql. Im creating inventory
reports in PHP. I want to query from the date field a weekly report for a
specific month, ye
change
the Unix EOL chars to PC EOL chars?
Thanks in advance.
- Best regards,
Lee Reilly
*[http://216.239.33.100/search?q=cache:GwerlDVFv8wC:linux.sarang.net/ftp/mirror/development/language/php_cvs/php4/php.ini-dist+MAC+EOL+character+PHP&hl=en&ie=UTF-8]
--
Lee P. Reilly,
.e.
> $fp = fopen($file)
> while ($filerow = fgets($fp,1024)) /* Read 1024 bytes or to EOL, whichever
> is first) */
> {
--
Lee P. Reilly, ms:G758
Szilard Resource, tel:505-665-7025
Bioscience Division,
SM-30 Bikini
> $size = strlen($filerow);
> $row_split = preg_split("/\s+/", $filerow);
>
> $value1 = $row_split[0];
> $value2 = $row_split[1];
> $value3 = $row_split[2];
> }
>
> Matt
> - Original Message -
> From: Lee P. Reilly <[EMAIL P
t is binary safe.
>
> Matt
> - Original Message -
> From: Lee P. Reilly <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 26, 2002 4:09 PM
> Subject: Re: [PHP] Upload problem - PC, *nix, and Max EOL characters
>
> >
> &g
hi to all;
sorry for posting this mysql question again. im searching for a report
builder for mysql specifically for creating reports for
invoice/receipt..etc.
just like crystal reports and oracle report builder. or is there any
suggestion to do it in PHP .
any idea? thanks in advance
Regard
Hi to all,
Sorry for this kind of post but i cant find a better mailing list for
javascript.
I have a problem in refreshing my php page script. Im using javascript to
open new window for editing purposes. But i want my opener opener page to
auto reload upon submit in my new window.
Any idea? tha
Hi there,
This might be better suited for an Apache newsgroup, but I thought I'd
try here first. I installed Apache and PHP on RH8 a few weeks ago
following the instructions on [URL 1, below], and both were running with
absolutely no problems. Today however, I rebooted my machine and
http://localh
Hi,
I've ran into a problem using the passthru/exec commands with RH8. When
I try and run my program (or even "pwd", "ls", etc) the number '127' is
returned every_time. With passthru, the size of the optional return
array is 0. Can anyone fathom a guess at the problem? Is the 127 value
signifcant?
Ahhh... no reply necessary.
safe_mode :-o
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there,
I am having problems with passthru, exec, etc. on Red Hat 8 (w/ PHP
4.2.3; Apache 1.3.27). When I use passthru / exec to execute "pwd" or
"ls-al" I have no problems executing & viewing the output. However, when
I try and execute a program using the command line e.g "./lee54 <
GNOM_FILE_g
Hi there,
I'm currently using PHP 4.2.2 and I am have encountered some problems
when trying to access $HTTP_POST_VARS. The following statements have the
following return values:
echo $HTTP_POST_VARS['userfile'];
=> C:\\Documents and Settings\\Administrator\\Desktop\\IR Files\\gmp1.ir
echo $userf
Thanks for all the replies. However, I still have problems as the following code
produces the following output:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
echo "0: " . $userfile . "";
echo "1: " . $HTTP_POST_FILES['userfile']['size'] . "";
echo "2: " . $HTTP_POST_FILES['userfil
Problem solved:
I forgot to add the enctype to the original FORM tag.
Cheers,
Lee,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My sysadmin just complied 4.2.3 on my Apache web server but is out of town
for the next few weeks. Problem is, all my PHP/domxml stuff is SHOT and
won't work at all anymore. Does anyone know where I can track down the
documentation for 4.2.3, specifically the code changes in domxml. The
changelog's
Hi to all;
Just a little question about OOP. I'm just confused with the symbol '->' .
In the article that i've red :
#this reads "change the value of the variable $head within this class to
black
$this->head="black"
#how do i read this line
$this->head->prev=NULL
I'm just confused with this li
Hi to all,
Is there anyone who could help me regarding php-cli in windows. What should
be the syntax to make the screen clear before echoing something?
Is there a good reference in php-cli?
Thanks in advance for the replies.
mike
--
PHP General Mailing List (http://www.php.net/)
To unsubs
t should do it for you...
>
> example:
>
> exec( "cls" );
>
> That should do it for you...
>
> Ray
>
> On Mon, 2003-02-10 at 21:20, Michael P. Carel wrote:
> > Hi to all,
> >
> > Is there anyone who could help me regarding php-cli in windows
Hi there,
I'm moving an application from Windows -> Linux, and am having a problem
with the database. I have the following script to test my database
connection (Linux):
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
$connection = mysql_connect("localhost","","") or die
Hi to all,
Im receiving a Fatal error: Call to undefined function:
imagecreatefromjpeg() .
Do i need to recompile PHP?
mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] image creation error
> This one time, at band camp,
> "Michael P. Carel" <[EMAIL PROTECTED]> wrote:
>
> > Hi to all,
> >
> > Im receiving a Fatal error: Call to undefined function:
> > imagecreatefro
i've already installed gd but still recieving
Fatal error: Call to undefined function:
imagecreatefromjpeg() .
- Original Message -
From: "Michael P. Carel" <[EMAIL PROTECTED]>
To: "Kevin Waterson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent
101 - 200 of 693 matches
Mail list logo