[PHP] PEAR

2002-01-04 Thread harry
on line 136 Could anyone point me to a good PEAR tutorial with lots of examples. Google produces lots of them but they are all lacking in examples for forms, tables etc. I am new so I am probably looking at the wrong place. I am reading the source to learn it but this error has shown me how

[PHP] Re: Script accesses complete harddrive. what did I do wrong?

2002-01-04 Thread harry
en, keine vergessenen Gewinne mehr! > Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 Do not quote me but I think your apache settings may be incorrect. I think you can limit your Server Side Scripts to certain directories. -- Harry Jackson :: 22 :: "Priv

[PHP] Anyone Can Help Me?

2004-03-15 Thread Harry
Hi Guys, I'm a beginner on PHP and i just installed it on FreeBSD with apache. I already follow instructions at manual install then i create test file like test.php4 with .I browse to this file with IE but it can't display PHP info but when i brwose that file, it appears page with text ". Anyone

[PHP] Sockets

2005-06-08 Thread Harry
Hello, Is there a special newsgroup for socket programming? regards Harry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Having problems with an IF statement, just doesn't make sense

2003-07-07 Thread Harry Wiens
ry this: if (isset($theme)) { require "content/header_$theme.php"; print("Current theme is $theme"); } else { require "content/header.php"; print("$theme"); } mfg. harry wiens -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] wamphp4, php5

2003-07-10 Thread Harry Wiens
how do i have to configure my httpd.conf to run both, php4 and php5 i have php4 in c:\php where schould i put the php5 stuff ? do i need only one php.ini or two? questions, questions, questions mfg. harry wiens -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: newbie array question

2003-07-10 Thread Harry Wiens
try this: $query = "select name from names (where age <'23'')"; $numero= sybase_connect("database" , "user" , "password" ) or die ("Unable to connect to database server"); $result=sybase_query($query,$numero ); while($temp=syb

[PHP] snippet

2003-08-05 Thread Harry Wiens
can someone explain this for me: ... $sFont =submit("font") ? SITE_ROOT . PROG_PATH . submit("font") : ""; ... mfg. hwiens -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php5 and mysql

2003-08-25 Thread Harry Wiens
i've got a wamp with php5. is there any possibility to activate or reinstall, etc. the mysql extension? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] correct encoding for emails

2003-06-24 Thread Harry Wiens
Lösungen". What do I have to do, to display everything correct? mfg. Harry Wiens -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: correct encoding for emails

2003-06-24 Thread Harry Wiens
The problem is not sending or composing the email (what your class is for), but displaying all the recieved messages. Btw how do i use "quoted-printable encoding" ? mfg. Harry Wiens "Manuel Lemos" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] Hell

[PHP] Re: Javascript in PHP

2003-06-24 Thread Harry Wiens
i think you have to add "\n" after each row of java script code. $js .= "}\n"; mfg. harry wiens "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] How can I get a script to work on a page that has HTML generated by

[PHP] correct syntax

2003-06-25 Thread Harry Wiens
What would be the correct syntax? 1. $_SESSION[test] 2. $_SESSION['test'] 3. $_SESSION["test"] mfg. harry wiens -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fw: upload

2003-06-25 Thread Harry Wiens
this is working for me: [snip] $data = addslashes(fread(fopen($userfile, "r"), filesize($userfile))); $fp = fopen($filename, "w"); fwrite($fp,stripslashes($data)); fclose($fp); [/snip] greets harry wiens "Jay Blanchard" <[EMAIL PROTECTED]>

RE: [PHP] Netscape 4.7 with php gd, very slow

2002-07-26 Thread Harry Yu
I have no problem with Netscape 4.7 when connecting to Windows 2000 running the same script. Also, I don't have any nested tables in the html. Any other ideas? Thanks, Harry --- Bob Lockie <[EMAIL PROTECTED]> wrote: > > >[snip] > >I'm trying to generate dynamic

RE: [PHP] Netscape 4.7 with php gd, very slow

