[PHP] Error with file upload: No file uploaded in Unknown on line 0

2002-09-23 Thread Jason Young
! -Jason Young -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error with file upload: No file uploaded in Unknown on

2002-09-24 Thread Jason Young
if this is the only way to do it.. Thanks. -Jason Marek Kilimajer wrote: Turn off notice logging in your php.ini, just keep warnings and errors. Jason Young wrote: I have some code that a user can set a description about an item to be posted, and then add some image files of the item. Its

[PHP] Re: apache problem......

2002-09-24 Thread Jason Young
This seems to be a browser problem, as I often get similar errors when trying to access sites with port numbers. That looks like an IE error.. and I know I have the same problem with Mozilla. Anil Garg wrote: hi in my httpd.conf i have added a virtual host as: VirtualHost 10.70.0.215:90

Re: [PHP] Re: Cronjob

2002-09-25 Thread Jason Young
Sorry to butt in :) Arguments to web scripts are done in the format: page.php?arg1=data1arg2=data2 So you would use that full string as the lynx path. Hope this helps :) -Jason Daren Cotter wrote: Thanks for the info Chris, it works! How do I pass arguments to the script? I'm assuming

Re: [PHP] Re: Cronjob

2002-09-25 Thread Jason Young
, both $argc and $argv are blank. Is this a php.ini setting I need to change or somethign? --- Jason Young [EMAIL PROTECTED] wrote: Sorry to butt in :) Arguments to web scripts are done in the format: page.php?arg1=data1arg2=data2 So you would use that full string as the lynx path. Hope

Re: [PHP] Re: Cronjob

2002-09-25 Thread Jason Young
Daren, This post from Robert explains why you're having trouble :) I forgot the PHP version on my machine doesn't have the register_globals problem. THAT should work. -Jason I'm think you're all forgetting about register_globals being off by default these days... The following may help:

Re: [PHP] Re: Cronjob

2002-09-25 Thread Jason Young
Correction.. isn't it $_SERVER and not $SERVER Jason Young wrote: Daren, This post from Robert explains why you're having trouble :) I forgot the PHP version on my machine doesn't have the register_globals problem. THAT should work. -Jason I'm think you're all forgetting about

Re: [PHP] Re: Cronjob

2002-09-25 Thread Jason Young
Jeez.. pardon me.. $_GLOBALS .. I don't know where I got SERVER from.. *sleeps before posting from now on* -J Jason Young wrote: Correction.. isn't it $_SERVER and not $SERVER Jason Young wrote: Daren, This post from Robert explains why you're having trouble :) I forgot the PHP

[PHP] CLI [Lack of] Performance on Windows

2009-02-01 Thread Jason Young
I'm not much for running PHP on Windows, but I thought that many of the performance issues had been worked out... However, I'm trying to run a PHP through CLI and having a terrible experience with speed. This is running Windows Server 2008 (with a Quad-Core Intel, 4 GB of RAM). My problem

[PHP] Merging two partially-transparent images results in black pixels

2006-03-18 Thread Jason Young
, etc. Any help would be much appreciated! Thank you -Jason Young -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] GD/Freetype text problems with bold or size 8

2005-12-21 Thread Jason Young
Currently, I'm running PHP 5.0.4 (only because it's the only one I can get to work on my FC4 x64 install!), but for some reason, using pixel sizes under 8, or using bold fonts, makes the text look horrible. My old host (11 in case anyone else has them..) had this working well, but I have no

[PHP] GD/Freetype text problems with bold or size 8 - Followup

2005-12-22 Thread Jason Young
, had this been standard system fonts in a browser or other application. If anyone has had experience with rendering text, I would really appreciate some hints on how to tweak GD to make things look proper. Thanks Jason Young wrote: Currently, I'm running PHP 5.0.4 (only because it's the only

[PHP] Repost: GD/Freetype text problems with bold or size 8

2005-12-27 Thread Jason Young
Is anyone able to assist with this? I need to have 6 point fonts looking like they should, instead of all scrunched up. Paid consultation okay, if that's what's stopping an answer. What needs to be changed in the bundled GD source to make these fonts look decent? Thank you. Jason Young

[PHP] Feasability of Serial functions and constantly running progrms

2003-03-14 Thread Jason Young
After upgrading to RedHat 8.0 and effectively breaking some python caller-id script that I have no clue how to fix.. I'm curious of whether or not PHP would be able to get caller-id data from a modem.. I imagine it could, and probably won't be too difficult to overcome... but I am posing that

[PHP] Too all who are stuck with PHP/Apache2 under RH8

2003-03-17 Thread Jason Young
Just a quick reiteration of something I found that probably most people already know.. but since I went through the painstaking trouble of removing the PHP and Apache RPMs and building them from scratch (I hate building sources), I wanted to make sure this is out there. If you're having

