Re: [PHP] still have the same problem

2004-12-13 Thread Marek Kilimajer
Mecnun wrote: I have a form and a php file. I enter some values from the form and click to submit button. The values that I enter can't be seen on the output. I'm using Php php-4.0.5 and my register_global is set to Off. HTML file: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html

[PHP] remote permissions on MySQL

2004-12-13 Thread Alessandro Rosa
I'm a newbie on MySQL. I just wanted to know whether there is the possibility to create a new user/psw remotely onto a server. That is, something related to command 'mysql_setpermissions', but acting from a remote host. Alessandro

[PHP] STUMPED: path/style vars in Windows with IIS

2004-12-13 Thread Ck
Hello. I am trying to get path/style variables working in windows with IIS on a hosted environment. What I mean by path/style variables is the following: Say I have a script test.php that can be accessed via: http://mydomain/controller.php ...I want to pass variables to it like:

Re: [PHP] remote permissions on MySQL

2004-12-13 Thread Jason Wong
On Monday 13 December 2004 16:48, Alessandro Rosa wrote: I'm a newbie on MySQL. www.mysql.com -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development *

[PHP] How can I fix that

2004-12-13 Thread Aalee
Hi there everyone... I did a form to add data to a database and it works fine. Once the data is entered its gives a thankyou message. But the problem is, if I refresh this thankyou page, the data is entered again into the database. Why is it doing so. I couldnt think of a way to fix it. Help...

[PHP] Re: How can I fix that

2004-12-13 Thread M. Sokolewicz
Aalee wrote: Hi there everyone... I did a form to add data to a database and it works fine. Once the data is entered its gives a thankyou message. But the problem is, if I refresh this thankyou page, the data is entered again into the database. Why is it doing so. I couldnt think of a way to fix

[PHP] Re: STUMPED: path/style vars in Windows with IIS

2004-12-13 Thread M. Sokolewicz
Ck wrote: Hello. I am trying to get path/style variables working in windows with IIS on a hosted environment. What I mean by path/style variables is the following: Say I have a script test.php that can be accessed via: http://mydomain/controller.php ...I want to pass variables to it like:

Re: [PHP] File upload problems using Apache 1.3 on Debian stable

2004-12-13 Thread [EMAIL PROTECTED]
Hi, I do indeed have the file upload code inside a class function. it's one of those little things about PHP hadn't fully realised yet. Thanks for the pointer! If I pass the relevant _FILE entry to that function and work off that it solves the problem right? Cheers, Tom Richard Lynch wrote:

Re: [PHP] Question: Repopulating form parameters

2004-12-13 Thread Jason Wong
On Monday 13 December 2004 18:29, Stuart Felenstein wrote: I think you are missing the point Jason was trying to make, which is the difference between '$Ind' and $Ind. If you look again, you will see that those are handled differently. If you read the post Jason suggested I print out

RE: [PHP] How can I fix that

2004-12-13 Thread Robinson, Matthew
I've just had this exact problem. The solution as far as I found is one of the following: 1. Keep a $_SESSION going and set a flag, then on a re-post you can check the flag to see if it's set and hopefully spot the re-post. 2. Check to see if what you're about to enter is already there,

[PHP] record fetching error

2004-12-13 Thread Ahmed Abdel-Aliem
hi i have a table in my database which i try to fetch rows from it here is the code i am using @ $db = mysql_connect ($server, $user, $pass); mysql_select_db($database); $test_tr = mysql_query(select * from art WHERE Game_ID = '$Game_ID' desc LIMIT 1); $record=mysql_fetch_array($test_tr);

Re: [PHP] Question: Repopulating form parameters

2004-12-13 Thread Jason Wong
On Monday 13 December 2004 19:00, Stuart Felenstein wrote: heaven's sake ? bit over dramatic. The code above is my created html. I've created a number of them, both from a table and just listing out some options. To repeat they all work . Yet all seem to have little in common when the values

RE: [PHP] allow_url_fopen ini directive not enough

2004-12-13 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 10 December 2004 22:07, Richard Lynch wrote: This is a MUCH BIGGER PROBLEM than remote include working or not. You've *GOT* to get those files *OUT* of the web-tree. The

