[PHP] Separating HTML code from PHP code

2007-03-10 Thread Don Don
Hi all, i am building a system using php and am trying to separate the html codes from the php codes (i.e. placing them in separate files), I am from the java struts/spring background and seem to be finding it difficult doing that at the moment with php. I've got a registration form in htm

[PHP] PHP URL issues

2007-03-12 Thread Don Don
I've got the following url rewriting problem. on page 1 i've got this See and on page 2 i've got this $messageID = $_REQUEST["messageId"]; $userID = $_REQUEST["userId"]; when i check to see the values of these variables its says its empty, but when i place my curs

Re: [PHP] PHP URL issues

2007-03-13 Thread Don Don
inside double qoutations. Hope that helps On 3/12/07, Don Don <[EMAIL PROTECTED]> wrote: I've got the following url rewriting problem. on page 1 i've got this See and on page 2 i've got this $messageID = $_REQUEST["messageId"]; $userID = $_REQUEST[

Re: [PHP] PHP URL issues

2007-03-13 Thread Don Don
inside double qoutations. Hope that helps On 3/12/07, Don Don <[EMAIL PROTECTED]> wrote: I've got the following url rewriting problem. on page 1 i've got this See and on page 2 i've got this $messageID = $_REQUEST["messageId"]; $userID =

Re: [PHP] PHP URL issues

2007-03-13 Thread Don Don
; wrote: You should use urlencode() on variables that will go into URL arguments. You might have a whitespace in any of those variables and the URL stops at the first whitespace. If those spaces are at the ends and are not significant, you might want to use trim(). - Original Mess

[PHP] Preventing unwanted chars from outputting

2007-03-18 Thread Don Don
Hi all, my program outputs some characters along with text from the database, these texts contain chars like ‘ ’. How can i get rid of theses chars and display their meaning instead ? I am thinking htmlspecialchars or html entities will do the job will it ? Cheers -

[PHP] Speed of apache/php4 on windows

2007-03-31 Thread Don Don
Hi all, i've got apache/php4 running on windows xp with good hardware configuration etc. However, the speed of execution of php pages is really slow. When testing on my local development machine it takes a few more seconds executing php files than it should normally take. How can I up th

[PHP] Best opensource XML parser for PHP ?

2007-04-02 Thread Don Don
Hi all whats the best open source (free) xml parser for php (4 >) ? I've come across a few but am looking the best as adjudged by the industry. Cheers - Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A.

[PHP] SimpleXML end of element/tag error

2007-04-05 Thread Don Don
I am using simple xml to parse an xml file, the program parses the file and produces an error at the end of the foreach loop when it reaches the end of the tag, it tries to look for an element/tag when there is none and produces an error "Call to a member function attributes() on a non-object" t

Re: [PHP] SimpleXML end of element/tag error

2007-04-10 Thread Don Don
tes() on a non-object in line (see problematic line) How can i solve that or determine when there are no more tags to parse. JM Guillermin <[EMAIL PROTECTED]> wrote: And with : foreach ($xml as $cs) { . } ?? jm ----- Original Message - From: "Don Don" To: "PHP

[PHP] PHp Install problems on debian linux

2007-04-11 Thread Don Don
Hi all am having issues with a little problem regarding php5 installation on a debian linux machine. while trying to install php5 and supported modules I get the following error messages, what can i do to get rid of them and continue with the installation ? The following packages have

[PHP] Best way to allow users to post youtube video links ?

2007-12-20 Thread Don Don
ugins out there ? Cheers Don. - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

Re: [PHP] Is there any Open Source Mailing List Manager that works good

2007-12-20 Thread Don Don
phplist. its awesome, opensource and will support all your needs. srihari naidu <[EMAIL PROTECTED]> wrote: Hi, I am searching for a good open source php mailing list manager for some days. can any one suggest me one please. Thanks in advance. Regards, Sri. ---

[PHP] Assistance needed with mysql query to achieve this php5

