[PHP] module.so and php-directory!!!

2003-09-06 Thread m n
Hi!! I have writen a php_module.so but i havent access right to move my module to the php-directory!! Is the any other way to load php_module!!! BR

[PHP] Get particular section structure of message

2003-09-06 Thread myhan
I make a function to fetch the structure of a particulat section of a message, and I test it with some special mails and it works well. But for I am not so familiar with mime-types, I need more suggest and help. function getCurrentStruct($pi_msgid, $ps_part=1) { //$o_struct =

Re: [PHP] simple Apache question I'm sure

2003-09-06 Thread David Otton
On Fri, 5 Sep 2003 20:30:22 -0700, you wrote: This is more Apache related but I have a php/apache config'd box at home I want to test stuff out on before uploading to a public server. Every directory except wwwroot dir I must place a '/' after the dir name to get a listing such as

Re: [PHP] Maximum amount of variables in a session?

2003-09-06 Thread David Otton
On Fri, 5 Sep 2003 14:40:39 -0700, you wrote: I am creating a project for a web hosting control panel and just wondering if there is a limit to the amount of variables I can store in a session? If I have too many variables will it create an uneccassary strain on my server? What is an average

Re: [PHP] Re: PHP code generation

2003-09-06 Thread Marek Kilimajer
I think http://www.meta-language.net/ might be something similar. Chris Hubbard wrote: No, not random character generation. Currently the application I'm working does the following: 1. from an array that defines HTML components (like a table row, input field, file upload, etc), and, 2. from

php-general Digest 6 Sep 2003 14:36:28 -0000 Issue 2281

2003-09-06 Thread php-general-digest-help
php-general Digest 6 Sep 2003 14:36:28 - Issue 2281 Topics (messages 161839 through 161857): Re: Notices - Variable not defined 161839 by: John W. Holmes 161841 by: Leonie Planning a project with PHP. 161840 by: Info.Best-IT 161845 by: Raditha Dissanayake

RE: [PHP] simple Apache question I'm sure [solved]

2003-09-06 Thread Paul O'Neil
Thanks for that answer. that was it. Theres alot going on in apache! -Original Message- From: David Otton [mailto:[EMAIL PROTECTED] Sent: Saturday, September 06, 2003 4:40 AM To: Paul O'Neil Cc: [EMAIL PROTECTED] Subject: Re: [PHP] simple Apache question I'm sure On Fri, 5 Sep 2003

[PHP] [imagick] converting to variable instead of file

2003-09-06 Thread Decapde Azur
hi all, With imagick_writeimage() function, is it possible to send the image to a variable instead of dumping it to a file or to the client browser? Thanks PS (if I try this, it is to convert an image to xpm in a variable and use it in php-gtk) -- PHP General Mailing List

[PHP] Function calling from url

2003-09-06 Thread Robin Kopetzky
Good morning! I would like to call a function from a FORM's ACTION attribute. This is what I'm trying to do: FORM ACTION=www.example.com/PHP_FILENAME/function_name?parameter1=xparameter2=y etc... I can include the PHP_FILENAME but passing parameters to the function I can't figure out how to

Re: [PHP] Function calling from url

2003-09-06 Thread Larry E . Ullman
I would like to call a function from a FORM's ACTION attribute. This is what I'm trying to do: FORM ACTION=www.example.com/PHP_FILENAME/function_name? parameter1=xparameter2=y etc... Well, you're not going to call a function that way, but you will submit the form to the PHP page

Re: [PHP] Function calling from url

2003-09-06 Thread John W. Holmes
Robin Kopetzky wrote: I would like to call a function from a FORM's ACTION attribute. This is what I'm trying to do: FORM ACTION=www.example.com/PHP_FILENAME/function_name?parameter1=xparameter2=y etc... I can include the PHP_FILENAME but passing parameters to the function I can't figure out how

[PHP] Unregistering several variables at once -- how?

2003-09-06 Thread James Johnson
Hi, I have 15 - 20 $_SESSION vars that I want to clear when a user logs out. I've been doing it with the following code: if(session_is_registered($_SESSION['svUserID'])){ session_unregister($_SESSION['svUserID']); } But, this is tedious. Is there a better way, like

Re: [PHP] Unregistering several variables at once -- how?

2003-09-06 Thread John W. Holmes
James Johnson wrote: Hi, I have 15 - 20 $_SESSION vars that I want to clear when a user logs out. I've been doing it with the following code: if(session_is_registered($_SESSION['svUserID'])){ session_unregister($_SESSION['svUserID']); } But, this is tedious. Is there a better way, like

[PHP] $HTTP_REFERER / Hijacking

2003-09-06 Thread John Taylor-Johnston
This is kind of old-fashioned, but I created a counter that prevents hijacking. district is a partial of the word in the URL. If it does not exist, echoes hijacking ... snip--- if(stristr($HTTP_REFERER,district)) { #... #echo document.write(\$num_rows visitors since August 23, 2003\);; echo

[PHP] Cpanel or Plesk

2003-09-06 Thread Dasmeet
Hi! I guess many of you must have used both CPanel and Plesk. Can you tell me which one is better and what are the basic differences between them? Also can accounts hosted on WHM/CPanel moved to Plesk? Any information would be of great help. Thanks in advance! Dasmeet -- -- Domainwala.com

Re: [PHP] Remove vars from memory?

2003-09-06 Thread Dan Anderson
yes, you must use unset() to remove a variable, otherwise it will stay for the duration of the script. Don't worry about memory management if you're going to use PHP. The point of using a high level language like PHP is you can just ignore it. Let's say you decided to: if ($temp) { /*

Re: [PHP] Function calling from url

2003-09-06 Thread Dan Anderson
I know what you're trying to do you just don't quite know how to say it... I use something like: if ($_GET['somevar'] AND $_GET['something_else']) { do_something($_GET['somevar'], $_GET['something_else']); } else { output_error_message(); } -Dan On Sat, 2003-09-06 at 13:19, Robin Kopetzky

Re: [PHP] $HTTP_REFERER / Hijacking

2003-09-06 Thread Curt Zirzow
* Thus wrote John Taylor-Johnston ([EMAIL PROTECTED]): The problem is I noticed a friend was getting the hijacking message. I had him clean his cache and reload, but no luck. I wondered why he got that message, so I echoed $HTTP_REFERER to see what his IE6.x was spewing out. The result

Re: [PHP] Cpanel or Plesk

2003-09-06 Thread Curt Zirzow
* Thus wrote Dasmeet ([EMAIL PROTECTED]): Hi! I guess many of you must have used both CPanel and Plesk. Can you tell nope never have. me which one is better and what are the basic differences between them? I would suggest that maybe you research the products. Also can accounts hosted on

[PHP] Encrypt/Serialize Source Code for Sale

2003-09-06 Thread Charles Kline
What methods are available (ups and downs) for encrypting and serializing php applications for sale? Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cpanel or Plesk

2003-09-06 Thread andu
On Sat, 06 Sep 2003 23:58:39 +0530 Dasmeet [EMAIL PROTECTED] wrote: Hi! I guess many of you must have used both CPanel and Plesk. Can you tell me which one is better and what are the basic differences between them? Also can accounts hosted on WHM/CPanel moved to Plesk? Any information

[PHP] String formatting function - First char Upper, rest lower

2003-09-06 Thread James Johnson
Hi, Newbie question. Does anyone know of a function or script that will capitalize the first char and lowercase the remaining chars of each word in a string? Thanks, James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: String formatting function - First char Upper, rest lower

2003-09-06 Thread Thomas Hebinck
Hi, Does anyone know of a function or script that will capitalize the first char and lowercase the remaining chars of each word in a string? from the documentation: $bar = ucwords(strtolower($bar)); http://de.php.net/manual/en/function.ucwords.php Bye, Thomas. -- PHP General Mailing List

Re: [PHP] [imagick] converting to variable instead of file

2003-09-06 Thread Decapode Azur
I had thought too that it is possible to write a temp file for this image, but it would be much better i think if there was another way... Is it really impossible to prevent from this hard disk access ? -- Write it to a tem file then use file_get_contents() on the file name. [...] With

[PHP] Memory used by script

2003-09-06 Thread \[cz\]Emo
Hi all. I would like to ask you if exist some way to get size of memory used by current script. I searched for sth, but didn't found any suitable result :o( Thanx Emo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cpanel or Plesk

2003-09-06 Thread Oscar F
I've used both and personally, I like CPanel a whole lot more, it has in my opinion a better and easier to understand interface for users. I don't know if account that use CPanel can be moved to Plesk but I would suppose you could, I don't know for sure tho. Oscar. Dasmeet wrote: Hi! I guess

Re: [PHP] Memory used by script

2003-09-06 Thread Curt Zirzow
* Thus wrote [cz]Emo ([EMAIL PROTECTED]): Hi all. I would like to ask you if exist some way to get size of memory used by current script. I searched for sth, but didn't found any suitable result :o( yes for php = 4.3.2 http://php.net/memory_get_usage Curt -- I used to think I was

[PHP] Running PHP scripts in PHP Nuke

2003-09-06 Thread Dan Anderson
I have a client who wants me to install a script on their web site. Only problem is they use PHP nuke and when I edit a pages content and type in : ?php include(script.php); ? Or do something like: OBJECT DATA=http://www.site.com/script.php;/OBJECT It doesn't work. Can anybody tell me how to

[PHP] Re: PHP code generation

2003-09-06 Thread Manuel Lemos
Hello Chris, On 09/05/2003 02:11 PM, Chris Hubbard wrote: I'm working on a code generation project. Is there anyone on the list who has experience building these things, and, would like to discuss architecture/patterns/structure of code generation off-list? You may want to take a look at

php-general Digest 7 Sep 2003 02:48:39 -0000 Issue 2282

2003-09-06 Thread php-general-digest-help
php-general Digest 7 Sep 2003 02:48:39 - Issue 2282 Topics (messages 161858 through 161880): Re: simple Apache question I'm sure [solved] 161858 by: Paul O'Neil [imagick] converting to variable instead of file 161859 by: Decapde Azur 161875 by: Decapde Azur

[PHP] Linux Issues

2003-09-06 Thread Stephen Craton
Hello, This isn't really a PHP issue but I have no where else to go to get help really. Hopefully someone here can still help me. I am running Windows XP and have decided to install Mandrake Linux on top of it just for the heck of it. So, Friday I downloaded the latest ISO files from an FTP

Re: [PHP] Linux Issues

2003-09-06 Thread Dan Anderson
I went to the online manual for Mandrake and it said to add the text noauto which I did for the boot sequence. Same error. Any ideas what's going on and how to fix it? Did you run an md5 sum of your burnt isos? What about double checking the burnt CD against the iso? Try redownloading and

Re: [PHP] Linux Issues

2003-09-06 Thread Dan Anderson
Oh also make sure you are using /9.1/ and NOT /9.2 RC1/! -Dan On Sat, 2003-09-06 at 22:51, Stephen Craton wrote: Hello, This isn't really a PHP issue but I have no where else to go to get help really. Hopefully someone here can still help me. I am running Windows XP and have decided

Re: [PHP] Linux Issues

2003-09-06 Thread Stephen Craton
Thanks for the replies. I've tried both 8.1 and 9.1 versions of Mandrake Linux with no luck (I bought the 8.1 CDs a while back) I've also tried making a floppy disk but still no luck with 8.1. In 9.1, I can't get the autorun screen to make the floppy disk. Thanks, Stephen Craton - Original

Re: [PHP] Linux Issues

2003-09-06 Thread andu
On Sat, 6 Sep 2003 22:41:29 -0500 Stephen Craton [EMAIL PROTECTED] wrote: Thanks for the replies. I've tried both 8.1 and 9.1 versions of Mandrake Linux with no luck (I bought the 8.1 CDs a while back) I've also tried making a floppy disk but still no luck with 8.1. In 9.1, I can't get

Re: [PHP] Too Advanced? Re: Cookies Hidden Image

2003-09-06 Thread Chris Shiflett
--- Nicole [EMAIL PROTECTED] wrote: The problem is accessing the cookie when the script is called via the image tag. If the script is called directly, the cookie is accessible. http://trackerurl/blahblah/script.php --- called directly can see the Cookie img

RE: [PHP] Too Advanced? Re: Cookies Hidden Image

2003-09-06 Thread Chris Shiflett
--- Mark Charette [EMAIL PROTECTED] wrote: It's not a PHP thing, it's an HTML protocol thing ... I think you mean HTTP. :-) HTML is a markup language. Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List

[PHP] Date class and Span.php

2003-09-06 Thread Nelson Goforth
I am trying to use the Date class and am having trouble with it. Since I'm just starting to use PEAR modules I'm not sure if I'm missing something simple or just what. Date.php calls for an include of a file called Span.php, but the file does not exist in the date subdirectory. I've found

Re: [PHP] [imagick] converting to variable instead of file

2003-09-06 Thread Evan Nemerson
maybe create a fifo and write to that, then read from php? On Saturday 06 September 2003 04:17 pm, Decapode Azur wrote: I had thought too that it is possible to write a temp file for this image, but it would be much better i think if there was another way... Is it really impossible to

Re: [PHP] Encrypt/Serialize Source Code for Sale

2003-09-06 Thread Evan Nemerson
Take a look at Turck MMCache (free) and Zend Encoder (not). http://www.turcksoft.com/en/e_mmc.htm http://www.zend.com/store/products/zend-encoder.php On Saturday 06 September 2003 01:59 pm, Charles Kline wrote: What methods are available (ups and downs) for encrypting and serializing php

[PHP] Problem with include();

2003-09-06 Thread Ty Lamb
/index.php has include(/code/includes/page_header.php); /docs/aaryn/dmb/dave.php has include(/code/includes/page_header.php); Both are identical lines of code. Index.php works but dave.php returns the following: Warning: Failed opening '/code/includes/page_header.php' for inclusion

RE: [PHP] Re: PHP code generation

2003-09-06 Thread electroteque
what is the whole point of it again ? and how do they do this ?? http://www.meta-language.net/screenshots.html -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: Sunday, September 07, 2003 12:48 PM To: Chris Hubbard Cc: [EMAIL PROTECTED] Php. Net Subject: [PHP] Re:

[PHP] Error when using built in functions

2003-09-06 Thread Ben C.
I am having problems using the following functions; trim(), ucwords(), and others. Do I have a setting wrong? Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php