[PHP] sql syntax problem

2004-12-13 Thread Merlin
Hello everybody, I am trying to create a sql query with php and I do have a syntax problem with the mysql query. One row is called plz and I would like to search for a value inside that with a like statement. Problem is, the system takes the u.plz as a character not as a table element: LIKE

Re: [PHP][SOLVED] Question: Repopulating form parameters

2004-12-13 Thread Stuart Felenstein
--- Jason Wong [EMAIL PROTECTED] wrote: I think will call it a day for this thread. As I suspected a loop was needed to make this work. In the event that there are other idiots, such as myself, that don't immediately figure out the exact logic I'll post the code: //The sql is Adodb syntax:

[PHP] Attempted to unsubscribe to no avail

2004-12-13 Thread Scott Hamm
GRR, I've tried in various and numerous ways to unsubscribe, even RTFM'd. How do I unsubscribe?! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Question: Repopulating form parameters

2004-12-13 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 12 December 2004 14:27, Stuart Felenstein wrote: --- Jason Wong [EMAIL PROTECTED] wrote: If in doubt, print it out (TM) echo '$Indbr', $Indbr, $Ind; $Ind

[PHP] Text tools

2004-12-13 Thread William Stokes
Hello, I was just wondering how to build a text editing tool with php. I mean a tool that can help users to format their texts in the pages. I mean something like paste the text in a text box. Select some part of the text and hit a button to, for example, bold the selected part of the text. Or

[PHP] Re: : [PHP] empty() problem

