[PHP] Any Tiki users on the list

2003-03-07 Thread George Pitcher
Hi, I'm trying to evaluate Tiki 1.5 but just keep getting an error message on the setup.php page: "Warning: Invalid argument supplied for foreach() in C:\Inetpub\wwwroot\tiki\setup.php on line 11". I've followed the instructions in the Tiki manual. Any suggestions? George === George Pitcher

[PHP] Re: submit button

2003-03-07 Thread Foong
can i have a peek on your diki.php? I didn't see any attachment. Foong "Diksha Neel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi everybody, > > i have a PHP script by name registration.php > in which i have a submit button at the bottom. > the form in this script is sent to

[PHP] Re: submit button

2003-03-07 Thread Foong
sorry, I really didn't seen any attachment in any of your post. can you paste it in your next post? foong "Diksha Neel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi everybody, > > i have a PHP script by name registration.php > in which i have a submit button at the bottom. >

[PHP] submit button with attachment

2003-03-07 Thread Diksha Neel
dear all, hi! i have a php page by name diki.php which i have pasted below. i have removed the irrelevant code because of the size limit of the email. in this page is a submit button at the end. the form in which this button is placed is by "get" sent to p.php which has only the following contents

[PHP] Re: SUBMIT

2003-03-07 Thread Foong
OK sorry i miss this post. looking at you code. I guess there are mismatch of opening and closing tags. In HTML double slashes // is not a comment. when you do something like // The tag wont get commented use: to comment a html tag out side php scope. Foong "Diksha Neel" <[EMAIL PROTECTED]>

[PHP] Search for keyword in txt file

2003-03-07 Thread Chris Blake
Greetings learned PHP(eople), What is the best method to search a text file for a specific string and return it to a form ? I`m not looking for you guys (and gals) to give me the answer, just point me in the right direction So long and thanks for all the fish.. -- Chris Blake Office :

RE: [PHP] Version 5?

2003-03-07 Thread Dan Rossi
the OO handling definately and it works ! although u have to change your private and public functions to specific public function 1 and private function 2 etc , i run it only another apache process on a different port so i can run 4.3.1 aswell -Original Message- From: Marco Tabini [mailto:

RE: [PHP] Search for keyword in txt file

2003-03-07 Thread Niklas Lampén
Dolphins are gone. ;) Here is your direction: preg_match(). If you need help with it (it can be compicated at first), ask. :) Niklas -Original Message- From: Chris Blake [mailto:[EMAIL PROTECTED] Sent: 7. maaliskuuta 2003 11:16 To: [EMAIL PROTECTED] Subject: [PHP] Search for keyword i

Re: [PHP] Any Tiki users on the list

2003-03-07 Thread Jason Wong
On Friday 07 March 2003 16:09, George Pitcher wrote: > I'm trying to evaluate Tiki 1.5 but just keep getting an error message on > the setup.php page: > > "Warning: Invalid argument supplied for foreach() in > C:\Inetpub\wwwroot\tiki\setup.php on line 11". > > I've followed the instructions in the

Re: [PHP] Empty Database Variables

2003-03-07 Thread Jason Wong
On Friday 07 March 2003 05:52, Stephen wrote: > For some reason, whenevr I try and access the database contents, it turns > up empty. What I do is randomly select an ID (the lowest being 1 and the > highest being however many IDs are in the database [this section of > accessing the database works]

RE: [PHP] Any Tiki users on the list

2003-03-07 Thread George Pitcher
Jason, Duh! I should have checked that out first. Thanks George. == In a marching band, I'd be carrying the piano! == > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED] > Sent: 07 March

RE: [PHP] Search for keyword in txt file

2003-03-07 Thread Chris Blake
Ok, it`s not that easy..here`s my code...I wanna search all the files in the "logs" directory and for each file found I want it to search for the word "started" and print that line into a table row. I will probably need to do like a "for each" loopbut where do I insert it ? =

RE: [PHP] Search for keyword in txt file

2003-03-07 Thread Ernest E Vogelsinger
At 11:36 07.03.2003, Chris Blake said: [snip] >Ok, it`s not that easy..here`s my code...I wanna search all the >files in the "logs" directory and for each file found I want it to >search for the word "started" and print that line into a table row. >

[PHP] rates for differents date?

2003-03-07 Thread Shaine Gordon
hey guys ok question: 7days in a week. day 1-2 costs $10, day 3-5 cost $15, day 4-7 costs $10. how can I work out the total if someone stays from say day 2-5? or what about day 3-7? any help would be great thanks shaine gordon -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] rates for differents date?

2003-03-07 Thread Jon Haworth
Hi Shaine, > ok question: 7days in a week. > day 1-2 costs $10, > day 3-5 cost $15, > day 4-7 costs $10. I'm assuming you meant 6-7 here instead of 4-7, otherwise you've introduced a contradiction with days 3-5. > how can I work out the total if someone stays from say day 2-5? > or what about d

RE: [PHP] Search for keyword in txt file

2003-03-07 Thread Niklas Lampén
You might want to use preg_match_all(). Here's a sample of getting whole row with a specified word in it: Niklas -Original Message- From: Chris Blake [mailto:[EMAIL PROTECTED] Sent: 7. maaliskuuta 2003 12:36 To: Php-General Subject: RE: [PHP] Search for keyword in txt file Ok, it`

[PHP] attaching php-action to form-button

2003-03-07 Thread Michiel van Heusden
my problem is this I have some variables defined which i'm sending through get // input's etc now I have $var1 defined in my PHP and I want to send it through that GET as well is there a way to do this? so it's not a user-defined but php-defined var, which i need to send through the form any

[PHP] cookie problem.

2003-03-07 Thread H M
hello. i'm new to this NG, so i don't know if this is the right mailinglist / newsgroup for my problem. if not, please let me know which one to post it to. anyway, here goes: i'm designing a new website with several php scripts. for that purpose i've configuerd my server (apache under MacOSX 10

Re: [PHP] attaching php-action to form-button

2003-03-07 Thread Ernest E Vogelsinger
At 12:59 07.03.2003, Michiel van Heusden said: [snip] >I have some variables defined which i'm sending through get > > >// input's etc > > >now I have $var1 defined in my PHP and I want to send it through that GET as >well >is there a way to do this? > >so it

[PHP] javascript

2003-03-07 Thread Diksha Neel
dear all, hi! in my php script registration1.php, i have written javascript for form validation i.e. for checking if the mandatory fields are filled correctly or not. but on clicking the submit button, i get connected to the next page without the form getting validated!! i guess i have made a sil

[PHP] JAVASCRIPT

2003-03-07 Thread Diksha Neel
dear all, hi! in my php script registration1.php, i have written javascript for form validation i.e. for checking if the mandatory fields are filled correctly or not. but on clicking the submit button, i get connected to the next page without the form getting validated!! i guess i have made a sil

[PHP] JAVASCRIPT

2003-03-07 Thread Diksha Neel
dear all, hi! in my php script registration1.php, i have written javascript for form validation i.e. for checking if the mandatory fields are filled correctly or not. but on clicking the submit button, i get connected to the next page without the form getting validated!! i guess i have made a sil

Re: [PHP] JAVASCRIPT

2003-03-07 Thread Awlad Hussain
i think you're not calling the the javascript validation function when you're submiting the form you need to call the function like this: try this code below, hope this will help -awlad