[PHP] Javascript Calendar and PHP

2005-04-05 Thread Jerry Swanson
What Javascript calendar works good with PHP? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why do I get the warning messages in this case? When I execute script from shell. If I execute script from browser, no warnings.

2005-03-31 Thread Jerry Swanson
php time_test.php PHP Warning: Unknown(): Unable to load dynamic library './domxml.so' - ./domxml.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library './imap.so' - ./imap.so: cannot open shared object file: No

Re: [PHP] XML HTTP

2005-03-22 Thread Jerry Swanson
It is SOAP. I read tutorial on w3 website. Have one more question: The data that is exchange in SOAP protocol is encrypted or not? Thanks On Mon, 21 Mar 2005 17:32:59 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: On Fri, March 18, 2005 11:14 am, Jerry Swanson said: I create XML file

Re: [PHP] XML HTTP

2005-03-21 Thread Jerry Swanson
I need to use SOAP and I use PHP 5. Do I need to compile PHP with some option? Thanks On Fri, 18 Mar 2005 16:03:20 -0500, Jason Barnett [EMAIL PROTECTED] wrote: Chris Shiflett wrote: Jerry Swanson wrote: I generated XML file. I need to send the file to another server not through FTP

[PHP] XML HTTP

2005-03-18 Thread Jerry Swanson
I create XML file, how to pass the XML file to another server through HTTP? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML HTTP

2005-03-18 Thread Jerry Swanson
I generated XML file. I need to send the file to another server not through FTP but though HTTP. On Fri, 18 Mar 2005 14:17:28 -0500, Chris Shiflett [EMAIL PROTECTED] wrote: Jerry Swanson wrote: I create XML file, how to pass the XML file to another server through HTTP? This is similar

[PHP] replacement

2005-01-25 Thread Jerry Swanson
I'm trying to replace a substr of the string that start from Rated blahblah; azt the end semicolon. Example: safsagfasdfsdfdsfRated by 4 people;fafafaafafaf - return safsagfasdfsdfdsffafafaafafaf $replacement =; $pattern = /Rated.+;/; $found_str = preg_replace($pattern, $replacement,

[PHP] How to enable ftp in php5?

2005-01-02 Thread Jerry Swanson
How I can enable php in FTP 5? What I should change in PHP.INI file? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to set register_globals=off in the script?

2004-12-21 Thread Jerry Swanson
I know that register_globals = on is not secure. But one program requires to use register_globals=on. So in php.ini register_globals is set to on. I have PHP 5.1, is it possible in the code set register_globals=off for specific scripts. So I want to keep PHP register_globals=on in php.ini, but

[PHP] Pass mysql array into SESSION?

2004-12-08 Thread Jerry Swanson
I want to pass an array from one page to excell generation page. I tried to pass through session($_SESSION['sql'] = $var). But value is not set. The array is actually $result = mysql_query($query); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] PHP upgrade

2004-12-03 Thread Jerry Swanson
How to upgrade PHP 4.3.2 to new version? OS is Linux(Fedora Core 2). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Script Name

2004-11-26 Thread Jerry Swanson
What variable(parameter) in PHP stores file name? TH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Script Name

2004-11-26 Thread Jerry Swanson
I meant, file that are being executed. On Fri, 26 Nov 2004 09:46:05 -0500, John Nichel [EMAIL PROTECTED] wrote: Jerry Swanson wrote: What variable(parameter) in PHP stores file name? TH Stores what filename? The name of the file being executed? $_SERVER['SCRIPT_NAME

Re: [PHP] PHP script + read file

2004-11-21 Thread Jerry Swanson
, a+); $input_str = fread($handle1, filesize($file)); echo TEST.$input_str; } } } On Sun, 21 Nov 2004 05:40:07 +0800, Jason Wong [EMAIL PROTECTED] wrote: On Sunday 21 November 2004 05:11, Jerry Swanson wrote: I know how to read a file. But the problem

[PHP] PHP script + read file

2004-11-20 Thread Jerry Swanson
I know how to read a file. But the problem is different, I have directory that has more than 250 files. I need to read each file and process it. But How I know what file to read? ls -l (show all files). How I can select each file without knowing name? The file will be process and than delete. Any

[PHP] HTML form online

2004-11-19 Thread Jerry Swanson
I want to write php script that fill out HTML form online. Any ideas how to do it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Segmentation Fault

2004-11-17 Thread Jerry Swanson
I have index.php file. On one server it executes with no problem. On another server it gives me Segmentation Fault error. 4.3.2 - Segmentation Fault 4.3.4 - no problem What can cause such problem? This is simple login page. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] PHP file permission

2004-11-14 Thread Jerry Swanson
What is the optimal PHP file permission? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP file permission