2004-12-13 Thread Craig Slusher
There has already been a thread about this like 1-2 days ago. Check the archives On Mon, 13 Dec 2004 14:10:34 +0800, yangshiqi [EMAIL PROTECTED] wrote: Maybe this can help you. If (empty((string)$Game_rating)) -- : Ahmed Abdel-Aliem [mailto:[EMAIL PROTECTED] : 20041212 21:58

RE: [PHP] Question: Repopulating form parameters

2004-12-13 Thread Stuart Felenstein
--- Ford, Mike [EMAIL PROTECTED] wrote: If in doubt, print it out (TM) echo '$Indbr', $Indbr, $Ind; $Ind '1','2','3','4' '1','2','3','4' Funny, they are both the same. Both? There are three things printed out there, so both cannot be right. 2 of the 3 can be the

RE: [PHP] Text tools

2004-12-13 Thread Jay Blanchard
[snip] I was just wondering how to build a text editing tool with php. I mean a tool that can help users to format their texts in the pages. [/snip] Have you looked at something like http://www.htmlarea.com/ ? Most apps like this use a lot of JavaScript to get the work done. You may want to look

Re: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Martin Holm
Steve wrote: I am using GD image function with PHP (PHP 4.3.9 on RedHat 9). Today I found that for all images I have created so far (using the ImageGIF() function), there is a temporary file in /tmp with that image. The name of the temp file is a 6 character combination of letters and digits,

[PHP] Web Development Overnight!!!

2004-12-13 Thread info
Dear php-general#64;lists.php.net, Subj: Web Development Overnight!!! == That's right! A complete website done for you overnight! == You provide

RE: [PHP] Attempted to unsubscribe to no avail

2004-12-13 Thread Jack . van . Zanen
look at the bottom of the emails you are getting. Specially the last paragraph may be of interest snip If you are receiving mail from one of the mailing lists, there should be absolutely no reason that you would be unable to unsubscribe yourself from the list, except for your ability to follow

Re: [PHP] Text tools

2004-12-13 Thread Thomas Munz
This is not possible with PHP, you must do that with JavaScript. Hello, I was just wondering how to build a text editing tool with php. I mean a tool that can help users to format their texts in the pages. I mean something like paste the text in a text box. Select some part of the text and

Re: [PHP] Attempted to unsubscribe to no avail

2004-12-13 Thread Thomas Munz
http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Steve
Jay Blanchard wrote: [snip] But the problem is still there (CGI and CLI sapi tested). I used the -n option, so php.ini can't cause the problem, either. Has anyone else experienced that? [/snip] Yes. You will have to write your own clean-up code for things like this. I don't mean any user

Re: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Steve
http://www.php.net/manual/en/function.imagegif.php - *Note: * Since all GIF support was removed from the GD library in version 1.6, this function is not available if you are using that version of the GD library. http://www.php.net/manual/en/function.imagecreatefromgif.php - *Note: * GIF

[PHP] Byte Array

2004-12-13 Thread Ian Firla
Hello All, I've hit a bit of a show stopper in a project I'm working on. I'm getting a 65 byte stream of data. 32 of those bytes are of the type Byte Array. Is there a way that I can covert that data into something useful? For the record, the data stream that I'm getting is in the format:

Re: [PHP] Text tools

2004-12-13 Thread tg-php
You maybe able to do this (and will eventually definitely be able to do this) with Winbinder on Windows platform with native GUI. He's still on what he calls pre-alpha but what's in there already is coming along very nicely. Check out the sourceforge pages: http://winbinder.sourceforge.net/

Re: [PHP] Web Development Overnight!!!

2004-12-13 Thread John Nichel
info wrote: Dear php-general#64;lists.php.net, Subj: Web Development Overnight!!! == That's right! A complete website done for you overnight! ==

RE: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Jay Blanchard
[snip] Yes. You will have to write your own clean-up code for things like this. I don't mean any user generated temporary files, I mean files which are created by the PHP function ImageGIF(). How should I even know which temporary file name GD chose in each case, or whether it created a temp

Re: [PHP] Web Development Overnight!!!

2004-12-13 Thread Afan Pasalic
you can't be signed - web site is still under constraction! he/she posted this a little bit to early! :) -afan John Nichel wrote: info wrote: Dear php-general#64;lists.php.net, Subj: Web Development Overnight!!! ==

Re: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Matthew Weier O'Phinney
* Martin Holm [EMAIL PROTECTED]: Steve wrote: I am using GD image function with PHP (PHP 4.3.9 on RedHat 9). Today I found that for all images I have created so far (using the ImageGIF() function), there is a temporary file in /tmp with that image. The name of the temp file is a 6

Re: [PHP] record fetching error

2004-12-13 Thread Richard Lynch
Ahmed Abdel-Aliem wrote: hi i have a table in my database which i try to fetch rows from it here is the code i am using @ $db = mysql_connect ($server, $user, $pass); mysql_select_db($database); $test_tr = mysql_query(select * from art WHERE Game_ID = '$Game_ID' desc LIMIT 1);

RE: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 13 December 2004 16:14, Steve wrote: Seems like this is something that either the GD lib or PHP should be doing and not the user. Shouldn't this be reported as a bug?

Re: [PHP] Web Development Overnight!!!

2004-12-13 Thread Mat Harris
sorry, I know we shouldn't reply to this sorta crap, but: On Mon, Dec 13, 2004 at 03:21:01PM +0100, info wrote: Dear php-general#64;lists.php.net, -- Act now and we'll even give you your own domain name (www.yourdomain.com)

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-13 Thread Richard Lynch
Michael Leung wrote: I have faced the upload file permission denied for weeks. I can't write a new file/create a directory. I did a test in PHP standalone (Linux shell). The operation is very normal. But what *USER* were you when you did that test?! Were you the same user PHP runs as, IE,

Re: [PHP] Web Development Overnight!!!

2004-12-13 Thread John Nichel
Mat Harris wrote: snip Act now and we'll even give you your own domain name (www.yourdomain.com) for FREE!!! That's a $70 value at no extra charge! $70!???!? do they have a huge surcharge for .coms in the states? here in the uk i can register one for literally 10% of

Re: [PHP] allow_url_fopen ini directive not enough

2004-12-13 Thread Richard Lynch
KJ wrote: Ah OK. So the only only includes should be out of the web tree, or on a remote site? Nice one. I hope you're not being sarcastic, because this statement is actually 100% true. Your web-sites should have clearly-defined 'entry points' which are pages that you actually expect people

Re: [PHP] Infinity and nested categories

2004-12-13 Thread Richard Lynch
Bruno B B Magalhães wrote: Hi again everybody, well, I've asked it before, but I couldn't work on this at all. As some knows I have a system witch has a category system. The generic part of the site is handled by a generic module called contents... generic like products, services, company,

Re: [PHP] sql syntax problem

2004-12-13 Thread Richard Lynch
Merlin wrote: SELECT c.name AS city FROM geo_de.geodb_locations AS c, fix.user AS u WHERE u.user_id =4 AND c.plz LIKE %u.plz%; I believe you want something not unlike this: WHERE u.user_id = 4 AND c.plz LIKE concat('%', u.plz, '%') -- Like Music? http://l-i-e.com/artists.htm -- PHP

Re: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Steve
Seems like this is something that either the GD lib or PHP should be doing and not the user. Shouldn't this be reported as a bug? Yes, I also consider this a bug, unless it's something specific to my system. To find out, I posted this here. Is nobody else out there using ImageGIF() with PHP

RE: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Jay Blanchard
[snip] Before the image is created you can get an array of things in the temp file, then check for a new thing after the image is created. You can verify the file type and if all is kosher, delete it. Seems like this is something that either the GD lib or PHP should be doing and not the user.

Re: [PHP] File upload problems using Apache 1.3 on Debian stable

2004-12-13 Thread Richard Lynch
[EMAIL PROTECTED] wrote: Hi, I do indeed have the file upload code inside a class function. it's one of those little things about PHP hadn't fully realised yet. Thanks for the pointer! If I pass the relevant _FILE entry to that function and work off that it solves the problem right? You

Re: [PHP] STUMPED: path/style vars in Windows with IIS

2004-12-13 Thread Richard Lynch
Ck wrote: Hello. I am trying to get path/style variables working in windows with IIS on a hosted environment. What I mean by path/style variables is the following: Say I have a script test.php that can be accessed via: http://mydomain/controller.php ...I want to pass variables to it

Re: [PHP] Automaticly Play Sound when MySql Reach some Number

2004-12-13 Thread Richard Lynch
Sejati Opreker wrote: How do I make automaticly PHP playing a sound (Ogg, or MP3 format file) when MySql (in Table, or Coulom) reach a number (for example 5) Er. You'd have to write a query in MySQL/PHP such as: $query = select whatever = 5 from something; Or, perhaps: $query = select

[PHP] Delivering large files via PHP (300MB)

2004-12-13 Thread Richard Davey
Hi all, Just thought I would pick the collective brain on this one. I have a requirement to deliver a large EXE file to customers after they order. The file is just under 400 MB in size and, because they have just purchased it, I obviously cannot have this file in a public location

Re: [PHP] Web Development Overnight!!!

2004-12-13 Thread Richard Lynch
John Nichel wrote: Mat Harris wrote: snip Act now and we'll even give you your own domain name (www.yourdomain.com) for FREE!!! That's a $70 value at no extra charge! $70!???!? do they have a huge surcharge for .coms in the states? here in the uk i can

Re: [PHP] Web Development Overnight!!!

2004-12-13 Thread Ryan A
Spamming SOB. On 12/13/2004 3:21:01 PM, [EMAIL PROTECTED] wrote: Dear php-general#64;lists.php.net, Subj: Web Development Overnight!!! == That's right! A complete website done for you overnight!

[PHP] url rewritting in php5

2004-12-13 Thread elixon
Hello! I'm solving one problem and I'd like to ask you for hints/advices or 'RTFM at link' answers. Problem is: I need special type of URL to be 'rewritten' in the way how the Apache does the URL rewritting. example: fopen('chrome://myfile.txt', 'r'); to have be internaly resolved for eaxample

RE: [PHP] Byte Array

2004-12-13 Thread Jay Blanchard
[snip] I'm getting a 65 byte stream of data. 32 of those bytes are of the type Byte Array. Is there a way that I can covert that data into something useful? For the record, the data stream that I'm getting is in the format: |ascii|ascii|asciiX10|integerX4|byte arrayX32| The byte array looks

Re: [PHP] PHP via DIAL-UP?

2004-12-13 Thread Richard Lynch
Police Trainee wrote: Hello. I have a computer at my office running Apache that I use to run PHP scripts with using http://localhost. Is there anyway I can set up my computer to allow me to dial-in from home and use the webserver and my php applications? It is a win 98 system with tcp/ip.

Re: [PHP] php mail

2004-12-13 Thread Richard Lynch
PHPDiscuss - PHP Newsgroups and mailing lists wrote: I have a dedicated Red Hat linux boxed leased from Interland and the php mail function does not work. I have found several articles on things to try and have tried everything I saw but to no avail. I set up a php script to mail and then

[PHP] Re: Delivering large files via PHP (300MB)

2004-12-13 Thread Michelle Konzack
Am 2004-12-13 19:53:01, schrieb Richard Davey: Hi all, I can push the file out quite easily using a modified header and a simple script to check if they can download it or not, but with such a large file a significant number of web browsers fail to obtain the entire EXE before

Re: [PHP] Multiple Inheritance

2004-12-13 Thread Richard Lynch
Greg Beaver wrote: Greg Donald wrote: with it, but I will go grab a PEAR module if it fits my needs. Code re-use may be the only redeeming quality of OO programming, and honestly I can re-use your code from a non-OO include file just as easily. yep, unless the function names happen to

Re: [PHP] allow_url_fopen ini directive not enough

2004-12-13 Thread Richard Lynch
KJ wrote: So, not only do you have register_globals on which is a Bad Idea, you've got PHP files in your web tree that they can surf to, bypass your configuration setting of $base_url, and execute code that the Programmer never ever ever intended to be executed out of sequence (IE, without

Re: [PHP] Close all open tags in HTML text

2004-12-13 Thread Richard Lynch
Matt Palermo wrote: I realize that I can use the strip_tags function to remove HTML. But I don't want to remove HTML tags. I just want to make sure all open HTML tags are closed. For example if they user submits HTML with a table tag and never closes it, then the rest of the page will look

Re: [PHP] allow_url_fopen ini directive not enough

2004-12-13 Thread Richard Lynch
KJ wrote: OK, I don't think you've read my posts in much detail at all. I looks as though you have skimmed over them and got a pre-determined idea of my issue in your head. Not once have I mentioned anything about customers in my posts. I'm not a web host. I'm not talking about people who

Re: [PHP] Byte Array

2004-12-13 Thread Chris
Try the unpack function, it should do quite nicely. Chris Ian Firla wrote: Hello All, I've hit a bit of a show stopper in a project I'm working on. I'm getting a 65 byte stream of data. 32 of those bytes are of the type Byte Array. Is there a way that I can covert that data into something useful?

RE: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Jay Blanchard
[snip] But the problem is still there (CGI and CLI sapi tested). I used the -n option, so php.ini can't cause the problem, either. Has anyone else experienced that? [/snip] Yes. You will have to write your own clean-up code for things like this. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Varible calling a define value

2004-12-13 Thread Chris Boget
Currently i have a Defiune setup of: define(THS, This is a test); I also have a string value of $that='THS'; When I echo out $that it get THS. I want to echo out $that and get: This is a test. How can I do this? $that = THS You don't want the quotes. thnx, Chris -- PHP General Mailing

RE: [PHP] Varible calling a define value

2004-12-13 Thread Jay Blanchard
[snip] Currently i have a Defiune setup of: define(THS, This is a test); I also have a string value of $that='THS'; When I echo out $that it get THS. I want to echo out $that and get: This is a test. How can I do this? [/snip] Remove the quotes around THS $that = THS; echo $that; -- PHP

Re: [PHP] Varible calling a define value

2004-12-13 Thread Dev
I actually figure this out from the web site and had to use constant(); At 04:36 PM 12/13/2004, you wrote: Hello all, I am setting up a page that I would like to use DEFINE to retrieve more information about abriviations in a database. The database part all works just fine. Currently i have a

Re: [PHP] Configuring PHP 5.0.2 on OpenBSD 3.6: png.h not found

2004-12-13 Thread Richard Lynch
Raymond C. Rodgers wrote: On Fri, 2004-12-10 at 13:23, Richard Lynch wrote: Where exactly is png.h in your directory system? If libpng is installed, it should be there. What are you using after the --with-png-dir= Whatever you are using, it must be a directory far enough *above* png.h to

Re: [PHP] sharing info between websites with XML?

2004-12-13 Thread Richard Lynch
p80 wrote: On Sunday 12 December 2004 05:15 pm, Jason Wong wrote: On Sunday 12 December 2004 22:33, p80 wrote: eg do you want to only make available specific pre-defined bits of data to client websites, yes this is how I'd like to proceed OK, if there are only a limited number of

Re: [PHP] sharing info between websites with XML?

2004-12-13 Thread Richard Lynch
p80 wrote: I have several website that use mysql as a database and I would like them to access each other DB. The problem is that I can't connect to each other mysql DB so I'm looking for a way to do so. Why aren't you able to connect to the other databases? cause hosters forbid it. Get

[PHP] php self problem

2004-12-13 Thread Ahmed Abdel-Aliem
hi i use framework in my scripts, and i have a problem with forms that calls the same page for example i have a form in that link http://localhost/play/index.php?fuseaction=SiteMain.showGamePageGame_ID=33 when i use $PHP_SELF it goes to http://localhost/play/index.php so how can i make the form go

Re: [PHP] session newbyness...

2004-12-13 Thread John Nichel
Tony Di Croce wrote: I just started using PHP a week or so ago... And everything is coming along great... But I have some general question about sessions... Actually, about PHP's built in session support. Do I need to call session_start() in every script that needs access to $_SESSION[]? Would it

Re: [PHP] php self problem

2004-12-13 Thread Ahmed Abdel-Aliem
hi thanks, i used it but i have a new problem but i solved it so for people who will face the same problem u can do this $same_page = $PHP_SELF.?.$_SERVER['QUERY_STRING']; this will go to the same page with the variables passed too thanks for help Ahmed Abdelaliem On Mon, 13 Dec 2004

[PHP] Re: getimagesize() for image resources

2004-12-13 Thread M. Sokolewicz
Greg Donald wrote: Does anyone know a way to get the size of an an image while it exists as an image resource? getimagesize() appears to work on image files, but not image resources. I need something that works on image resources like those created with the PHP imagecreatefrom* functions. I

Re: [PHP] STUMPED: path/style vars in Windows with IIS

2004-12-13 Thread Ck
Hi Richard. Thank you for the reply. I was dragged to IIS kicking and screaming! I have been doing php development for almost 6 years, and this will be my first production-level experience with php through IIS... Unfortunately it is a hosted environment and there is a legacy coldfusion

[PHP] session newbyness...

2004-12-13 Thread Tony Di Croce
I just started using PHP a week or so ago... And everything is coming along great... But I have some general question about sessions... Actually, about PHP's built in session support. Do I need to call session_start() in every script that needs access to $_SESSION[]? Would it cause any problems

Re: [PHP] Re: getimagesize() for image resources

2004-12-13 Thread Greg Donald
On Mon, 13 Dec 2004 23:17:22 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote: imagesx() and imagesy() I knew there had to be a way. Thanks so much. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] session newbyness...

