Re: [PHP] Re: No redirect with header()

2005-10-19 Thread Jasper Bryant-Greene
On Thu, 2005-10-20 at 03:22 +0200, Dotan Cohen wrote: > On 10/18/05, Oliver Grätz <[EMAIL PROTECTED]> wrote: > > Snippets are bad ;-) > > > > Please post a full example that is _not_ working on your server. > > Perhaps this is no PHP problem at all. > > > > I know, but I don't want to post my trac

Re: [PHP] Re: No redirect with header()

2005-10-19 Thread Dotan Cohen
On 10/18/05, Oliver Grätz <[EMAIL PROTECTED]> wrote: > Snippets are bad ;-) > > Please post a full example that is _not_ working on your server. > Perhaps this is no PHP problem at all. > I know, but I don't want to post my tracking code. I am certain, however, that it is not returning anything to

Re: [PHP] win32service extension source code

2005-10-19 Thread Jasper Bryant-Greene
On Thu, 2005-10-20 at 02:22 +0300, Evil Worm wrote: > Whre can i fid the source code for this extension? > > it's documented at php.net/win32service and can be downloaded from > snaps.php.net/win32/ but the source isn't in the cvs. or did i miss > it? http://cvs.php.net/pecl/win32service/ -- Ja

[PHP] win32service extension source code

2005-10-19 Thread Evil Worm
Whre can i fid the source code for this extension? it's documented at php.net/win32service and can be downloaded from snaps.php.net/win32/ but the source isn't in the cvs. or did i miss it? -- "If you really want something in this life, you have to work for it. Now, quiet! They're about to announc

Re: [PHP] Re: How can I connect a remote server from phpmyadmin?

2005-10-19 Thread twistednetadmin
I asked my host to set up PHP and MySQL on the server. They had either that or ASP with Access db. I got an adress from them to the PHPmyadmin. I don't think most webhosting companies allows remote access to th DB from the local machines. OffcourseI could be wrong... -Twisted-

[PHP] concerning open_basedir and safe_mode on fileupload

2005-10-19 Thread twistednetadmin
I am making an imagegallery with fileuploads for the members of the site and need a little info on how the open_basedir affects the fileupload. I have read what I have found on it, but I'm not sure what it really does. The phpinfo file says something like this: PHP CORE config. --

Re: [PHP] Classes or functions

2005-10-19 Thread Brent Baisley
It's really a matter of comfort level and opinion. There can be strong arguments either way. Using just functions will be faster, although the speed difference may be minimal and not noticeable. Using just functions can be easier and quicker to develop, especially for small projects. But,

[PHP] Modular Authoring System

2005-10-19 Thread Sascha Braun
Hi, I am now working on a concept for a webportal software in about 2 and a halv year. As far as I am in the development of the project I was able to write an authoring system with support of unlimited language transla- tions and xml based frontend/screen engine. All html forms and screens are ge

RE: [PHP] re: some problems with php form

2005-10-19 Thread Jay Blanchard
[snip] I now have: * First Name: " id="firstname" name="firstname" type="text" value=""> You added one too many, change $_POST["firstname";]; to $_POST['firstname']; " id="firstname" name="firstname" type="text" value=""> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re: [PHP] re: some problems with php form

2005-10-19 Thread Bruce Gilbert
I now have: * First Name: " id="firstname" name="firstname" type="text" value=""> but I still receive the same error: ' *Parse error*: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in * /hsphere/local/home/bruceg/inspired-evolution.com/Con

RE: [PHP] How can I get the url in the IE?

2005-10-19 Thread Jay Blanchard
[snip] How can I get the url in the IE ? [/snip] http://us3.php.net/manual/en/reserved.variables.php#reserved.variables.serve r -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How can I get the url in the IE?

2005-10-19 Thread Tomás Rodriguez Orta
Hello friend. How can I get the url in the IE ? best regards TOMAS - Este correo fue escaneado en busca de virus con el MDaemon Antivirus 2.27 en el dominio de correo angerona.cult.cu y no se encontro ninguna coincidencia.

RE: [PHP] re: some problems with php form

2005-10-19 Thread Jay Blanchard
[snip] " id="firstname" name="firstname" type="text" value=""> how would I fix this error? [/snip] You are missing several semi-colons; " id="firstname" name="firstname" type="text" value=""> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] re: some problems with php form