2004-11-14 Thread Jerry Swanson
regular php page, some mysql queries and print html on the screen. On Sun, 14 Nov 2004 18:19:28 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote: depends on what you need it for Jerry Swanson wrote: What is the optimal PHP file permission? -- PHP General Mailing List (http

[PHP] header variable ?

2004-11-10 Thread Jerry Swanson
What variable header use? If I send something in header, what GLOBAL variable header use? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why cookie is created?

2004-11-09 Thread Jerry Swanson
So As I understand. Session also store ID on the harddrive. I don't see the big difference between session and cookies from privacy point of view. On Mon, 8 Nov 2004 17:55:03 -0500, Paul Reinheimer [EMAIL PROTECTED] wrote: -- I don't want to use cookies. I want to use session. When I

Re: [PHP] Why cookie is created?

2004-11-09 Thread Jerry Swanson
Why when I specify session.cookie_lifetime = 1 // Cookies are not created. However, when I specify large lifetime, cookies are created. session.cookie_lifetime = 1500 On Tue, 9 Nov 2004 08:11:46 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I just want to give you a simple

[PHP] Why cookie is created?

2004-11-08 Thread Jerry Swanson
I don't use cookie for my page. I use session. As I understand cookies don't create any files on user computer. I have this code below on my page. When I access this page immediately cookie is created on my computer. Any ideas why? ?php session_start(); $referral = $_SESSION['referral'];

Re: [PHP] Why cookie is created?

2004-11-08 Thread Jerry Swanson
harddrive. Any ideas why? PHP version 4.3.4 On Mon, 08 Nov 2004 16:01:27 -0500, John Nichel [EMAIL PROTECTED] wrote: Jerry Swanson wrote: I don't use cookie for my page. I use session. As I understand cookies don't create any files on user computer. I have this code below on my page. When I

Re: [PHP] Why cookie is created?

2004-11-08 Thread Jerry Swanson
:19:49 -0600, Greg Donald [EMAIL PROTECTED] wrote: On Mon, 8 Nov 2004 15:56:03 -0500, Jerry Swanson [EMAIL PROTECTED] wrote: I don't use cookie for my page. I use session. As I understand cookies don't create any files on user computer. Your understanding is incorrect. Using cookies does

[PHP] email as link

2004-11-03 Thread Jerry Swanson
I'm sending email in text format. When I specify URL in the email http://www.mydomain.com, person that receive email can click on the link and go to the page. But when a person receive and email with email address like [EMAIL PROTECTED] the email is regular text not an email. How to make email

Re: [PHP] beginnind and end of the week

2004-11-02 Thread Jerry Swanson
Your solution works only for Monday. For Tuesday output is below start -- 20041108 end - 20041114 I have no idea why ti doesn't wotk. On Mon, 1 Nov 2004 02:45:59 +, Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Jerry Swanson: I need to run a query using PHP/MYSQL. The query

[PHP] text email new line

2004-11-02 Thread Jerry Swanson
I'm sending text email. How I can make new line. \n seems to be not working. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] text email new line

2004-11-02 Thread Jerry Swanson
] wrote: Use \r\n Some pop server doesn't support other special characters. Sebastiano Alle 17:12, martedì 2 novembre 2004, Jerry Swanson ha scritto: I'm sending text email. How I can make new line. \n seems to be not working. -- PHP General Mailing List (http://www.php.net

Re: [PHP] text email new line

2004-11-02 Thread Jerry Swanson
It is working without \r\n. Just using regular spaces/new lines in the text message. On Tue, 2 Nov 2004 18:34:00 +0100, Jordi Canals [EMAIL PROTECTED] wrote: On Tue, 2 Nov 2004 16:25:56 +, Richard Davey [EMAIL PROTECTED] wrote: Hello Jerry, JS I'm sending text email. How I can make

[PHP] beginnind and end of the week

2004-10-31 Thread Jerry Swanson
I need to run a query using PHP/MYSQL. The query should be for a week. So if today is tuesday, the query should be from Monday to Sunday. How in in php I can know when the beginning and end of the week? TH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] output htmkl file as text

2004-10-27 Thread Jerry Swanson
I want to output html file on the screen like text not like html file. I want a program to read html file and output source code to the screen. Any ideas how to fake browser, so browser will print html tags on the screen? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] How to parse this?

2004-10-23 Thread Jerry Swanson
I have huge html file. I want to parse the data and get everything between b class=class1 and !-- Comments -- What function is good for this purpose? TH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Parsing

2004-10-23 Thread Jerry Swanson
I have huge html file. I want to parse the data and get everything between b class=class1 and !-- Comments -- What function is good for this purpose? TH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: ' (Single Quotes) in user inputs

2004-10-18 Thread Jerry Swanson
I'm not sure that stripslashes() are used for input. addslashes() - to insert data into database stripslashes() - to get data from database and print it. On 14 Oct 2004 11:19:14 +0200, Christian Jul Jensen [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] (Ben) writes: Any ideas on dealing

[PHP] For how long session exist

2004-10-14 Thread Jerry Swanson
For what period of time a session can exist? Or session exist as soon as browser is open? TH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form Validation

2004-10-14 Thread Jerry Swanson
On what percent browsers Javascript is enabled? On Wed, 13 Oct 2004 15:48:51 -0700, Mattias Thorslund [EMAIL PROTECTED] wrote: There are several JavaScript solutions for validating forms on the client side. Search on hotscripts.com and google.com. Client-side validation (in the browser) is

[PHP] time

2004-10-13 Thread Jerry Swanson
I want to send email every 24. What time format you recomend to use? In what format the data should be store in mysql? TH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php