2004-12-13 Thread M. Sokolewicz
Greg Donald wrote: On Mon, 13 Dec 2004 14:09:02 -0800, Tony Di Croce [EMAIL PROTECTED] wrote: I just started using PHP a week or so ago... And everything is coming along great... Awesome, welcome to the club. :) But I have some general question about sessions... Actually, about PHP's built in

Re[2]: [PHP] Delivering large files via PHP (300MB)

2004-12-13 Thread Richard Davey
Hello Greg, Monday, December 13, 2004, 9:42:30 PM, you wrote: GD Use set_time_limit(0); to prevent the timeout. ignore_user_abort() is GD pretty handy too. Yeah, I have the time-out limit in there already (the client end will detect for a time-out from the server as well). GD If that doesn't

Re[2]: [PHP] Delivering large files via PHP (300MB)

2004-12-13 Thread Richard Davey
Hello Bruce, Monday, December 13, 2004, 9:22:52 PM, you wrote: BD you might also look into 'bit torrent'... Not really any use at all in this situation. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services I am not young enough to know everything. - Oscar

Re: [PHP] fsockopen https problem

2004-12-13 Thread Richard Lynch
Maycon de Oliveira wrote: Hi, i have problem in my script, this error is Permission Danied (13) ? $host = 193.132.139.36; $port = 443; $path = /gatekeeper/ink/quexry.asp; //or .dll, etc. for authnet, etc. $fp = fsockopen(https://.$host, $port, $errno, $errstr, $timeout = 10); You can't

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-13 Thread Michael Leung
Hi all, the user is apache for PHP. the directory is owned by apache user. I am 100% certain for the directory name. yours, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Delivering large files via PHP (300MB)