2008-01-24 Thread Don Don
Hi all I have a table below CREATE TABLE `friends` ( `id` int(11) NOT NULL auto_increment, `member_id` int(11) NOT NULL, `member` varchar(32) NOT NULL, `friendwith` varchar(32) NOT NULL, `friendWithId` int(11) NOT NULL, `status` varchar(32) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyIS

Re: [PHP] Assistance needed with mysql query to achieve this php5

2008-01-25 Thread Don Don
27; instead. Actually, I think you may need to swap member/friendwith as well... But why you are storing everybody's NAME twice is beyond me... Or maybe I'm guessing wrongly what the fields are... On Thu, January 24, 2008 10:49 am, Don Don wrote: > Hi all I have a table below >

[PHP] Getting nuequiz pro wo to work in php5

2008-01-28 Thread Don Don
http://nuedream.com/nuequizpro/ I cant get the above product to work in php5. The product works in php4 but has problems with a $this variable in the database class with php5. Has anyone used the above product in php5 and found a way arround it ? Cheers Don

[PHP] PhpMyAdmin slow on windows but fast on linux

2007-04-22 Thread Don Don
Hi all how can i make my phpmyadmin run fast on windows ? I installed phpmyadmin on a linux and windows machines, but the windows version runs (executes) too slow, i.e. it takes to long for a page to be loaded, while it take less that 3 secs for the linux version. Both however run on the same

RE: [PHP] PhpMyAdmin slow on windows but fast on linux

2007-04-23 Thread Don Don
both running the same version of Apache, and that both are running as either CGI or an apache module? -Logan -Original Message----- From: Don Don [mailto:[EMAIL PROTECTED] Sent: Sunday, April 22, 2007 4:34 PM To: PHP List Subject: [PHP] PhpMyAdmin slow on windows but fast on linux Hi all h

[PHP] Redirecting (after output has started)

2007-04-25 Thread Don Don
Hi all, whats the best way to perform a redirect after out put has started ? using header:location will not work unless theres been no output. I usuall use the method below, however am concerned for browsers that do not support javascript. $location = 'index.php'; echo "\n"; e

[PHP] Make eclipse-php recognise custom extension as php ?

2007-04-27 Thread Don Don
Hi all, i've changed my server's apache config to recognize my custom extension for php files. And all my development filenames now come with this new extension. However my IDE (Php Eclipse) will not recognise this new extension as a php file, even though it opens it up but it looses all t

Re: [PHP] Re: Make eclipse-php recognise custom extension as php ?

2007-04-27 Thread Don Don
Hi Roberto, i tried out your tip, it does work but it looses the syntax highlighting functionality. Is there anyway I can make the new extension open up its contents with syntax and other php oriented functionalities ? Cheers Roberto Mansfield <[EMAIL PROTECTED]> wrote: Don Don

Re: [PHP] Re: Make eclipse-php recognise custom extension as php ? [SOLVED]

2007-04-27 Thread Don Don
The new custom extension now behaves exactly like a php file. Cheers..at least your tip lead me there. Don Don <[EMAIL PROTECTED]> wrote: Hi Roberto, i tried out your tip, it does work but it looses the syntax highlighting functionality. Is there anyway I can make the new extension open

[PHP] Disable Soap Client and Soap Server in php5

2007-05-09 Thread Don Don
How can i disable soap client and server for php5, reason is that i've got NuSOAP (which i must use) and its classes clash with that of PHP5. My php configuration (when using displays soap client and server enabled for php5. I need to disable if ..amd looking into the configs..to see how che

Re: [PHP] Re: Disable Soap Client and Soap Server in php5

2007-05-09 Thread Don Don
really hope I'm mistaken, is to recompile php with "--disable-soap". I don't think you can do it from php.ini. -- itoctopus - http://www.itoctopus.com "Don Don" wrote in message news:[EMAIL PROTECTED] > How can i disable soap client and server for php5, reason i

[PHP] printing out this nested array

2007-05-14 Thread Don Don
I am having a bit of a confusion printing the values of an array i have. When i print_r this array it contains the following: Array ( [ValueA] => ValueA [ValueB] => valueB [TestValue] => TestValue [Errors] => Array ( [0] => Array ( [ErrorId] => AD27JH [ErrorMsg] => OK ) ) ) I can get the va

Re: [PHP] printing out this nested array

2007-05-14 Thread Don Don
oops ! [0] cheers Richard Davey <[EMAIL PROTECTED]> wrote: Don Don wrote: > I am having a bit of a confusion printing the values of an array i have. When > i print_r this array it contains the following: > > Array ( [ValueA] => ValueA [ValueB] => valueB

[PHP] Pokeing functionality

2007-05-22 Thread Don Don
Hi All, am trying to integrate a poke me poke you functionality to a web 2.0 application am developing. I've got some ideas of how to do this but am not sure if its the best aproach. i am using the idea of a PM system since i've done that earlier. Does anyone have any way of implementing a po

[PHP] Regular Expressions

2007-05-22 Thread Don Don
Hi all, am trying to run a regular expression to a list of user entered data on some forms. I've creating what i think is a matching pattern for each category as shown below: function validateEntry($regularExpression, $fieldValue) { if(preg_match($regularExpression, $fieldValue)) {

Re: [PHP] Pokeing functionality

2007-05-22 Thread Don Don
oad a page? This is an extremely general question, like "I want users to be able to view each other's profiles, how?"... --rob On 5/22/07, Don Don wrote: > > Hi All, am trying to integrate a poke me poke you functionality to a web > 2.0 application am developing. I've

[PHP] Displaying HTML characters in real format

2007-07-12 Thread Don Don
Hi all, Am kind of confused between htmlspecialchars and htmlentities. I've got data i need to display data on a page containing e.g. " but will like it to be displayed as " htmlspecialchars or htmlentities or page character set ? Cheers - Take the I

[PHP] Reading sub-elements using XML Reader

2007-07-18 Thread Don Don
I am reading the following xml data in a very large file using XML reader, the xml structure looks like the xample given below head tail head part head 1 Part head 2 tail head tail head part head 1 Part head 2 tail I can read al

[PHP] Cut text from a string

2007-08-02 Thread Don Don
hi all, am trying to cut some texts from a serries of string values e.g. "this is how we do (50 cents feat. the game)" "give it to me (nelly feat timerland)" "let me hold you (bow wow feat omarion)" i want to cut off the text between the comas and i've seen some examples this is a test"; preg

Re: [PHP] Cut text from a string

2007-08-02 Thread Don Don
I meant i want to get rid of the braces. e.g. get the text up to the start of the first brace and ignore anything from the first brace onwards Dan Shirah <[EMAIL PROTECTED]> wrote: Maybe I'm blind, but I don't see any commas in the text you are referring to. On 8/2/07, Don Don

[PHP] URL Rewrite not working for me

2008-07-25 Thread Don Don
Hi all, I've set up a url rewrite code below. Options +FollowSymLinks RewriteEngine on RewriteRule profile/username/(.*) profile.php?username=$1 It only works when I type in this url http://www.example.com/profiles/profile/username/baller/ If i do not then the normal url http://www.example

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Don Don
/profiles/profile/username/baller --- On Fri, 7/25/08, Per Jessen <[EMAIL PROTECTED]> wrote: > From: Per Jessen <[EMAIL PROTECTED]> > Subject: Re: [PHP] URL Rewrite not working for me > To: php-general@lists.php.net > Date: Friday, July 25, 2008, 3:15 AM > Don Don wrote: &

[PHP] Creating user groups in social application (e.g. facebook group)

2008-07-25 Thread Don Don
Hi All, Has anyone created or has tips for the creation of user groups in a app. e.g. a Facebook group ? I am trying to create groups in a social application where users on the site can join a group etc its just much like a facebook group. Any help will be appreciated. Ta. -- PHP

[PHP] Store database password outside of public_html folder

2008-08-04 Thread Don Don
Hi All, I've been reading on the internet that is most secure to store your database details outside of the public accessible folder. I am a bit stuck on how to do this. I've got a folder "db_details" that contains the file "dbdetails" which contains the database login info. I normally includ

[PHP] Date formatting issue

2008-08-05 Thread Don Don
Hi all, I've got dates in the following formats e.g. August 05, 2008, 10:14 am (e.g. today's date) August 04, 2008, 7:08 am (e.g. yesterda's date) August 03, 2008, 9:08 am (e.g. in the past) I am trying to format these dates do I can display them like this Today at 10:14 am (today) Yesterday at

[PHP] Are there macros in PHP?

2002-12-23 Thread Don
Hi, I need to search a MySQL table based on a condition that can change at runtime. Example == $condition = CustCode = "$HTTP_SESSION_VARS['logoncustcode']"; $queryID = mysql_query("SELECT * FROM CustTariff WHERE " . $condition . " ORDER BY CustCode&qu

[PHP] Need help detecting attached files

2003-01-06 Thread Don
#x27;HTTP_' . getenv('REQUEST_METHOD') . '_VARS'; global $$request; if ($$request[$val]['size']) { However, it is always failing the test and therefore not working. Any ideas? Thanks, Don --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus sy

[PHP] question about 'register_globals' setting

2003-01-13 Thread Don
e page has been reloaded. Is this a normal effect of setting register_globals OFF? Is there a way to continue caching? Thanks, Don --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003

Re: [PHP] question about 'register_globals' setting

2003-01-13 Thread Don
> Don wrote: > > > > >I'm using I.E. 6. > > > Its not a browser thing, but a PHP thing. > > > I noticed that register_globals was set ON in my php.ini file so I changed it to OFF in as per the security warning. I've noticed a side effect. When I su

[PHP] question on Header(location

2003-01-13 Thread Don
reality still). Thanks, Don --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why is my URL encoding itself?

2003-01-14 Thread Don
7, I get a page not found error. Looking at Netscape's address bar, it says: http://www.lclnav.com/staging_area/login/..%5Cphpscript%5Cgeneral%5Cformmail.php Why is it encoding my URL??? Thanks, Don --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://

Re: [PHP] Why is my URL encoding itself?

2003-01-14 Thread Don
- Original Message - From: "Chris Shiflett" <[EMAIL PROTECTED]> To: "Don" <[EMAIL PROTECTED]>; "php list" <[EMAIL PROTECTED]> Sent: Tuesday, January 14, 2003 4:24 PM Subject: Re: [PHP] Why is my URL encoding itself? > --- Don <[EMAI

[PHP] Acessing $DOCUMENT_ROOT

2003-01-17 Thread Don
Hi, How do I access $DOCUMENT_ROOT when register_gobals is set off? I think there's an array, something like $HTTP_ENV_VARS['DOCUMENT_ROOT'] but I can't find it in the documentation. Thanks, Don --- Outgoing mail is certified Virus Free. Checked by AVG ant

[PHP] Question about using session and "logging out"

2003-01-17 Thread Don
ng the user that they are no longer logged in. This is what I want to emulate. Is there a PHP method to always force a reload the first time a page is called? Thanks, Don --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003

[PHP] How can I detetct if session cookies are enabled?

2003-02-28 Thread Don
session cookies are enabled in the user's browser? Thanks, Don --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Problem installing PHP 4.3.1 - won't compile due to odd error.

2003-03-31 Thread Don
what the install is looking for? Thanks in advance, Don --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Problem installing PHP 4.3.1 - won't compile due to odd error.

2003-04-01 Thread Don
I altered the configuration to say --> --with-curl=/usr/bin as that is the location of the curl executable but I am still getting the compile error. Any other suggestion? - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Don" <[EMAIL PR

Re: [PHP] Problem installing PHP 4.3.1 - won't compile due to odderror.

2003-04-01 Thread Don
rl 7.9.5 exit 0 ;; So, all I did was change the 7.9.5 to 7.10.3 and no more compile error. Silly huh? - Original Message - From: "Adam Voigt" <[EMAIL PROTECTED]> To: "Don" <[EMAIL PROTECTED]> Sent: Tuesday, April 01, 2003 11:19 AM Subject: Re: [PHP]

[PHP] Another Problem installing PHP 4.3.1 - won't compile due to odderror.

2003-04-01 Thread Don
Ok, now that I've solved my 'curl' problem, I've run in to another problem. Now I am getting teh following error: "configure: error: snmp.h not found. Check your SNMP installation." I've installed the ucd-snmp rpms so what am I missing? Thanks, Don -

Re: [PHP] Another Problem installing PHP 4.3.1 - won't compile due to error.

2003-04-01 Thread Don
l/curl.c:1053: `CURLINFO_REDIRECT_COUNT' undeclared (first use in this function) /usr/local/php-4.3.1/ext/curl/curl.c:1077: `CURLINFO_REDIRECT_TIME' undeclared (first use in this function) make: *** [ext/curl/curl.lo] Error 1 > Assuming you also installed ucd-snmp-devel-*.rpm, likely y

Re: [PHP] Another Problem installing PHP 4.3.1 - won't compile due to error.

2003-04-02 Thread Don
Yup, you were correct. the 7.10.3 rpm was installed but I forgot to install the 7.10.3 development rpm. I did so and all compiles fine now. Thanks, Don > My guess you have a mess in your curl library installation. For example > you use header from version 7.9.5 and specify that you have v

[PHP] Problem with PHP and MySQl after install

2003-04-02 Thread Don
MySQL extension". This extension may be part of the PHP server (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or mysql.dll. phpMyAdmin tried to load the extension but failed. What was I missing fom my install that is causing my problem? Thanks, Don

[PHP] question: installing PHP with mysql isn't working?

2003-04-02 Thread Don
Hi, Trying to install PHP with the ability to interact with MySQL. In my configuration, I've included the option: --with-mysql=shared,/usr There are no compile errors. Any idea why PHP is not recognizing any MySQL functions? Thanks, Don --- Outgoing mail is certified Virus Free. Check

Re: [PHP] Problem with PHP and MySQl after install

2003-04-03 Thread Don
Forgive my ignorance but I don't follow. I am not getting any compiling error messages or warnings. > > 2) Installed PHP 4.3.1 > > One of my config options was --with-mysql=shared,/usr > > I may be completely off base, but where did you intend the mysql > installation to go? Did it end up there?

Re: [PHP] Problem with PHP and MySQl after install

2003-04-03 Thread Don
PHP install; I want to start over from scratch? I've alrweady upgraded the MySQL package to version 4.0.12. Thanks, Don > > 2) Installed PHP 4.3.1 > > One of my config options was --with-mysql=shared,/usr > > I may be completely off base, but where did you intend the mys

Re: [PHP] Problem with PHP and MySQl after install

2003-04-03 Thread Don
The expected MySQL section is not even listed in the phpinfo() page. This would explain my "undefined function" errors when attempting MySQL functions. What I can't figure out is why MySQL is not being recognized by PHP. > At 16:58 03.04.2003, Don

Re: [PHP] Problem with PHP and MySQl after install

2003-04-03 Thread Don
n all instances of 'mysql' and found the following. However, any change I made to the mysql config. directory gives me the error: "error: Cannot find header file under " Please tell me what the directory should be in my mysql config option. Thanks, Don /usr/bin/mysql /usr/lib

[PHP] Classes and Objects

2003-06-10 Thread Don
Are Classes and Objects supported in PHP 3.0.14? I am getting an error: "Call to unsupported or undefined function phpmailer()" on a server running PHP 3.0.14 but it works in PHP 4.3.2 Thanks, Don _ This email and any files transmitted with it are strictly confidential

[PHP] Emptying the browser cache

2003-06-16 Thread Don
Hi, Is the a PHP command that will empty the browser's current cache? Thanks, Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Frusration using Sessions!!!

2002-09-23 Thread Don
Hi, I am having trouble with sessions. I've created a user login/password section that uses session variables. Within this section, I have a form where the user enters data and submits. When the user clicks on the Browser back button, they should get back to the form with their data intact. T

Re: [PHP] Saving form input fields to MySQL br clicking on a button

2002-10-31 Thread Don
- Original Message - From: Jay Blanchard To: 'DonPro' ; 'php list' Sent: Thursday, October 31, 2002 3:43 PM Subject: RE: [PHP] Saving form input fields to MySQL br clicking on a button [snip] I created a button called "Memorize" but how do I have the page save the values to my MySQL datab

[PHP] Can't get PHP running with apache

2002-06-07 Thread Don
ssl' '--enable-track-vars' '--enable-force-cgi-redirect' '--with-gettext' When I attempt to start apache, I get the following error message: "Cannot add module via name 'mod_php4.c'. not in list of loaded modules." I've sourced the net but could not find a resolution. Does this have anything to do with /etc/ld.so.conf ? Help! Don

Re: [PHP] Can't get PHP running with apache

2002-06-07 Thread Don
which states the full path to apxs so I still don't get it? When you use the --with then you need to specify a directory... Read up on the configuration of php on php.net Thank you, RAY HUNTER -Original Message- From: Don [mailto:[EMAIL PROTECTED]] Sent: Friday, June

Re: [PHP] Can't get PHP running with apache

2002-06-07 Thread Don
e for mod_php4.c, why would it tell me it's not on the list? Thanks, Don Did you add the module info to your httpd.conf file? Thank you, RAY HUNTER -Original Message- From: Don [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 1:56 PM To: Ray Hunter;

[PHP] Can I set the value of variable depending on when the page is loaded?

2002-06-13 Thread Don
just use: echo "\n"; But, how can I tell where the user is coming from? I've seen these types of searches before so maybe someone can clue me in? Thanks, Don

Re: [PHP] Can I set the value of variable depending on when the page is loaded?

2002-06-13 Thread Don
Would that solve my probem with the BACK button? - Original Message - From: "Martin Towell" <[EMAIL PROTECTED]> To: "'Don'" <[EMAIL PROTECTED]>; "php" <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 10:38 PM Subject: RE: [PHP]

[PHP] Passing variables from one page to another

2002-06-14 Thread Don
Hi, Does anyone have a PHP method of passing variables from a form to another page without using "sessions" or encoding within the URL? I remember someone mentioning a class but I lost the reference. My site uses PHP 4.0.1Pl1 Thanks, Don

[PHP] Question about global variables

2002-06-14 Thread Don
; feature where I can place/remove information into/out of the array. Thanks, Don

[PHP] Is there a replicate function in PHP

2002-06-21 Thread Don
Hi, I'd like to print one or more specific characters many times. For example, let's say I'd like to display the '*' 50 times on one line. Is there a function that will do this? Something like: ? replicate('*',50); Thanks, Don

[PHP] Accessing variables from a form

2001-02-21 Thread Don
$field = "phone" . $i; $name =& $field; echo $field . ":" . $name . "\n"; } The docs state that references are NOT pointers. So., how can I access my variables? I could not find any information on Macros or Pointers. Thanks, Don -- PHP General Mailing

[PHP] forms and databases usinh PHP

2001-03-15 Thread Don
that I should close other programs). Note: Third may not be a PHP problem but as I am unsure, I have to start somewhere. Note2: I have already queried the HTML newsgroup and the feedback I received was that large forms should not cause this problem. Thanks, Don -- PHP General Mailing List (http

Re: [PHP] forms and databases usinh PHP

2001-03-15 Thread Don
> Don wrote: > > > Hello, > > > > Has anyone run into problems using PHP to access a database (MySQL) and > > build a form. I am trying to build a form that contains anywhere from > > 10 to 20 tables. Each table will contain drop down menus, text boxes >

[PHP] passing variables from one form to another

2001-03-15 Thread Don
y original script and stuff it into the array at the element chosen? Thanks, Don -- 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] How do I display variables in text boxes when the value of a drop down menu changes?

2002-02-05 Thread Don
s this possible using PHP? I figure that since PHP is server side, I will have to use JavaScript to provide some of the functionality I require but how do I set and access PHP variables from JavaScript? If the above is not workable, Is there another way I can accomplish this? Thanks in advance, Don

[PHP] Confused about which function to use with forms/database

2002-05-17 Thread Don
() get_html_translation_table(HTML_ENTITIES) I've read the documentation but am still confused about what to use when. When passing data from forms to database, which do I use? When retrieving data from database to display in forms, which do I use? Thanks, Don

[PHP] Problem displaying certain text from a form on to the browser

2002-05-17 Thread Don
ies() but I cannot get that line to appear on the browser. Any ideas? Thanks, Don

[PHP] ClibPDF

2002-03-04 Thread Don
Does any one know how I use ClibPDF with PHP? I assume I have to recompile PHP with a switch but I can't find anyting in the docs. Thanks, Don

[PHP] Reading lines from a CSV file

2002-03-10 Thread Don
start of the next row so I can read it, etc... until eof? Thanks, Don

[PHP] How do I read a tab delimited file?

2002-03-11 Thread Don
So far so good. Now I have to process each line and extract the fields. My question is, how do I search for the TAB character? Is it as simple as searching on the ascii code by using the "chr" function? If so, what value do I use in "chr" to look for TAB? Thanks, Don

[PHP] PHP and permissions

2002-03-12 Thread Don
e (but the same group)? Thanks, Don

Re: [PHP] PHP and permissions

2002-03-13 Thread Don
I did. That's why I'm confused. phpinfo() is telling me that the user is myself (I don't see the group). So what is the "permission" difference between running PHP and logging on to the server via telnet as myself? > On Tue, 12 Mar 2002, Don wrote: > &

[PHP] creating a dBase III file

2002-03-17 Thread Don
Hi, I need to create a dBase III file however, my ISP does not have PHP compiled with --enable-debase. Does any one have or know of a class that could accomplish this? Thanks, Don

[PHP] A Newbie needs help with his first Class

2002-03-22 Thread Don
new Globals("/staging_area/phase-2/"); ?> Within my html page, I am tesing the class by trying the following: root_path . ""; echo $global->relative_path . ""; ?> However, nothing is being written to my browser. Is there a problem with the code? Thanks,. Don

[PHP] Personal web server that runs PHP

2002-03-26 Thread Don
Hi, Does anyone know of a personal web server that I can installon my Win 98 machine that supports PHP 4.x? Thanks, Don

[PHP] How can I read client-side files or upload them to a server?

2002-04-12 Thread Don
Is there a way, in PHP, for me to read client-side files or upload them to a server? Thanks, Don

[PHP] Problem redirecting

2001-10-27 Thread Don
ns? hanks, Don

[PHP] separating lines in a text area field

2001-10-29 Thread Don
depend on whether the machine is Windows or UNIX? If so, is there a system independent routine? Thanks, Don

[PHP] emailing attachments

2001-11-11 Thread Don
Hi, I have a class that allows me to send e-mail with an attachment. I have a form that gathers information and I would like to allow the user to attach a file from his local drive. Is there a PHP routine that allows the user to browse his drive and choose a file? Thanks, Don

[PHP] emailing attachments

2001-11-11 Thread Don
Hi, I have a class that allows me to send e-mail with an attachment. I have a form that gathers information and I would like to allow the user to attach a file from his local drive. Is there a PHP routine that allows the user to browse his drive and choose a file? Thanks, Don

Re: [PHP] emailing attachments

2001-11-11 Thread Don
7;s HTML > > > -Original Message- > From: Don [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 12, 2001 3:37 PM > To: php > Subject: [PHP] emailing attachments > > > Hi, > > I have a class that allows me to send e-mail with an attachment. I have a > form tha

[PHP] Using urlencode to pass varfiables in a URL

2001-12-03 Thread Don
Is there a limit to the number of variables once can pass in a URL using urlencode()? I seem to be hitting a wall where the browser returns a page not found once I go past a limit and I can't find any bugs in the code. Thanks, Don

[PHP] How do I pass variables from a PHP script to an HTML document?

2001-12-05 Thread Don
n has determined that there is a 1Kb limit on the total size of a request (URL+params) and I have one form that must be exceeding the limit. Question: Is there a way to emulate my above scheme via an HTTP POST as POST has no limit? Alternatively, is there another way to pass variables from a PHP script to a HTML form where I won't run into this limit? Thanks, Don

[PHP] Using HEADER to redirect

2001-12-06 Thread Don
Hi, I have a PHP script that uses the following code to redirect to a page of the user's choice: header("Location: http://www.mypage.net/";); In examples of this type of coding in various scriots, the above line is always followed by the statement: exit; I am wondering why. When executin

[PHP] Speed of loding PHP pages

2001-07-11 Thread Don
Hi, Has anyone tries any test loading PHP pages into IE 5.x and Netscape 4.7x? As an experiment, I have a page that issues a phpinfo(). WIth I.E. 5.5, it takes about 3 seconds. With Netscape 4.77, it takes almost 20 seconds. Thanks, Don -- PHP General Mailing List (http://www.php.net/) To

[PHP] Restoring a backup

2001-07-19 Thread Don
Hi, I have a cron script that issues a: mysqldump --opt -p"password" myfile_db /home/ftpadmin/pub/myfile_db.backup Now, I wish to do the opposite, that is, restore it into my database. After issuing a: mysql -p and entering the password, what command do I enter to restore my database from t

[PHP] emailing the contents of a form in PDF format

2001-07-31 Thread Don
rwise, some pointers to head me in the correct direction would be appreciated. Thanks, Don -- 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] PHP and push buttons

2001-08-01 Thread Don
t;Submit" does. As a FORM tag can only have one POST operation, I'm in a quandary here. Thanks, Don -- 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]

  1   2   3   4   5   6   >