2005-10-19 Thread Bruce Gilbert
Mike and all, guess I still have something wrong as I am getting this error: *Parse error*: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in * /hsphere/local/home/bruceg/inspired-evolution.com/Contact_Form.php

Re: [PHP] Java editor

2005-10-19 Thread Robert Cummings
On Wed, 2005-10-19 at 13:07, John Taylor-Johnston wrote: > Thanks all. This was easy to install: > http://ccl.flsh.usherbrooke.ca/~johj2201/test.php IMHO would stay away from htmlarea, they've discontinued it in favour of what I would guess is the unfree InnovaStudio (since it ranks first on their

Re: [PHP] Java editor

2005-10-19 Thread Sascha Braun
Please take a look at http://mozile.mozdev.org/ This is a browser based solution. Pretty cool i find. bye Am Dienstag, den 18.10.2005, 23:52 -0400 schrieb John Taylor-Johnston: > Is there a OS java (or other) html editor I can implement on a Web page. > I want a user to type text, use bold, ita

Re: [PHP] Java editor

2005-10-19 Thread John Taylor-Johnston
Thanks all. This was easy to install: http://ccl.flsh.usherbrooke.ca/~johj2201/test.php Jay Blanchard wrote: [snip] Is there a OS java (or other) html editor I can implement on a Web page. I want a user to type text, use bold, italics, etc. I would then store the html in a MySQl record and

[PHP] Classes or functions

2005-10-19 Thread Khorosh Irani
What this methods are better for php4? classes or functions Does it better to use classes when I can write the codes with functions? Excuseme for my bad english

[PHP] Classes or functions

2005-10-19 Thread Khorosh Irani
What this methods are better for php4? classes or functions Does it better to use classes when I can write the codes with functions? Excuseme for my bad english

Re: [PHP] Imap, reading the email-body

2005-10-19 Thread Nahalingam N. Kanakavel
hi, I think that I understood you problem some what, if you are having newline character (\n) in you string , then you can use Regular expression to replace the \n character with tag. why can't you try something like the following -code tag */ $string = "this is to first_li

Re: [PHP] Imap, reading the email-body

2005-10-19 Thread Leif Gregory
Hello Bruno, Wednesday, October 19, 2005, 10:08:24 AM, you wrote: > Look the main page and try to read any message... I dont know what > can i do to fix it... nl2br() (see php manual) -- TBUDL/BETA/DEV/TECH Lists Moderator / PGP 0x6C0AB16B __ Ge

[PHP] Imap, reading the email-body

2005-10-19 Thread Bruno Gola
Hi guys, I need some help with the imap_body function and how to work with the string that this function returns... Im working on a mailing list archive website and i'm using the imap_* functions to handle this, the header works fine (and other things too) but the Body of the message dont wo

[PHP] PHP to read news

2005-10-19 Thread Steve
Hi, I'm looking for some help with reading freely available news files like this: news://newsclip.ap.org/[EMAIL PROTECTED] . I'm able to connect to the newsgroup with the IMAP functions just file, but this type of news url can be placed in

Re: [PHP] Java editor

2005-10-19 Thread John Taylor-Johnston
Thanks Rob. They are hard to choose between?! I'll play with both. I only want the very basics. Thanks! John On Tue, 2005-10-18 at 23:52, John Taylor-Johnston wrote: Is there a OS java (or other) html editor I can implement on a Web page. I've seen some packaged, in Moodle for example.

RE: [PHP] Java editor

2005-10-19 Thread Jay Blanchard
[snip] >>Is there a OS java (or other) html editor I can implement on a Web >>page. I want a user to type text, use bold, italics, etc. >>I would then store the html in a MySQl record and then use php to >>insert the edited text. [/snip] Sorry I missed this earlier. Have you looked at htmlArea? h

Re: [PHP] Java editor

2005-10-19 Thread John Taylor-Johnston
Looks good. But I was hoping for open source. John Torgny Bjers wrote: John Taylor-Johnston wrote: Is there a OS java (or other) html editor I can implement on a Web page. I want a user to type text, use bold, italics, etc. I would then store the html in a MySQl record and then use php to

Re: [PHP] Help needed / failed to open stream: Permission denied