2002-07-26 Thread Harry Yu
same script. Also, I > don't > >have any nested tables in the html. Any other > ideas? > > > >Thanks, > >Harry > > > >--- Bob Lockie <[EMAIL PROTECTED]> wrote: > >> > >> >[snip] > >> >I'm trying to generate

[PHP] Re: Can Objects be passed to another page?

2003-09-03 Thread Harry Wiens
you can store your object in a session bye Harry Wiens "Webmaster" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi, > > is it possible to pass an Object to another php page? > I want to pass a whole bunch of varibales to another page. >

[PHP] problem with gd

2003-09-17 Thread Harry Wiens
r Freetype supportenabled Freetype linkagewith Freetype JPG supportenabled PNG supportenabled wbmp supportenabled Anyone got an idea for me? mfg. Harry Wiens -- PHP General Mailing List (http://www.ph

Re: [PHP] problem with gd

2003-09-17 Thread Harry Wiens
I have PHP-Version 4.2.2 "Jason Wong" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Wednesday 17 September 2003 15:25, Harry Wiens wrote: > > > i got a problem with the gd library at my isp's server. > > What version

[PHP] About Session_Start() with different Browser

2003-09-18 Thread Harry Yau
and call "ob_end_clean()" before setting the header for pdf content. It does not correct the problem. I am wondering what exactly the "session_start()" does? How it can have different effect upon various browser? Of simply, please tell me how to correct those problems!~

[PHP] Session with various Browser.

2003-09-18 Thread Harry Yau
and call "ob_end_clean()" before setting the header for pdf content. It does not correct the problem. I am wondering what exactly the "session_start()" does? How it can have different effect upon various browser? Of simply, please tell me how to correct those problems!~

Re: [PHP] Session with various Browser.

2003-09-19 Thread Harry Yau
Thanks Marek!~ I have solved this problem with the exactly suggestion from you. session_cache_limiter("private_no_expire"); Marek Kilimajer wrote: > Experiment with session_cache_limiter(), for example try to set it to > private_no_expire. > > Harry Yau wrote: > > &

[PHP] Working with PHP Class Within Javascript

2003-09-22 Thread Harry Yau
HP Class Object from the HTML page to the PHP Script at the end?? Thank You Very Much! Best Regards, Harry yau -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Authentication with sessions - Recommendation and suggestions?

2002-02-13 Thread Harry Yu
_page.php http://server/login_page.php\n\n"; ); } Can anyone give me any suggestions or recommendations? Is there any security concerns? Also, the session files are in a directory that is not world readable. Thanks in advance, Harry __ Do You

[PHP] array session variable problem (register_global=off)

2002-02-20 Thread Harry Yu
Hi All, I have register_global = off and I have problem retrieving array session variable. For example; Page1.php Page2.php None of these works. The session file does registered the array and variables. I can retrieve the array with the register_global on. Any ideas? Thanks, Harry

RE: [PHP] array session variable problem (register_global=off)

2002-02-20 Thread Harry Yu
Thanks for your reply, I have no problem assigning variable. I just can't retrieve them. If I use $_SESSION[foo['bar']], I got this error in Apache log. [Wed Feb 20 16:44:50 2002] [error] PHP Parse error: parse error, expecting `']''. Any other idea? Thanks

RE: [PHP] array session variable problem (register_global=off)

2002-02-20 Thread Harry Yu
Thanks Kirk, That works. Harry __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Specify php.ini per virtual host?

2002-02-21 Thread Harry Yu
You can use the php_admin_value in your virtual host. For example: php_admin_value safe_mode 0 This will turn safe mode off for that virtual host. Hope this helps, Harry __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http

Re: [PHP] A Small Bug Giving Me A Big Headache

