Re: [PHP] Newbie Help - No .php file extension

2009-02-09 Thread Thijs Lensselink
Hibbert Miller wrote: > Hello,I have been asked to install an existing PHP/MySQL application on a > system using Windows Vista. > What application are we talking about here? Is it a known Open/Closed source application? Is it supposed to run on windows? > I have installed PHP 5.2.8, MySQL 5.1.31

Re: [PHP] Newbie - help with a foreach

2007-01-22 Thread Németh Zoltán
On v, 2007-01-21 at 01:28 -0800, pub wrote: > On Jan 18, 2007, at 2:43 AM, Németh Zoltán wrote: > > > first, do you want to allow several jobs for the same company to be > > > > stored in the DB and appear on the page, right? (if not, then why > > are > > > > you storing them in separate tables?

Re: [PHP] Newbie - help with a foreach

2007-01-19 Thread Németh Zoltán
On cs, 2007-01-18 at 20:46 +0100, Jochem Maas wrote: > Németh Zoltán wrote: > > On cs, 2007-01-18 at 02:04 -0800, pub wrote: > >> On Jan 18, 2007, at 2:00 AM, Németh Zoltán wrote: > >> > > > ... > > > maybe you should use a parameter for it, place it into the link in the > > first query loop, ge

Re: [PHP] Newbie - help with a foreach

2007-01-18 Thread Jochem Maas
Németh Zoltán wrote: > On cs, 2007-01-18 at 02:04 -0800, pub wrote: >> On Jan 18, 2007, at 2:00 AM, Németh Zoltán wrote: >> ... > maybe you should use a parameter for it, place it into the link in the > first query loop, get it here and query based on it > > like "SELECT * FROM job WHERE id={$_

Re: [PHP] Newbie - help with a foreach

2007-01-18 Thread Németh Zoltán
On cs, 2007-01-18 at 02:04 -0800, pub wrote: > On Jan 18, 2007, at 2:00 AM, Németh Zoltán wrote: > > > ok, but how could anyone help without seeing your code? > > > > greets > > Zoltán Németh > > > Here is the code: > > Here is the entire page: > > > > > > include("../include/etc_inc.php

Re: [PHP] Newbie - help with a foreach

2007-01-18 Thread pub
On Jan 18, 2007, at 2:00 AM, Németh Zoltán wrote: ok, but how could anyone help without seeing your code? greets Zoltán Németh Here is the code: Here is the entire page: echo "{$aaa['companyName']}class='navArrow'> > \n"; // query b from job $query = "SELECT * FROM job

Re: [PHP] Newbie - help with a foreach

2007-01-18 Thread Németh Zoltán
ok, but how could anyone help without seeing your code? greets Zoltán Németh On cs, 2007-01-18 at 01:54 -0800, pub wrote: > Thank you for your reply. > > My problem is that the web addresses on the bottom right show at all > times as is instead of appearing only when active or selected on the

Re: [PHP] Newbie - help with a foreach

2007-01-18 Thread pub
Thank you for your reply. My problem is that the web addresses on the bottom right show at all times as is instead of appearing only when active or selected on the left top navigation! Does that make sense? On Jan 18, 2007, at 1:43 AM, Németh Zoltán wrote: I can't really understand what

Re: [PHP] Newbie - help with a foreach

2007-01-18 Thread Németh Zoltán
I can't really understand what your problem is, because it seems to me that the site is working like you want it to work. Or not? And if there is a problem with the code then please show us the code somehow, not the resulting webpage greets Zoltán Németh On cs, 2007-01-18 at 01:31 -0800, pub wro

Re: [PHP] Newbie Help

2005-05-04 Thread Richard Lynch
On Sun, May 1, 2005 7:43 pm, Thomas Bonham said: >if(isset($_GET ['page'])) > {include($_GET ['page'].".php");} So, what happens when I decide to use: http://bonhamlinux.org?page=secret If you have a file named secret.php, I just loaded it. More importantly, I l

Re: [PHP] Newbie Help

2005-05-02 Thread Thomas Bonham
Thanks for the help. It works, for the most part. Now I'm going to write the links page. Thanks agin for all the great help. Thomas --- Mark Cain <[EMAIL PROTECTED]> wrote: > Also, after I looked at more of your code you will > need to specify the php > extension in only one of two places. Cur

Re: [PHP] Newbie Help

2005-05-02 Thread Thomas Bonham
Hello, Thank for the information. If that is not a good idea then how would you do it. Thomas --- Richard Collyer <[EMAIL PROTECTED]> wrote: > Hello, > > if(isset($_GET['page'])) >{include($_GET['page'] . > ".php");} > else >

Re: [PHP] Newbie Help

2005-05-02 Thread Richard Collyer
Hello, Should work if you use ?page=index Might I suggest that what you are doing is a bad idea. Not only will it look bad becuase of people seeing stuff like ?page=/review/review23.php in the URL. Also its a security risk allowing people to call php scripts from the URL. Cheers Richard Thomas

Re: [PHP] Newbie Help

2005-05-01 Thread Mark Cain
Also, after I looked at more of your code you will need to specify the php extension in only one of two places. Currently you are specifying it in 1) the code below and in 2) nav.php and in nav.php you don't have it specified for the "main" but you do for the other links. That means that the code