2005-10-19 Thread Jochem Maas
Ndagi Mutiri wrote: Hello, I can't be of any help here but couldn't help noticing that th OP (Ndagi) is dealing with dutch language DB entities and comments/output in french and code (vars etc) in english bet that can be a PITA :-) Trying to read a binary file in MySQL database, i have

RE: [PHP] Help needed / failed to open stream: Permission denied

2005-10-19 Thread Jim Moseby
> > Hello, > > Trying to read a binary file in MySQL database, i have the > following error : > > Warning: fopen(./) [function.fopen]: failed to open stream: > Permission denied in d:\...\download.php on line 57 > > This is line 57 $file_handle = fopen("./" . $file_name, "r"); > > and my fu

[PHP] Re: PHP DOM XHTML - let me set my own javascript from code

2005-10-19 Thread Petr Smith
Thanks a lot Rob, it's so simple! I don't know why I did't find it myself. Petr Rob wrote: Petr Smith wrote: but it encloses it to CDATA section automatically like this: language="Javascript"> but I need it like this (because otherwise the javascript don't work

[PHP] Re: Help needed / failed to open stream: Permission denied

> > > This is line 57 $file_handle = fopen("./" . $file_name, "r"); > > It seems that the user your web server runs as may not have permission to > open that file. Also, you might want to double check that ./$ile_name is a > valid path. And if you're planning to write to the file, you need to spe

[PHP] Re: PHP and files Upload

> the script always says it was sucessful to upload the file, but the destination > directory was always empty... > even when checking the $_FILES global > > $_FILES['var_name']['tmp_name'] and > $_FILES['var_name']['name'] and > $_FILES['var_name']['size'], the vars alwyas return empty values...

RE: [PHP] fetching words

> > Hi, > guys I have two tables, articles and keywords, what I want to do is to > scan articles and grab every single word > used in an article to the keyword table > any idea how to do that > -- Vague question, and I suspect that there is a much better way to do what you are trying to do, but s

[PHP] Pb to change "accountexpires" attribute in Active Directory

Hi all, I'm currently setting up a php site to control my Active Direcory, and I'm struggling with the "Accountexpire" field. After extending the expiration date, I can't set it back in AD, because it is in scientific format (1.2774158851E+017). And I can't find how to transform this into an

Re: [PHP] White background with imagecreatetruecolor()

W odpowiedzi na maila (21:21 - 18 października 2005): > $im = imagecreatetruecolor ( 140, 140 ); > $bg = imagecolorallocate ( $im, 255, 255, 255 ); > $orgimg = imagecreatefromjpeg ( $image_data['image'] ); > imagecopyresampled ( $im, $orgimg, $thumb_x_offset, $thumb_y_offset, 0, > 0, $new_thumb_x

Re: [PHP] OPTIMIZING - The fastest way to open and show a file

:( Its not working $bytes = @readfile($filename); if ($bytes === false){ //error-handling code } There is not any output ? Richard Lynch wrote: On Fri, October 14, 2005 6:29 am, Ruben Rubio Rey wrote: if(file_exists($filename)){ $modified_date=filemtime($filename);

[PHP] Re: PHP DOM XHTML - let me set my own javascript from code

Petr Smith wrote: but it encloses it to CDATA section automatically like this: language="Javascript"> but I need it like this (because otherwise the javascript don't work): // First, script was using some bogus method names. Second

[PHP] Re: Help needed / failed to open stream: Permission denied

Ndagi Mutiri wrote: > Hello, > > Trying to read a binary file in MySQL database, i have the following error > : > > Warning: fopen(./) [function.fopen]: failed to open stream: Permission > denied in d:\...\download.php on line 57 > > This is line 57 $file_handle = fopen("./" . $file_name, "r");

[PHP] Help needed / failed to open stream: Permission denied

Hello, Trying to read a binary file in MySQL database, i have the following error : Warning: fopen(./) [function.fopen]: failed to open stream: Permission denied in d:\...\download.php on line 57 This is line 57 $file_handle = fopen("./" . $file_name, "r"); and my function function db_downlo

[PHP] fetching words

Hi, guys I have two tables, articles and keywords, what I want to do is to scan articles and grab every single word used in an article to the keyword table any idea how to do that -- Regards Jad madi Blog http://EasyHTTP.com/jad/ Web standards Planet http://W3planet.net/ -- PHP General Mailing L