[PHP] newbie help please

2002-06-02 Thread Christopher J. Crane

$Tags['issue-name']. So I could print it out. Something like, print
"$Tags['issue-name']\n";

I was able to get a numerical representation of the array like, $Tags[5] and
the value of that tag was "RED HAT", but then I would have to know what the
position of the data I am looking for in the array. I would prefer to know
the tag name and the array and get to the data that way. I know there is a
way to do this, but I just can't figure it out. There is a lot of
information on Parsing the XML file but not getting into a useful array, or
at least that I have found easily to understand.


if(!isset($Sym)) { $Sym = 'IKN'; }
$URI = 'http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=';
$simple = implode( '', file("$URI$Sym"));

$p = xml_parser_create();
xml_parse_into_struct($p,$simple,$vals,$index);
xml_parser_free($p);




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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-
> 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 and I want to put the variables
> into php variables on the next page but I get an error. Could someone
please
> correct my code or tell me what is wrong. We use IIS NT 4.0 MySQL. We have
> installed PHPBB and it works great!  Thanks in advance for your time.
>
> test.html code
> 
> 
>  Untitled
> 
> 
> 
> Click here
> 
>
>
> test.php code
>  $username = user;
> $password = pass;
> echo $username;
> echo $password;
> ?>
>
> error messages---
> Notice: Use of undefined constant user - assumed 'user' in
> \\SERVER\web\phpBB2\test.php on line 3
>
> Notice: Use of undefined constant pass - assumed 'pass' in
> \\SERVER\web\phpBB2\test.php on line 4
> userpass
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 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 and I want to put the
variables
into php variables on the next page but I get an error. Could someone
please
correct my code or tell me what is wrong. We use IIS NT 4.0 MySQL. We
have
installed PHPBB and it works great!  Thanks in advance for your time.

test.html code


 Untitled



Click here



test.php code


error messages---
Notice: Use of undefined constant user - assumed 'user' in
\\SERVER\web\phpBB2\test.php on line 3

Notice: Use of undefined constant pass - assumed 'pass' in
\\SERVER\web\phpBB2\test.php on line 4
userpass



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 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 and I want to put the variables
into php variables on the next page but I get an error. Could someone please
correct my code or tell me what is wrong. We use IIS NT 4.0 MySQL. We have
installed PHPBB and it works great!  Thanks in advance for your time.

test.html code


 Untitled



Click here



test.php code


error messages---
Notice: Use of undefined constant user - assumed 'user' in
\\SERVER\web\phpBB2\test.php on line 3

Notice: Use of undefined constant pass - assumed 'pass' in
\\SERVER\web\phpBB2\test.php on line 4
userpass



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 unsubscribe, visit: http://www.php.net/unsub.php




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 and I want to put the variables
into php variables on the next page but I get an error. Could someone please
correct my code or tell me what is wrong. We use IIS NT 4.0 MySQL. We have
installed PHPBB and it works great!  Thanks in advance for your time.

test.html code


 Untitled



Click here



test.php code


error messages---
Notice: Use of undefined constant user - assumed 'user' in
\\SERVER\web\phpBB2\test.php on line 3

Notice: Use of undefined constant pass - assumed 'pass' in
\\SERVER\web\phpBB2\test.php on line 4
userpass



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Newbie help please!

2002-05-15 Thread John

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 and I want to put the variables
into php variables on the next page but I get an error. Could someone please
correct my code or tell me what is wrong. We use IIS NT 4.0 MySQL. We have
installed PHPBB and it works great!  Thanks in advance for your time.

test.html code


 Untitled



Click here



test.php code


error messages---
Notice: Use of undefined constant user - assumed 'user' in
\\SERVER\web\phpBB2\test.php on line 3

Notice: Use of undefined constant pass - assumed 'pass' in
\\SERVER\web\phpBB2\test.php on line 4
userpass



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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 the two last ones have. they are 
ranged from the cheapest / useable to the $300 slickedit which just rocks :) 
(and the one I use ofcourse) 

-- 
 php developer / CoreTrek AS| "Jesus may love you, but I think you're 
 Sandnes / Rogaland / Norway| garbage wrapped in skin." -- Michael
 web: http://www.moijk.net/ | O'Donohugh 