2004-12-13 Thread Richard Lynch
Richard Davey wrote: So I came up with an idea that I'd like your opinions on: I built a small but friendly Windows application (50KB in size) that will connect to the web server via HTTPS, check the download credentials and if all is ok, it then downloads the file via HTTP in 1MB

[PHP] Unreliable mail delivery through PHP

2004-12-13 Thread Chris W. Parker
Hello, I have a function that is called each time a new visitor creates an account on our site. The function is as follows: ?php function send_new_account_alert() { $to= ADMIN_EMAIL; $from = Accounts accounts@.SITE_DOMAIN.; $subject = New Account Created

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-13 Thread Richard Lynch
And apache user can read/write /tmp? What files are in /tmp? su to apache and see if you can read the uploaded files, and mv them to the directory. Michael Leung wrote: Hi all, the user is apache for PHP. the directory is owned by apache user. I am 100% certain for the directory name.

[PHP] bargraph gd not working

2004-12-13 Thread jm
Hi guys: I'm using php5 on winxp with IIS. I'm trying to run a simple bar graph demo found it on phpbuilder site. When I run it I get nothing but an x in the top left corner of my web page(no errors nothing). GD is uncommented in my php.ini, ext dir set and I have verified that GD is installed

Re: [PHP] Close all open tags in HTML text

2004-12-13 Thread Don Read
On 09-Dec-2004 Marek Kilimajer wrote: snipage not really, but it removes script and /script so javascript is not interpreted. $txt = preg_replace('|script[^]*?.*?/script|si', '', $txt); Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest

Re: [PHP] PHP Apache Upload file Permission denied

2004-12-13 Thread Michael Leung
Hi, Yes, apache can do read/write in /tmp. I can't su to apache. But I created another account in apache group(userid test1). I have such tests by using that account. I can do mv , cp , create new file. After those successful test, I have modified httpd.conf to make apache web server run

Re: [PHP] Delivering large files via PHP (300MB)

2004-12-13 Thread Greg Donald
On Mon, 13 Dec 2004 13:22:52 -0800 (GMT-08:00), Bruce Douglas [EMAIL PROTECTED] wrote: you might also look into 'bit torrent'... You must have missed the part about 'cannot have this file in a public location'. Just thought I would pick the collective brain on this one. I have a

Re: [PHP] session newbyness...

2004-12-13 Thread Greg Donald
On Mon, 13 Dec 2004 14:09:02 -0800, Tony Di Croce [EMAIL PROTECTED] wrote: I just started using PHP a week or so ago... And everything is coming along great... Awesome, welcome to the club. :) But I have some general question about sessions... Actually, about PHP's built in session support.