Re: [PHP] Newbie Help

2005-05-01 Thread Mark Cain
first remove the space between GET and [ I think this keeps your script from find the variable "page" secondly the variable "page" already has the php extension being passed to it via the GET statement make the include like: {include($_GET['page']);} try it and let us know. Mark Cain > >>The c

Re: [PHP] Newbie Help

2005-05-01 Thread Thomas Bonham
Here is all of the page, except one or two and the images. Thomas --- Mark Cain <[EMAIL PROTECTED]> wrote: > YES let see the src > > - Original Message - > From: "Thomas Bonham" <[EMAIL PROTECTED]> > To: > Sent: Sunday, May 01, 2005 1

Re: [PHP] Newbie Help

2005-05-01 Thread Thomas Bonham
I Think the .php.php is the problem but I don't know have to fix it. Let me know if you won't to see the full src page. Thomas Mark Cain wrote: Perhaps the path to the included files is incomplete: according to your error message you are trying to open links/index.php.php Does it need both of the d

Re: [PHP] Newbie Help

2005-05-01 Thread Mark Cain
Perhaps the path to the included files is incomplete: according to your error message you are trying to open links/index.php.php Does it need both of the dot php's ?? Would it help to include the full path to the includes such as: /home/bonhamli/public_html/links/index.php.php so something like

Re: [PHP] Newbie Help

2005-05-01 Thread Thomas Bonham
Andre Dubuc wrote: On Sunday 01 May 2005 10:39 pm, Thomas Bonham wrote: Hello All, First of I'm new to this a hop I'm doing this right. If some one can help me with my web site page. I'm trying to make it call a page and I get a error line 42. Error: http://bonhamlinux.org/idex.php?page=links/index

Re: [PHP] Newbie Help

2005-05-01 Thread Andre Dubuc
On Sunday 01 May 2005 10:39 pm, Thomas Bonham wrote: > Hello All, > > First of I'm new to this a hop I'm doing this right. > > If some one can help me with my web site page. I'm trying to make it > call a page and I get a error line 42. Error: > http://bonhamlinux.org/idex.php?page=links/index.php

Re: [PHP] newbie help, pressing the submit button returns nothing(solved)

2003-04-04 Thread David McGlone
On Friday 04 April 2003 01:15 pm, you wrote: > > > >> >Welcome ! > > > > Thank you all for helping me, I have finally figured out why the name > > wasn't displaying. from the line above, "$applicant" should have been > > "applicant". > > Are you sure you're using PHP? I guess so, here's what worked

RE: [PHP] newbie help, pressing the submit button returns nothing(solved)

2003-04-04 Thread John W. Holmes
> > >> >Welcome ! > > Thank you all for helping me, I have finally figured out why the name > wasn't displaying. from the line above, "$applicant" should have been > "applicant". Are you sure you're using PHP? ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get y

Re: [PHP] newbie help, pressing the submit button returns nothing(solved)

2003-04-04 Thread David McGlone
On Friday 04 April 2003 12:57 pm, Centras wrote: > Friday, April 4, 2003, 6:47:38 PM, you wrote: > > DM> On Friday 04 April 2003 08:54 am, Eugene Mah wrote: > >> At 08:24 04-04-03 -0500, you wrote: > >> >On Friday 04 April 2003 07:43 am, Petre Agenbag wrote: > >> > > Your problem is not with PHP bu

RE: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread John W. Holmes
e [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2003 11:48 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] newbie help, pressing the submit button returns nothing > > On Friday 04 April 2003 08:54 am, Eugene Mah wrote: > > At 08:24 04-04-03 -0500, you wrote: > > &

Re: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread David McGlone
On Friday 04 April 2003 12:23 pm, Ford, Mike [LSS] wrote: > > -Original Message- > > From: Centras [mailto:[EMAIL PROTECTED] > > Sent: 04 April 2003 18:58 > Well, that's a fairly braindead suggestion for two reasons: > > (1) If he needs $_POST['applicant'], then he'll need $_POST['submit']

Re: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread David McGlone
On Friday 04 April 2003 08:54 am, Eugene Mah wrote: > At 08:24 04-04-03 -0500, you wrote: > >On Friday 04 April 2003 07:43 am, Petre Agenbag wrote: > > > Your problem is not with PHP but with basic HTML. > > > Your tag needs an action="www.somepage.com" in order to "do" > > > something. With PHP,

RE: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread John Coggeshall
Chances are register_globals is off... Try using $_POST['UserName'] instead of $UserName John -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- John Coggeshall john at coggeshall dot org http://www.coggeshall.org/ -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~

Re: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread Eugene Mah
At 08:24 04-04-03 -0500, you wrote: On Friday 04 April 2003 07:43 am, Petre Agenbag wrote: > Your problem is not with PHP but with basic HTML. > Your tag needs an action="www.somepage.com" in order to "do" > something. With PHP, you can call the same page back onto itself. Hi Petre, Thanks for the

Re: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread David McGlone
On Friday 04 April 2003 07:43 am, Petre Agenbag wrote: > Your problem is not with PHP but with basic HTML. > Your tag needs an action="www.somepage.com" in order to "do" > something. With PHP, you can call the same page back onto itself. Hi Petre, Thanks for the reply, I have actually tried this

RE: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread John W. Holmes
-Original Message- > From: Petre Agenbag [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2003 7:43 AM > To: David McGlone > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] newbie help, pressing the submit button returns nothing > > Your problem is not with PHP but with basic

Re: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread Burhan Khalid
Petre Agenbag wrote: Your problem is not with PHP but with basic HTML. Your tag needs an action="www.somepage.com" in order to "do" something. With PHP, you can call the same page back onto itself. On Fri, 2003-04-04 at 14:37, David McGlone wrote: Hi all, I have a real quick question. I'm tryin

RE: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread John W. Holmes
> Hi all, I have a real quick question. I'm trying to learn PHP and right > now im > working with variables, anyway, I cannot get the code below to work > correctly, could anyone help me out here the problem is, when you submit > the > name, the name will not appear at all. > > > > > > Name:

Re: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread Petre Agenbag
Your problem is not with PHP but with basic HTML. Your tag needs an action="www.somepage.com" in order to "do" something. With PHP, you can call the same page back onto itself. On Fri, 2003-04-04 at 14:37, David McGlone wrote: > Hi all, I have a real quick question. I'm trying to learn PHP and r

Re: [PHP] Newbie Help

2003-01-03 Thread Jason Wong
On Saturday 04 January 2003 06:07, Erich Kolb wrote: Please use a descriptive subject related to your problem. Imagine the confusion if everybody used "Newbie help" or just "Help" as the subject. > Does anyone have an example of how to download newsgroup headers from a > NNTP server and insert t

RE: [PHP] newbie: help with date arithmetic[Scanned]

2002-11-12 Thread ROBERT MCPEAK
This is a great help. Thanks ya'll. And I will continue to, and do regulary RTFM 8-) I find that it generally sucks for a newbie. >>> "Michael Egan" <[EMAIL PROTECTED]> 11/12/02 10:42AM >>> Robert, I've been looking at this myself over the past couple of days. I gather the best approac

RE: [PHP] newbie: help with date arithmetic[Scanned]

2002-11-12 Thread Michael Egan
Robert, I've been looking at this myself over the past couple of days. I gather the best approach is to convert your dates into UNIX timestamps. For example: $first_unix_time = mktime($hour1, $minutes1, $seconds1, $month1, $day1, $year1); $second_unix_time = mktime($hour2, $minutes2, $seconds

Re: [PHP] newbie: help with date arithmetic

2002-11-12 Thread Ernest E Vogelsinger
At 16:30 12.11.2002, ROBERT MCPEAK spoke out and said: [snip] >I'm trying to add/subract two dates. I think I need to use mktime() but I >can't quite figure out how. > >I'd like to do something like this: > >(2002-11-15)-(2002-11-10)=5 > >or > >(2002-12-10)

Re: [PHP] Newbie help please!

2002-05-15 Thread John
Tommy, Thanks that was it. "Tommy Claasens - Q Data Kzn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > > Try this > $username = $_GET['user']; > $password = $_GET['pass']; > echo $username; > echo $password; > ?> > > -Original Message-

RE: [PHP] Newbie help please!

2002-05-15 Thread Brian McGarvie
or this -Original Message- From: Tommy Claasens - Q Data KZN [mailto:[EMAIL PROTECTED]] Sent: 15 May 2002 15:57 To: John; [EMAIL PROTECTED] Subject: RE: [PHP] Newbie help please! Hi, Try this -Original Message- From: John [mailto:[EMAIL PROTECTED]] Sent: Wed, 15 May

RE: [PHP] Newbie help please!

2002-05-15 Thread Collins, Robert
this will do it: Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 9:46 AM To: [EMAIL PROTECTED] Subject: [PHP] Newbie help

RE: [PHP] Newbie help please!

2002-05-15 Thread Jay Blanchard
[snip] test.html code Untitled Click here test.php code [/snip] $user will be 'admin' $pass will be '123456' You made an attempt to change the variable names, so you should have done this; HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsu

RE: [PHP] Newbie help please!

2002-05-15 Thread Tommy Claasens - Q Data KZN
Hi, Try this -Original Message- From: John [mailto:[EMAIL PROTECTED]] Sent: Wed, 15 May 2002 16:46 To: [EMAIL PROTECTED] Subject: [PHP] Newbie help please! Hello, I am about 3 hrs old with php and have a very simple question. I have a test.html page that is just an href an

Re: [PHP] Newbie help

2002-03-21 Thread cal
Tony, I'm doing a lot of PHP<->VFP<->MySql work right now. I'm developing processes that move data out of SBT accounting and into a MySQL database for use on the web. I'm also working on processes that update the FoxPro data directly. The best I can tell you is that the EASIEST thing to do is

Re: [PHP] newbie - help with field variables in forms

2002-01-08 Thread Ivan Balazs
Hi! A very simple way to do this is by checking the variables of the form (the names of fields) if they are isset() or not. To be more specific you can even check, if any of them is empty(). In special cases like the email address, i suggest using regexp to check if it is a valid email address.

Re: [PHP] Newbie Help (CLASS WAR!)

2001-07-29 Thread Brian White
At 03:25 27/07/2001 -0700, CC Zona wrote: >In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Brian White) wrote: > > > There are times when I would really like to be able to do: > > > > class A > > { > > function DoStuff() > > { > > . > > } > > } > > > > class B exte

Re: [PHP] Newbie Help (CLASS WAR!)

2001-07-27 Thread George Pitcher
Have a look at: http://www.phpbuilder.com/columns/luis2420.php3 HTH George, still a newbie after a week on php - Original Message - From: CC Zona <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 27, 2001 11:25 AM Subject: Re: [PHP] Newbie Help (CLASS

Re: [PHP] Newbie Help (CLASS WAR!)

2001-07-27 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Brian White) wrote: > There are times when I would really like to be able to do: > > class A > { > function DoStuff() > { > . > } > } > > class B extends A > { > function DoStuff() > { > . >

Re: [PHP] Newbie Help (CLASS WAR!)

2001-07-26 Thread Brian White
I use classes a lot and don't have this problem. This is because the names of the class ( and thus the constructor name ) tends to be a noun and otherfunctions tend to be verbs, so I am don't have this kind of clash. I am VERY glad that PHP has classes and I use them alot. However My bi

Re: [PHP] Newbie. Help on installation on a Win2K

2001-07-10 Thread Kurt Lieber
get the PHP 4.0.6 installer at http://www.php.net/downloads.php -- it will install everything you need to work with IIS. Works great. Also has detailed readmes to discuss other installation methods/options. --kurt - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Se

Re: [PHP] newbie help!

2001-06-30 Thread Hugh Bothwell
> I wrote a script to display all file in a directory. Here is my script (snip) > This is working fine. But it displays all files in 1 single page. Here is > what i wanna do, but i don't know how to do it. > I wanna display 15 files names at once, and have prev. and next buttons and > the end, whe

RE: [PHP] Newbie Help!! Please Look!

2001-04-19 Thread Si
i can honestly recommend phped, infact im amazed no one else has mentioned it. Great win32 php programming ide. hint: ignore the project stuff in it tho as it kinda sucks ;-) you can grab it from here http://www.soysal.com/PHPEd/ Si. -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] Newbie Help!! Please Look!

2001-04-19 Thread Geir Eivind Mork
On Thursday 19 April 2001 05:18, Tony Daniels wrote: > I need to know if there is a program out there that I can use to edit > the PHP files. I use CuteFTP to download the files from my server as I www.homesite.com www.ultraedit.com www.slickedit.com I assume this have uploadfeatures, atleast

Re: [PHP] Newbie Help!! Please Look!

2001-04-19 Thread Adrian D'Costa
use wordpad. Adrian On Wed, 18 Apr 2001, Tony Daniels wrote: > I used notepad and it shows some weird symbols like darkened in squares. That > is why I was wondering if there was a specific program. Is there any way to > get rid of the squares? > > Thank for your help. > > Jason Murray wr

Re: [PHP] Newbie Help!! Please Look!

2001-04-19 Thread elias
Want my advise? go to www.editplus.com and download that lovely editor! PHP syntax highlighting+ HTML+JavaScript and even alot of other features, beside! it got an internal FTP uploading feature... -elias http://www.kameelah.org/eassoft "Tony Daniels" <[EMAIL PROTECTED]> wrote in message [EMAIL

Re: [PHP] Newbie Help!! Please Look!

2001-04-18 Thread chris herring
forgot to mention that ascii/binary is auto in cuteftp - Original Message - From: "chris herring" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 19, 2001 1:51 AM Subject: Re: [PHP] Newbie Help!! Please Look! > right up my alley... I use cut

Re: [PHP] Newbie Help!! Please Look!

2001-04-18 Thread chris herring
right up my alley... I use cuteftp, and it usually does all this stuff for you. all you have to do is right click on the file you want to edit, and it opens it up in notepad, or the editor you choose. just make sure you save the file before you close it. after that cuteftp will have a window that

Re: [PHP] Newbie Help!! Please Look!

2001-04-18 Thread Brian Clark
Hi Tony, @ 11:24:30 PM on 4/18/2001, Tony Daniels wrote: > I used notepad and it shows some weird symbols like darkened in > squares. That is why I was wondering if there was a specific > program. Is there any way to get rid of the squares? Those are 'end of line characters' that your Operating

RE: [PHP] Newbie Help!! Please Look!

2001-04-18 Thread Jack Dempsey
gress without quitting... the squares in notepad were a result of you taking a file from a *nix systemtry opening it with wordpad, and you should be fine... -jack -Original Message- From: Tony Daniels [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 11:26 PM To: [EMAIL PROTEC

Re: [PHP] Newbie Help!! Please Look!

2001-04-18 Thread Tony Daniels
Ah, that helps tons. Thank you!! Jason Murray wrote: > > I used notepad and it shows some weird symbols like darkened > > in squares. That is why I was wondering if there was a specific > > program. Is there any way to get rid of the squares? > > The squares are characters Notepad doesn't rec

RE: [PHP] Newbie Help!! Please Look!

2001-04-18 Thread Jason Murray
> I used notepad and it shows some weird symbols like darkened > in squares. That is why I was wondering if there was a specific > program. Is there any way to get rid of the squares? The squares are characters Notepad doesn't recognise. If you see them in anything, not just PHP files, open

RE: [PHP] Newbie Help!! Please Look!

2001-04-18 Thread Jason Lotito
> -Original Message- > From: Tony Daniels [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 18, 2001 8:18 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Newbie Help!! Please Look! > > > Hello, > > I need to know if there is a program out there that I can use to edit > the PHP files. Any

Re: [PHP] Newbie Help!! Please Look!

2001-04-18 Thread Tony Daniels
I wish I knew how to use Telnet. Maybe I'll search and learn. Thank you for your help! Jack Dempsey wrote: > PHP files are text files, thus you can use any text editor to make your > changes. On Windows, the simplest way would be to use notepad or wordpad to > edit and save your changes. On ot

Re: [PHP] Newbie Help!! Please Look!

2001-04-18 Thread Tony Daniels
I used notepad and it shows some weird symbols like darkened in squares. That is why I was wondering if there was a specific program. Is there any way to get rid of the squares? Thank for your help. Jason Murray wrote: > > I need to know if there is a program out there that I can use to edit

RE: [PHP] Newbie Help!! Please Look!

2001-04-18 Thread Jack Dempsey
PHP files are text files, thus you can use any text editor to make your changes. On Windows, the simplest way would be to use notepad or wordpad to edit and save your changes. On other platforms like unix/linux you could use pico, vi, or emacs to name a few. If you have telnet access to the server

RE: [PHP] Newbie Help!! Please Look!

2001-04-18 Thread Jason Murray
> I need to know if there is a program out there that I can use to edit > the PHP files. I use CuteFTP to download the files from my server as I > need to change some wording around from time to time. Does anyone know > the correct procedure for downloading a php file with CuteFTP and then a > p