2002-03-04 Thread Harry Yu
Does any of your values has an apostrophe in them? If there is, you will get a syntax error. Hope this helps, Harry __ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com -- PHP General Mailing List (http

Re: [PHP] Please help with code

2002-04-01 Thread Harry Yu
You forgot to select the database that you want to insert. Ex: $db = mysql_select_db ( mydatabase ); Hope this helps, Harry --- "Denis L. Menezes" <[EMAIL PROTECTED]> wrote: > Hello friends, > > can someone tell me wha

Re: [PHP] Need some help too!

2002-04-02 Thread Harry Yu
In you php.ini, change the SMTP to the Solaris mail server. Hope this help, Harry --- "Ryan F. Bayhonan" <[EMAIL PROTECTED]> wrote: > Good day to all. > > Just want to ask some help from you guys. > > I'h vaving problem with mail function. I'm currentl

[PHP] Any easy way of finding "yesterday"...?

2001-11-13 Thread Harry Lau
It is easy to use the function getDate() to obtain the date of today. But instead of writing plenty of conditions, is there any easy way to get the date of yesterday? Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Re: Any easy way of finding "yesterday"...?

2001-11-13 Thread Harry Lau
Following is a solution... $now = getdate(); $today = date("d-m-Y"); $yesterday = date("d-m-Y",mktime(0,0,0,$today['mon'],$today['mday']-1,$today['year']); echo("Today is " . $today . "and yesterday was " . $yesterday); &q

[PHP] Re: Any easy way of finding "yesterday"...?

2001-11-13 Thread Harry Lau
Oh what a big mistake...sorry! $now = getdate(); $today = date("d-m-Y"); $yesterday = date("d-m-Y",mktime(0,0,0,$now['mon'],$now['mday']-1,$now['year']); echo("Today is " . $today . "and yesterday was " . $yesterday); &q

[PHP] Problem with Encoding

2001-09-08 Thread Harry Lau
.) Would anyone give me some suggestions? Thanks a lot :) Harry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Page Numbering Search Results

2004-07-27 Thread Harry G
estimate it to reach a few hundred to even a couple of thousand. Would doing double queries put unnecessary load on my server? What other ways or techniques are there for doing this?? Any suggestions Regards Harry

[PHP] Re: Data management tool

2004-07-27 Thread Harry G
You can also use an application called CodeCharge. It's very easy to use. By the way are you living in India or abroad?? Harmeet "Jaskirat Singh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Everyone, > I am looking for a tool that lets me do simple data managment ie. > edit,

[PHP] Changing environment variables ? (stupid question)

2004-05-27 Thread Harry Sufehmi
d.conf. But, _ENV["ORACLE_HOME"] (environment variable?) still shows the wrong value. I tried entering the right value in apachectl, but it still doesn't change. Does anyone knows how to accomplish this ? Please let me know. btw - I'm using Apache 1.3.31 on Solaris 8, PHP 4.3.6 Man

Re: [PHP] Re: Changing environment variables ? (stupid question)

2004-05-28 Thread Harry Sufehmi
gt;http://docs.sun.com/db/doc/806-7612/6jgfmsvrt?a=view Thanks Jason... looks like what I need really is a Solaris expert. Cheers for that, I'll try to look for one. Thanks! Harry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Recommendation on PHP encoder please

2004-02-04 Thread Harry Sufehmi
$ 960 tag is only for a year's license. And I don't think we have the budget to buy the perpetual license. Could anyone recommend other PHP encoder for us? Many thanks, Harry -- Kampanye open-source Indonesia - http://www.DariWindowsKeLinux.com Solusi canggih, bebas ikatan,

Re: [PHP] Recommendation on PHP encoder please

2004-02-05 Thread Harry Sufehmi
On 04/02/2004 at 09:35 Chris W wrote: >>Hi, my company's looking to buy a PHP encoder to secure the source code. >>The encoded scripts should be able to run on Solaris platform (Apache >webserver), and should only require minimum changes to the server. >> >I'm sorry I can't help you but I am curiou

RE: [PHP] Recommendation on PHP encoder please

2004-02-05 Thread Harry Sufehmi
compatibility now. Thanks again! Harry On 04/02/2004 at 09:39 Larry Brown wrote: >Check out ioncube.com. I use them and it was very easy to install and run. >The best thing about it is that a problem with apache or apache >configuration won't end up displaying the script contents

RE: [PHP] Recommendation on PHP encoder please

2004-02-05 Thread Harry Sufehmi
On 05/02/2004 at 11:48 Ford, Mike [LSS] wrote: >On 05 February 2004 11:30, Harry Sufehmi wrote: >> As you can see, the content will be secured, but the script >> is now becoming the weak point since it'll store the >> encryption key needed to decrypt the co

Re: [PHP] Recommendation on PHP encoder please

2004-02-05 Thread Harry Sufehmi
On 05/02/2004 at 14:07 Andrei Reinus wrote: >> So double-encoding it (using a PHP encoder) will make life finally very >hard for said cracker. > >No its not ... >if I would badly need to get this encrypted page and have access to files ... So there's a reasonably easy way to decrypt those encoded

RE: [PHP] Recommendation on PHP encoder please

2004-02-05 Thread Harry Sufehmi
On 05/02/2004 at 13:17 Ford, Mike [LSS] wrote: >On 05 February 2004 13:10, Harry Sufehmi wrote: >> On 05/02/2004 at 11:48 Ford, Mike [LSS] wrote: >> > On 05 February 2004 11:30, Harry Sufehmi wrote: >> > > As you can see, the content w

Re: [PHP] Recommendation on PHP encoder please

2004-02-05 Thread Harry Sufehmi
On 05/02/2004 at 10:46 Adam Bregenzer wrote: >On Thu, 2004-02-05 at 08:13, Harry Sufehmi wrote: >> So there's a reasonably easy way to decrypt those encoded files then ? >(despite those vendors' claim...) >There isn't a program to revert encoded files to their o