Re: [PHP] bargraph gd not working

2004-12-13 Thread Stan F
- Original Message - From: jm [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 3:22 AM Subject: [PHP] bargraph gd not working Hi guys: I'm using php5 on winxp with IIS. I'm trying to run a simple bar graph demo found it on phpbuilder site. When I run it I get

[PHP] Re: [PHP-XML-DEV] DomXPath and default XML namespaces

2004-12-13 Thread Christian Stocker
On 14.12.2004 6:45 Uhr, Dan Phiffer wrote: Adam Maccabee Trachtenberg wrote: This is an XPath FAQ. Without a ns prefix, XPath doesn't choose elements living in the default ns, but ones living in no namespace. Are there any good references you might point me to? I'm pretty new to this stuff and

[PHP] curl libraries on Debian Woody with apache 1.3.29.0.2-6 and php 4.3.4-4

2004-12-13 Thread symbulos partners
Dear friends, we would like to use the curl libraries on a server, which is open on the internet. We would like to know about security issues with curl, before installing it. We are using Debian Woody (some few packages from Sarge), and apache 1.3.29.0.2-6 and php 4.3.4-4. Thanks in advance.

Re: [PHP] Byte Array

2004-12-13 Thread Ian Firla
You're right. I think it will. Thanks. I've got another issue now though which may indeed be a show-stopper. It seems that while socket_recvfrom is binary safe, there's no way to send data in any way other than a string... Is that right? Can I not send data of other types? Ian On Mon,

[PHP] Re: php.ini

2004-12-13 Thread Jonathan
restart your webserver Travis Conway [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What is the default place for php.ini? I have a few copies when I do a `whereis php.ini`. I figure it is the /etc/php.ini. Anyone shed some light? Also, is there anything that must be done after

Re: [PHP] email processing

2004-12-13 Thread David Green
Hi Adwin, I don't know if this'll help you but the way I've done it on my site is to send out a confirmation email with a link the user needs to follow to confirm. The link ends with two GET variables, one being the username and one being a unique number created for their account at time of

Re[2]: [PHP] Delivering large files via PHP (300MB)

2004-12-13 Thread Richard Davey
Hello Richard, Tuesday, December 14, 2004, 12:02:19 AM, you wrote: RL This sounds an awful lot like various web installers. Sure, there's nothing unique about the concept. The aim was to reduce to load on the web server and make things a little easier for the end user. You can code Install

Re[2]: [PHP] Delivering large files via PHP (300MB)

2004-12-13 Thread Richard Davey
Hello rouvas, Tuesday, December 14, 2004, 1:33:07 PM, you wrote: r Why don't you take the PHP out of the loop entirely? r Make a dir into the Apache area with a custom .htaccess r (with usernames/passwords, etc) and put the required files there. Then the files have to be within the web root and

Re: [PHP] Delivering large files via PHP (300MB)

2004-12-13 Thread rouvas
[...snip...] RL always see when you install software. That would lock us into a platform specific environment too :) You don't run an Install Shield web delivery system by executing the setup file on a Mac just because you're at work and can burn it to CD :) I was more interested in