-- 
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]




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 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
> > > 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
> > > program that I can use to edit the text I need to edit.  Then also, the
> > > correct way to upload it back to the server using CuteFTP.  Do I use
> > > Binary or ACII.
> >
> > PHP files (unless optimised by Zend or something) are just plain text
> > files. You can use either Binary or ASCII mode to up/download them, and
> > your text editor of choice (Notepad, PFM, HomeSite, or for the masochists,
> > MS Word :)) to edit them and save them.
> >
> > Jason
> >
> > --
> > 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 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]




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 PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> 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
> program that I can use to edit the text I need to edit.  Then also, the
> correct way to upload it back to the server using CuteFTP.  Do I use
> Binary or ACII.
>
> Or, if I am way off and there is a program that makes CuteFTP look
> silly, please let me know this also.  I am open for any suggestions, as
> long as they are detailed.  Please email responses to [EMAIL PROTECTED]
> .
>
> Thank you!
>
>
> --
> 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 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]




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 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
> says "upload" or "cancel".. choose upload. if you wish to change the
editor,
> just go to edit>settings in cuteftp, and find the text that says "helper
> applications" in the window that pops up. click that, and you can choose
> your program.
> - Original Message -
> From: "Tony Daniels" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 18, 2001 10:18 PM
> 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.  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
> > program that I can use to edit the text I need to edit.  Then also, the
> > correct way to upload it back to the server using CuteFTP.  Do I use
> > Binary or ACII.
> >
> > Or, if I am way off and there is a program that makes CuteFTP look
> > silly, please let me know this also.  I am open for any suggestions, as
> > long as they are detailed.  Please email responses to [EMAIL PROTECTED]
> > .
> >
> > Thank you!
> >
> >
> > --
> > 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 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 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]




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
says "upload" or "cancel".. choose upload. if you wish to change the editor,
just go to edit>settings in cuteftp, and find the text that says "helper
applications" in the window that pops up. click that, and you can choose
your program.
- Original Message -
From: "Tony Daniels" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 10:18 PM
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.  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
> program that I can use to edit the text I need to edit.  Then also, the
> correct way to upload it back to the server using CuteFTP.  Do I use
> Binary or ACII.
>
> Or, if I am way off and there is a program that makes CuteFTP look
> silly, please let me know this also.  I am open for any suggestions, as
> long as they are detailed.  Please email responses to [EMAIL PROTECTED]
> .
>
> Thank you!
>
>
> --
> 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 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]




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 System doesn't
understand. You'll probably see that if you're editing files that were
created on Linux or Unix. Likewise, if you edit the files on a PC then
upload them in your native format, to Unix or Linux they're going to
end up having ^M's at the end of each line.

Your best bet is to grab a fairly decent Programmer's Editor that can
tell the difference and (re)act accordingly.

Some good ones that come to mind are EditPlus (I've used it) or TextPad
(I prefer it). You can find others in quite a long list here:



-Brian
--
 PGP is spoken here: 0xE4D0C7C8
 Please, DO NOT carbon copy me on list replies.



-- 
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]




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

2001-04-18 Thread Jack Dempsey

its not so much learning "telnet" as learning unix or linux...but as far as
editing text files, its easy...here're some basic commands to get you
started:

telnet www.yourhost.com
login: 
password: 
prompt$ pico yourfile.php

i find pico to be the quickest and easiest (and probably the "weakest") of
the text editors on *nix systems...start with it and progress if you want...
you can use the arrow keys as you'd expect...edit your file then hit
control-x, y, return to save and quit from your file and pico...at any time
you can also use ctrl-o to save your progress 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 PROTECTED]
Subject: Re: [PHP] Newbie Help!! Please Look!


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 other platforms like unix/linux you could
use
> pico, vi, or emacs to name a few.
> If you have telnet access to the server, it'd be easier to just code your
> changes on the server, bypassing the need for ftp'ing.
> To download a file, do the same as you would with any other file. In
CuteFTP
> you can drag the file from the server window to your desktop (or wherver
> your default save location is) and save it there. Then, when you upload,
> since its text, you don't need to set it to binary.
> I use CuteFTP for uploading and downloading files, but when coding
anything,
> I find it easier to just telnet in and use pico (now I submit to flames
from
> BOTH the vi and emacs lovers =P )
>
> best of luck,
> jack
>
> -Original Message-
> From: Tony Daniels [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 18, 2001 11: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.  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
> program that I can use to edit the text I need to edit.  Then also, the
> correct way to upload it back to the server using CuteFTP.  Do I use
> Binary or ACII.
>
> Or, if I am way off and there is a program that makes CuteFTP look
> silly, please let me know this also.  I am open for any suggestions, as
> long as they are detailed.  Please email responses to [EMAIL PROTECTED]
> .
>
> Thank you!
>
> --
> 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 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 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 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]




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 recognise.
>
> If you see them in anything, not just PHP files, open it in WordPad.
>
> Me, I use HomeSite.
>
> Jason
>
> --
> Jason Murray
> [EMAIL PROTECTED]
> Web Design Team, Melbourne IT
> Fetch the comfy chair!
>
> --
> 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 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]




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 it in WordPad.