Re: [PHP] Novell and PHP

2004-02-09 Thread Harry Sufehmi
On 06/02/2004 at 14:09 [EMAIL PROTECTED] wrote: >Can someone explain what this all means then >http://forge.novell.com/modules/xfmod/project/?php >Are they supporting php or are they planning to take over something that is >impossible ? I'm guessing that they're tailoring PHP to their (Novell's) n

Re: [PHP] Running Apache in one machine and php in another

2004-02-09 Thread Harry Sufehmi
On 06/02/2004 at 11:55 Mrs. Geeta Thanu wrote: >This is in addition to my previous mail. >I feel the PHP script and the C program should be in one machine >and apache in another. >When a user click the link the php script should upload a form get the >input and show the result. >So apache should su

Re: [PHP] Running Apache in one machine and php in another

2004-02-12 Thread Harry Sufehmi
On 06/02/2004 at 11:55 Mrs. Geeta Thanu wrote: >This is in addition to my previous mail. >I feel the PHP script and the C program should be in one machine >and apache in another. >When a user click the link the php script should upload a form get the >input and show the result. >So apache should su

[PHP] PHP + Oracle and UK locale

2004-02-16 Thread Harry Sufehmi
(Redirected by "Harry Sufehmi" <[EMAIL PROTECTED]>) First sorry if this email was already received by you, I sent this originally on the weekend but didn't seem to be showing up in the list, so trying to repost again today. I've setup phpBB in my company using Oracle

[PHP] what does this mean?

2004-03-10 Thread Harry Wiens
$this->styles['shadow'] = (boolean)$bool; what does "(boolean)$bool" mean? mfg. harry wiens -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Changes in php.ini have no effect

2004-03-16 Thread Harry Sufehmi
ent config, such as: # php is installed at c:\php\php-4.3.3\ --- not c:\php4 # extension_dir is set to c:\php\php-4.3.3\extensions\ in php.ini --- but phpinfo() says different things # php_gd2.dll is enabled, but not according to phpinfo() Any pointer will be very much appreciated. Thanks, Harr

RE: [PHP] Changes in php.ini have no effect

2004-03-16 Thread Harry Sufehmi
On 16/03/2004 at 18:18 Ford, Mike [LSS] wrote: >On 16 March 2004 15:10, Harry Sufehmi wrote: >> Problem: >> Changes made in c:\winnt\php.ini doesn't have any effect even after >> restarting Apache. >> >> PHP version: 4.3.3 >> phpinfo() output - http://

[PHP] Re: Php mailer

2004-03-19 Thread Harry Wiens
Nocc is the app you're looking for take a look at http://nocc.sourceforge.net/ "Mrs. Geeta Thanu" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi all, > > I am new to php and want to use php for our mailing program. > At present we have servlet program what the users access