Re: [PHP] curl libraries on Debian Woody with apache 1.3.29.0.2-6 and php 4.3.4-4

2004-12-13 Thread Christophe Chisogne
symbulos partners wrote: We would like to know about security issues with curl, before installing it. hem, this is a PHP list. Perhaps you're talking about curl PHP extension? We are using Debian Woody (some few packages from Sarge), and apache 1.3.29.0.2-6 and php 4.3.4-4. For Debian security,

Re: [PHP] Delivering large files via PHP (300MB)

2004-12-13 Thread rouvas
On Tuesday 14 December 2004 15:53, Richard Davey wrote: Hello rouvas, Tuesday, December 14, 2004, 1:33:07 PM, you wrote: r Why don't you take the PHP out of the loop entirely? r Make a dir into the Apache area with a custom .htaccess r (with usernames/passwords, etc) and put the required

Re: Re[2]: [PHP] Delivering large files via PHP (300MB)

2004-12-13 Thread James Stewart
On Dec 14, 2004, at 8:53 AM, Richard Davey wrote: Tuesday, December 14, 2004, 1:33:07 PM, you wrote: r Why don't you take the PHP out of the loop entirely? r Make a dir into the Apache area with a custom .htaccess r (with usernames/passwords, etc) and put the required files there. Then the files

Re: [PHP] Byte Array

2004-12-13 Thread Ian Firla
Just a follow-up to myself... I decided to try packet sniffing to see what was going on and ettercap confirms that I'm sending out strings rather than data of the type stored in my array: 16:12:26 192.168.0.101:32779 -- 192.168.0.88:32896 | UDP | : 3331

  1   2   >