[PHP] Re: mysql timestamp and php date

2002-09-30 Thread Jason Young
In my pages, I just format the date from the SQL query: SELECT DATE_FORMAT(last_modified, '%m/%d/%Y %h:%i:%s %p') AS last_modified (...) Look up the DATE_FORMAT on mysql.com to get a list of the arguments. Hope this helps! -Jason Bryan Koschmann - Gkt wrote: Hello, I have a table with

Re: [PHP] Re: mysql timestamp and php date

2002-09-30 Thread Jason Young
, Jason Young wrote: |In my pages, I just format the date from the SQL query: | |SELECT DATE_FORMAT(last_modified, '%m/%d/%Y %h:%i:%s %p') AS |last_modified (...) | |Look up the DATE_FORMAT on mysql.com to get a list of the arguments. | |Hope this helps! |-Jason | -- PHP General

Re: [PHP] no errors ?

2002-10-02 Thread Jason Young
I noticed that by default, my display_errors was actually OFF, and the only way to see my errors was through Apache's error.log file I don't know if that's already been checked, but... figured I'd try to help. -Jason Gamin wrote: Yes, On both my development machine and implmetation

[PHP] Re: Incrementing the value

2002-10-02 Thread Jason Young
Try $hid++; This automatically increments by one, its just much easier to deal with than +1 .. besides, it wouldn't work on my Win32 platform, either. --Jason Uma Shankari T. wrote: Hello , a href=Delay.php?hid=?php echo $hid+1; ?img src=Gif/nextque.gif border=0/a While clicking

[PHP] Source files (.phps) cutting off prematurely

2002-10-07 Thread Jason Young
Hey guys and gals... I'm not sure if this is Apache, PHP, or a browser issue.. but.. .phps files get cut off while trying to access them in a browser.. anyone ever have a problem with this? I can't exactly calculate where in any particular file its doing this, but refreshing the page causes

[PHP] Re: uploading files

2002-10-07 Thread Jason Young
How are you handling the transfer of files between its temporary area and where it's going to be stored? If you're copying instead of moving, I would imagine the file in the temp directory would still be present. -Jason Donahue Ben wrote: I am uploading a gif file using

[PHP] Re: Weird, weird, weird!

2002-10-08 Thread Jason Young
You're doubling up on your mysql_query's .. the first one runs, and I don't know the ins and outs of PHP, but the second mysql_query causes the resource to not be available... had a similar problem recently. Take the mysql_query out of the $cartquery assignment. -Jason Mike At Spy wrote:

[PHP] Re: who's in the chat?

2002-10-10 Thread Jason Young
What's the chat built in? Is this web-page-based, telnet-based? Is this your code (i.e. you have access to the source and can modify it on-the-fly)? Oliver Witt wrote: Hi all, Here's my problem: I created a web site with a chat. People have to log in to get on the site, but not to get

[PHP] Re: Problems with Fileupload

2002-10-10 Thread Jason Young
Hmm.. I have a page where I can upload up to 9 files at once -- and it works quite well.. However, these are just standard JPG pictures, and wouldn't get anywhere near 3M -- maybe its the way that PHP scripts time out after 30 seconds?? --Jason Sascha Braun wrote: Hi freaks, my image

[PHP] Re: who's in the chat?

2002-10-10 Thread Jason Young
with their cookie data or something.. Is this not what you wanted to do? (I guess I should have asked you to elaborate :) ) Just throwing suggestions out there -Jason Oliver Witt wrote: Jason Young schrieb: What's the chat built in? Is this web-page-based, telnet-based? Is this your code (i.e. you have

[PHP] Re: who's in the chat?

2002-10-10 Thread Jason Young
wrote: Jason Young schrieb: Without knowing how your chat works as far as entering the chat, you DO have to put some sort of name with the person, right? Perhaps you could just update a temp table with their chat name.. Or if you can only get into chat by logging into the site, you could just

Re: [PHP] Argh! nulls un stuff..

2002-10-14 Thread Jason Young
My suggestion would be to checck for isset($_SESSION[temp]) and if ($_SESSION[temp] 0) with quotes .. PHP is very forgiving with data types, and I've found its much easier to keep track of what exactly is going on if I reference everything in a string format. -Jason Sam Masiello wrote:

[PHP] Another odd file problem / Limit on File uploads?

2002-10-15 Thread Jason Young
Hey yet again... I've got a 3x3 grid of type 'file' input elements, for a nifty total of 9 upload spaces.. After specifying a file in all 9, and attempting upload, I only got 5.. I noticed the total filesize was 2 megs, so I changed the php.ini to 8.. yet I still got that problem. So I

[PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread Jason Young
Can't anyone help me with this? :-/ Read below... I wrote: Hey yet again... I've got a 3x3 grid of type 'file' input elements, for a nifty total of 9 upload spaces.. After specifying a file in all 9, and attempting upload, I only got 5.. I noticed the total filesize was 2 megs, so I

Re: [PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread Jason Young
at a time?? -Jason Paul Nicholson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you post the values of the post_max_size, upload_max_filesize, memory limit ini settings? ~Paul On Tuesday 15 October 2002 03:21 pm, Jason Young wrote: Can't anyone help me with this? :-/ Read

Re: [PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread Jason Young
pm, Jason Young wrote: Sure.. post_max_size = 10M upload_max_filesize = 8M memory_limit = 8M As I said before, however.. even without throwing files there, my loop test code only spits out '01234', meaning that its only looping 5 times through the code before exiting... Does file

[PHP] $_FILES posting limited to 5?

2002-10-16 Thread Jason Young
I'm going to approach this question in a different way, in case some people were put off by the complexity of it yesterday. For all those who don't know my question from yesterday, I have a form where I can upload up to 9 files at a time. Unfortunately, only the first 5 of those files are

[PHP] Re: $_FILES limited to 5? (Server versions)

2002-10-16 Thread Jason Young
Just wanted to let everyone know: PHP version is 4.2.1 Apache is 1.3.24 Running WindowsXP Pro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Odd finding while researching $_FILES

2002-10-16 Thread Jason Young
Without going into the process of how I came to do this, I just wanted to throw out there that even if you only have 1 file input, it still seems to loop 5 times... Is this something with my code... -- $current = 0; while (list($key) = each($_FILES['picname'])) { echo $current;

Re: [PHP] $_FILES posting limited to 5?

2002-10-16 Thread Jason Young
BEAUTIFUL! This was the problem... it wasn't that there was a limit of 5 maximum uploads, it was just that my 'while' statement was only counting as many fields as the first sub-array for $_FILES.. which is 5. Tom, thanks a bunch! -Jason Tom Rogers wrote: Hi, Wednesday, October 16,

Re: [PHP] Blank PHP pages.

2002-10-16 Thread Jason Young
Make sure all of your code is executing properly. I had this problem for a little bit, actually. Edit your php settings to give you errors on the output, or just check your server logs.. there's gotta be something there. Just one problem and my whole PHP page failed to print anything within ?

[PHP] Problem with fputs/fgets

2002-10-16 Thread Jason Young
I'm in the process of writing a very very simple web-based email client, just for my personal use, so I can perm-delete all the spam that comes in through the day on my home account before i get home. On the very first connect, its great.. connects, does a 'uidl' which lists all the mail

[PHP] Re: Problem with fputs/fgets - Scratch that.

2002-10-16 Thread Jason Young
Scratch this.. as some of you probably have already picked up on.. I failed to terminate my 'top' line .. Sorry for that 0:) -J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_FILES posting limited to 5?

2002-10-16 Thread Jason Young
Yeah, this has been worked out already - turns out I was looping on the file elements themselves (size, name, tmp_name, etc) isntead of the actual number of files. Thanks for your reply tho! :) -J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Problem with fputs/fgets

2002-10-16 Thread Jason Young
and it does work on pop3 servers. ~Paul On Wednesday 16 October 2002 05:02 pm, Jason Young wrote: I'm in the process of writing a very very simple web-based email client, just for my personal use, so I can perm-delete all the spam that comes in through the day on my home account before i get home

[PHP] Re: upload files

2002-10-25 Thread Jason Young
I'm not sure of the backwards compatibility, but if you're running PHP 4.2.x (I think? Maybe it came in earlier) .. use the $_FILES global variable, in place of $HTTP_POST_FILES. The array is exactly the same: $_FILES[name_of_file][attributes] Hopefully this helps? -Jason Cyrille Andres

[PHP] Re: displaying flash from db

2002-10-21 Thread Jason Young
Well how exactly are you using this DB? Are you using a 'blob' type format to actually write the flash binary to the database, or are you using it to keep track of where it is in the filesystem? -J Yonatan Ben-Nes wrote: Hi all! Does anyone know where can i find some information about

Re: [PHP] upload several files

2002-10-29 Thread Jason Young
I was going to post a similar response to this.. but I do recall that Hotmail uses a form where you select the filename and pop it over to a listbox.. then when you submit, it throws all the files into the email.. one page, one form, any number of files (up to 1 or 2 megs, however hotmail's

[PHP] Re: Form variables vs Sessions

2002-10-29 Thread Jason Young
Apologies if I'm being too simplistic here, but make sure that your first page's form elements have something similar to: input type=text name=username value=? echo $username; ? And of course.. that your POST data is being grabbed accordingly by the first page to be able to set those

[PHP] Re: Upload images to server other than web server?

2002-10-29 Thread Jason Young
Does it have direct access to this filesystem? Or maybe FTP access? I've seen a lot of talk about automatic FTP transfers on the list, maybe you can filter the topics and grab something from there? Just a few cents to throw in :) -Jason Greg Macek wrote: This topic may have been covered

[PHP] Code Advice

2002-11-06 Thread Jason Young
I (think I) have come up with an interesting little solution for pages that have/can potentially have a lot of get vars, and I just wanted to throw it by everyone to see if I know what I'm talking about... Instead of having a whole bunch of ... if (isset($_GET['var'])) $var = $_GET['var'] ..

Re: [PHP] Code Advice

2002-11-06 Thread Jason Young
Hmm.. So then can anyone tell me why its working so far? ;) I am trying out every single function in this page in hopes to catch something, but so far I don't see any breakage - I can see there are a few ways to skin this cat.. the original code I posted DOES work.. I still may be blind to

Re: [PHP] Code Advice

2002-11-06 Thread Jason Young
becuase you have register_globals = ON in your php.ini and those variable names are being set by default. Your posted code is actually doing nothing. What I can't figure is why you're not getting any errors. :-\ -Kevin - Original Message - From: Jason Young [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] Code Advice

2002-11-06 Thread Jason Young
for the brain-death. -Jason Ernest E Vogelsinger wrote: At 20:40 06.11.2002, Jason Young spoke out and said: [snip] register_globals is definately off.. Maybe its a PHP miracle, as Ernest suggested.. maybe Rasmus or someone else on the PHP dev team has something

[PHP] Lynx/Apache PHP execution vs. PHP interpreter

2002-11-08 Thread Jason Young
I've got a CallerID program that I've found on Freshmeat.net (elcid, for those keeping track)... I've edited the reporting functions so that instead of throwing it up on the console like it normally does, it instead calls lynx with the -dump parameter to the PHP page, and that in turn puts the

[PHP] Re: arg parsing

2002-11-08 Thread Jason Young
This is a common upgrader's 'register_globals' confusion problem ;-) Basically what it means is that arbitrary values are not parsed in a GET-type request, like your action=new. You must explicitly ask for them.. *I* personally use this (I'm sure others will follow up with their code) at the

Re: [PHP] How to echo the end marker '?'

2002-11-08 Thread Jason Young
If you're trying to get a LITERAL ? Use gt; for your symbol so that you have ?gt; I also noticed you didn't have a ? at the beginning of your string, so use lt;? for that. Does this help? John W. Holmes wrote: subject's allready my question ! I want to echo something like : action =

[PHP] Re: image generation with PHP

2002-11-24 Thread Jason Young
I did this just today -- http://www.php.net/manual/en/function.imagecreate.php Its real short and sweet. If you're running on Linux, I'm sure you'll be able to get it to work just fine - on Windows, make sure you have the gd extention, and that it will be loaded with php.ini. Hope this helps!

[PHP] Re: image generation with PHP

2002-11-24 Thread Jason Young
You'll need the full PHP package (the 5 MB zip file, not the 400k quickie) .. it'll be in the extensions/ directory of there.. php_gd.dll.. Myrage wrote: i am using windows and I cannot seem to find the necessary libs and dlls Jason Young wrote in message [EMAIL PROTECTED]">new

[PHP] Re: image generation with PHP

2002-11-24 Thread Jason Young
Did you tell php.ini to load this extension, and then restart your webserver? (I am taking it that you're using IIS or PWS? -- Someone else will have to field the question on whether or not GD/PHP works with this.. I would imagine so, but I am not sure enough to put any money on it :) )

[PHP] Getting backtrace through GDB?

2009-08-26 Thread Jason Young
developer this is needed for. Thanks for any insight or suggestions you can give! -Jason Young -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Getting backtrace through GDB?

2009-08-27 Thread Jason Young
Anyone, anyone? Bueller? :P I'm sure someone has experience with GDB? I'm not looking for a newbie primer, I'm just curious if anyone has had experience with the problem below and knew how to correct it.. Thanks :) Jason Young wrote: Hi all, I'm trying to follow the instructions

Re: [PHP] this has got me baffled: imagesx() andimagesy()reporting the wrong size?

2009-11-16 Thread Jason Young
Indeed. Using ImageMagick's 'identify' command, the first layer is 30x24 on a 32x32 canvas. radioactive-bread-eek.gif[0] GIF 30x24 32x32+2+6 8-bit PseudoClass 256c 2.11kb radioactive-bread-eek.gif[1] GIF 32x27 32x32+0+4 8-bit PseudoClass 256c 2.11kb If getimagesize() works on the canvas,