Me, I use HomeSite.

Jason

-- 
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!

-- 
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]




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 text editor.  Example: Notepad.

>  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
> program that I can use to edit the text I need to edit.

1) Download the php file just like you would a html file.
2) Edit the file using a text editor.

>  Then also, the
> correct way to upload it back to the server using CuteFTP.  Do I use
> Binary or ACII.

Neither.  You use ASCII.

> 
> Or, if I am way off and there is a program that makes CuteFTP look
> silly, please let me know this also.

I don't think so, though funny is a relative word.  I use WS_FTP.

>  I am open for any suggestions, as
> long as they are detailed.  Please email responses to [EMAIL PROTECTED]

You mean to reply to the PHP Mailing list, right?

> .
> 
> Thank you!

Your welcome.

-- 
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]




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 other platforms like unix/linux you could use
> pico, vi, or emacs to name a few.
> If you have telnet access to the server, it'd be easier to just code your
> changes on the server, bypassing the need for ftp'ing.
> To download a file, do the same as you would with any other file. In CuteFTP
> you can drag the file from the server window to your desktop (or wherver
> your default save location is) and save it there. Then, when you upload,
> since its text, you don't need to set it to binary.
> I use CuteFTP for uploading and downloading files, but when coding anything,
> I find it easier to just telnet in and use pico (now I submit to flames from
> BOTH the vi and emacs lovers =P )
>
> best of luck,
> jack
>
> -Original Message-
> From: Tony Daniels [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 18, 2001 11: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.  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
> program that I can use to edit the text I need to edit.  Then also, the
> correct way to upload it back to the server using CuteFTP.  Do I use
> Binary or ACII.
>
> Or, if I am way off and there is a program that makes CuteFTP look
> silly, please let me know this also.  I am open for any suggestions, as
> long as they are detailed.  Please email responses to [EMAIL PROTECTED]
> .
>
> Thank you!
>
> --
> 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 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 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]




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
> > 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
> > program that I can use to edit the text I need to edit.  Then also, the
> > correct way to upload it back to the server using CuteFTP.  Do I use
> > Binary or ACII.
>
> PHP files (unless optimised by Zend or something) are just plain text
> files. You can use either Binary or ASCII mode to up/download them, and
> your text editor of choice (Notepad, PFM, HomeSite, or for the masochists,
> MS Word :)) to edit them and save them.
>
> Jason
>
> --
> 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 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]




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, it'd be easier to just code your
changes on the server, bypassing the need for ftp'ing.
To download a file, do the same as you would with any other file. In CuteFTP
you can drag the file from the server window to your desktop (or wherver
your default save location is) and save it there. Then, when you upload,
since its text, you don't need to set it to binary.
I use CuteFTP for uploading and downloading files, but when coding anything,
I find it easier to just telnet in and use pico (now I submit to flames from
BOTH the vi and emacs lovers =P )

best of luck,
jack

-Original Message-
From: Tony Daniels [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 11: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.  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
program that I can use to edit the text I need to edit.  Then also, the
correct way to upload it back to the server using CuteFTP.  Do I use
Binary or ACII.

Or, if I am way off and there is a program that makes CuteFTP look
silly, please let me know this also.  I am open for any suggestions, as
long as they are detailed.  Please email responses to [EMAIL PROTECTED]
.

Thank you!


--
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 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]




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
> program that I can use to edit the text I need to edit.  Then also, the
> correct way to upload it back to the server using CuteFTP.  Do I use
> Binary or ACII.

PHP files (unless optimised by Zend or something) are just plain text
files. You can use either Binary or ASCII mode to up/download them, and
your text editor of choice (Notepad, PFM, HomeSite, or for the masochists,
MS Word :)) to edit them and save them.

Jason

-- 
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] Newbie Help!! Please Look!

2001-04-18 Thread Tony Daniels

Hello,

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
program that I can use to edit the text I need to edit.  Then also, the
correct way to upload it back to the server using CuteFTP.  Do I use
Binary or ACII.

Or, if I am way off and there is a program that makes CuteFTP look
silly, please let me know this also.  I am open for any suggestions, as
long as they are detailed.  Please email responses to [EMAIL PROTECTED]
.

Thank you!


-- 
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]