[PHP] Reading a web page as a text string

2001-11-15 Thread Michael J. Seely
HI Folks, How can I read a html page as a text file? I saw a demo of someone doing this on a Mac using AppleScript. The example sent a zip code as a variable attached to the remote site url. This resulted in a web page being sent back with the city and state info included. He then read the

RE: [PHP] PHP + librairies OCI8 + IPlanet Web Server

2001-11-19 Thread J. Anderson Scarbrough
What kind of error message do you get? Anything in the web server logs? My guess would be that you do not have your all of your oracle environment variables set up. -Original Message- From: Damien LEBLANC [mailto:[EMAIL PROTECTED]] Sent: Monday, November 19, 2001 6:54 AM To: [EMAIL PR

[PHP] encrypt and decrypt functions kaput

2001-11-20 Thread Michael J. Seely
HI Folks, I'm trying to use the encrypt and decrypt functions in PHP3. I get a fatal error "Call to unsupported or undefined function encrypt() ... Is this a configuration issue or I'm I doing something wrong? Thanks -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9

[PHP] Re:

2001-11-27 Thread bradley j joyner
Warning Unable to process data: multipart/related; type="multipart/alternative"; boundary="_ABC1234567890DEF_"

[PHP] How can you determine if you on the last result?

2001-11-28 Thread J. Anderson Scarbrough
If I execute a query and fill a resultset, how can i tell if I am on the last result in the set? I want to something like: while(OCIFetchInto ($curs, $data)) { if($isLastRecord) // do something } Thanks. Anderson _ Get your

[PHP] Remote_User and Password reset

2001-11-30 Thread Michael J. Seely
Hi Folks, I know I can get $REMOTE_USER info. How can I reset the remembered user name and password in the browser for a specific URL from a PHP program? -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- PHP General Mailing Li

[PHP] gd for linux....cjk

2001-12-11 Thread Constantine J. Koulis
hello all. Where can i find the GD library for redhat Linux 7.0 i am using php 4.0.2. and how do i install it Sincerely Tks & Best Regards Koulis Constantine. Bucharest Romania Phone :+40-93979131 Phone GR :+30-974293018 _

RE: [PHP] Opening a new window.

2001-12-14 Thread Michael J. Seely
HI Brandon, It's actually easy to do this is PHP. A tag will take a TARGET window attribute that will let you control what happens after the form is processed. The resultant page can appear in a new window, in the parent window, to the same window the form was used, to the full browser win

[PHP] Algorithm: Limiting Large Numbers of Pages to 10 visible

2001-12-20 Thread Lara J. Fabans
've got to believe that there's a really slick way of doing this. I've searched the usual places (weberdev.com, devshed.com, zend.com) but there's no really good keywords, and when you search on 'paging" you get too many results to be useful Thanks in advance, Lara ---

Re: [PHP] How to check if a session exists

2001-12-20 Thread Peter J. Schoenster
On 20 Dec 2001, at 17:34, Alex Shi wrote: > If a sesson_id is known, how can check if the session exists? I think this answers the question (function.session-id.html) > session_id > (PHP 4 >= 4.0.0) > session_id -- Get and/or set the current session id > Description > string session_id ([string

Re: [PHP] FrameSet Problem with PHP, Pls Help!

2001-12-21 Thread Michael J. Seely
Hello Jack, I'm not sure I follow exactly what you are doing but I think you can make this work by passing the variable data in all url links to each php page in the frameset - frame . I haven't found a limit to the number of times these links can be nested. The other issue that might be cau

Re: [PHP] sort multidimensional array?

2001-03-27 Thread Stuart J. Browne
> while ($row = mysql_fetch_array($results)) { > $tmp = get_item_reorder_priority($row["item_sku"]); > $list[$r]["priority"] = $tmp[0]; > $list[$r]["sku"] = $row["item_sku"]; > $r++; >} > >$list = array_multisort($list["priority"], SORT_NUMERIC, SORT_DESC); > > and it retur

Re: [PHP] Curious

2001-03-27 Thread Stuart J. Browne
> >I am curious to know why you need to use the /n, and what it actually does, > >because I had a page that used them, and i removed them all and it still > >works fine. > > As far as the HTML output, it wont affect how it shows up on the screen, > but if you look at the HTML code, you will notice

Re: [PHP] Copy data from one mysql table to another?

2001-03-28 Thread Rodney J. Woodruff
Which database are you using? -- Rodney Bob Stone wrote: > Dear PHP Helpers, > > I cannot find any documentation on how to copy the > data from one mysql table to another, i.e. table1, > columnx to table2, columnx. > > Can you recommend a way? > > Here is the situation. > > I have one table cal

Re: [PHP] pattern match help

2001-03-28 Thread Stuart J. Browne
> $str = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"; > > I need to fetch the 5th charcter after ".compatible; M" in $str (ie > '5'). > > - The following gets me the fifth character along (ie 'l') > $variable = substr ($str, 5, 1); > > How do i tell the substr to start counting from

Re: [PHP] Can Anyone Help?

2001-03-28 Thread Stuart J. Browne
Warning: is no longer supported - please use the track_vars INI directive instead in d:/website/myphp/do_sendfeedback.php on line 1 Oh no someone stole me command what replacesin PHP4 ?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: [PHP] Can Anyone Help?

2001-03-28 Thread Stuart J. Browne
Warning: is no longer supported - please use the track_vars INI directive instead in d:/website/myphp/do_sendfeedback.php on line 1 Oh no someone stole me command what replacesin PHP4 ?? oops.. umm.. from memory php_track_vars is enabled by default in PHP4.. from doccos: Note: As of

Re: [PHP] This PHP list

2001-03-29 Thread Stuart J. Browne
> > I wouldn't expect a programmer to walk in off the street and try to do > > graphic design without having any concept of graphic design. > > ack! i do this very thing! one reason i rely on css and tables rather > then graphics, that and it means less hits on my server :-) > > regarding this t

Re: [PHP] PHP and .htaccess

2001-03-29 Thread Michael J. Seely
HI I have a directory that works like this. The owner of each listing in the directory clicks on a little box that appears before their name and info in the directory. An Enter User Name and Password page is shown ( a simple form, can look as you like) The imbedded listing number is used

Re: [PHP] How to create user account?

2001-03-29 Thread Stuart J. Browne
> How can I use exec() to create user account? > I try to use exec("useradd testusr"); > but nothing happens, > I have set the permission of useradd to (chmod useradd) but still > can't do the desired operation!! Are you sure the user who is trying to create the user has permissions to

Re: [PHP] saving uploaded image as file Vs. directly to database

2001-03-29 Thread Stuart J. Browne
> I would use filesystem if I need performance and if I don't worry about > management. > I would use database if I need to manage lots of them and if images have > attributes. > > Some older databases have really poor performance when LOB is used. If it is the > case, you might want to use combin

Re: [PHP] RE: [PHP-DB] Best way to check if a query succeeded

2001-03-29 Thread Stuart J. Browne
> > Doesn't the command return 1 or 0 in success or failure? > > Not 1 or 0. It returns 0 or some other value. Almost the same, > but not quite. > > > You may not have a result > > Probably wrong but something like > > if (mysql_query($query)) { > > } else { > > } > > or you could die out mysql_

Re: [PHP] This PHP list

2001-03-29 Thread Stuart J. Browne
> > After being eye-ball deep in documentation 8 hrs a day trying to learn how > > to do things with MySQL, Interbase, PHP, and CSS.. This list certinaly is a > > god-send. Not only do questions that are posted GET ANSWERED (questions > > i've asked in other groups have a tendancy to go un-answer

Re: [PHP] version????

2001-04-01 Thread Stuart J. Browne
Scott Fletcher"" <[EMAIL PROTECTED]> wrote in message 9a23cm$fuu$[EMAIL PROTECTED]">news:9a23cm$fuu$[EMAIL PROTECTED]... > One more question! Why does some PHP 4.0 & up does not have the php.ini > file? I noticed for the UNIX, there isn't one. For Caldera, there is one. > For Windows, there is

Re: [PHP] header() vs. no cache, it doesn't work.

2001-04-01 Thread Stuart J. Browne
> >When I use this script > > > > header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); > > header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); > > ### oops, don't forget to escape these! ^ ^ Umm, why would he need to escape those two "'s? They arn't within anothe s

Re: [PHP] Accessing Intberase database in NT

2001-04-01 Thread Stuart J. Browne
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Any idea how can i possibly access an Interbase database residing in NT4 from > my web server running in Linux? To do this, I believe you will have to compile PHP on the Linux box with the Linux GDS libraries (as

Re: [PHP] PHP sending email contents as an attachment, not in thebody

2001-04-05 Thread Stuart J. Browne
"Lindsay Adams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > According to the headers in your email, you are using Outlook Express. > > I think it is a microsoft issue. Because when I write a long email in OE, > and send it to myself, I get it as an attachme

Re: [PHP] mystery line

2001-04-08 Thread Stuart J. Browne
"David Robley" <[EMAIL PROTECTED]> wrote in message 01040614091104.10051@www">news:01040614091104.10051@www... > On Fri, 6 Apr 2001 13:50, Martin Skjöldebrand wrote: > > Tyler Longren wrote: > > > In line 3, you don't need your tags again. > > > This is how you have it: > > > print "TID detail

Re: [PHP] Count function. (Newbie Question)

2001-04-09 Thread Rodney J. Woodruff
Look here as a starting point: http://www.php.net/manual/en/function.mysql-num-rows.php I don't know the exact answer to your question but I hope that this helps. -- Rodney Michael O'Neal wrote: > Hi, > > I'm trying to display a record count of some sort on a page I'm working > on. For examp

Re: [PHP] Forcing a dynamic created text file to be saved

2001-04-10 Thread Stuart J. Browne
"Lindsay Adams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You are not going to be able to use PHP to tell the client browser to do anything. you are going to have to embed either a java.applet, or javascript to do it. I don¹t know a whole lot about either,

Re: [PHP] Creating Arrays

2001-04-11 Thread Rodney J. Woodruff
http://www.php.net/manual/en/function.msql-fetch-array.php Hope this helps. "Ashley M. Kirchner" wrote: > I need to convert an MySQL result into an Array...somehow. The > query returns the following: > > ++---+ > | ID | Project | > ++---+ > | 1 |

Re: [PHP] Including a URL for mailing..

2001-04-11 Thread Rodney J. Woodruff
What have you tried so far? -- Rodney Chad Day wrote: > What I'm trying to do is specify a URL in a form, and then take that URL, > put its contents into a variable, and mail it out in an e-mail message with > the body of the message being that URL. I haven't gotten anywhere so far, > just get

Re: [PHP] Creating Arrays

2001-04-12 Thread Rodney J. Woodruff
Do you understand the options that the other people have explained? -- Rodney "Ashley M. Kirchner" wrote: > "Rodney J. Woodruff" wrote: > > > http://www.php.net/manual/en/function.msql-fetch-array.php > > Okay, call me dense. I can't figure

[PHP] Pie Charts & Bar Charts & Line Charts...

2001-06-18 Thread Karl J. Stubsjoen
Hey Guys, Anyone have any good starting points for delivering charts on the web? Thanks a bunch. Karl J. Stubsjoen www.iexcelinlife.com [EMAIL PROTECTED] Phone: 602.447

Re: [PHP] HTML tags in database fields

2001-07-11 Thread Michael J. Seely
HI I know this isn't elegant but it will work. Just put in extra close tags after the field input. etc. Browsers will ignore the extra close tags. >Hello. I wrote a comments application that allows the use of some HTML >tags for text formatting (). I ran into a problem of users not >closing

[PHP] ereg parse error problem

2001-07-12 Thread Lara J. Fabans
reg ("img src="(.*)"", $string, $regs)) { echo $regs[1]; } else { echo "nope1"; } if (eregi("a href="(.*)"", $string, $regs)) { echo $regs[1]; } else { echo "nope2"; } ?> - Lara J. Fabans Lodestone Software

[PHP] Was: ereg parse error problem Now: RegEx Plea for Help

2001-07-12 Thread Lara J. Fabans
instance instead of the globalizing like it's doing? I'm going to play around with a few more things, but after staring at the code for 4 hours, my brain is fried. Thanks, Lara At 06:59 PM 7/12/2001 -0700, Lara J. Fabans wrote: >- > >$string = "<a href=&quo

[PHP] How to unsubscribe

2001-07-13 Thread Lara J. Fabans
can. 9) Dig in the dirt under the concrete and there will be a red button. If you push the button, you will unsubscribe yourself from this list. - Lara J. Fabans Lodestone Software, Inc [EMAIL PROTECTED]

[PHP] PHP and Apache on OS X insight?

2001-07-19 Thread Michael J. Seely
Hello, I'm getting ready to buy OS X and try to setup Apache with PHP. Anyone have any words of wisdom. Everything I've seen so far make it seem like a hot setup. Is it worth getting OS X server? Thanks Much -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-7

[PHP] PHP and Apache on OS X insight?

2001-07-19 Thread Michael J. Seely
Hello, I'm getting ready to buy OS X and try to setup Apache with PHP. Anyone have any words of wisdom. Everything I've seen so far make it seem like a hot setup. Is it worth getting OS X server? Thanks Much -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-7

[PHP] Trouble with getimagesize

2001-07-24 Thread Patrick J. Militzer
Hi there, Having problem with a snippet of code, the code works in php4 but not in php3. Here is the snippet: $imagesize = getimagesize($UPLOADFILE); // print $imagesize[0] . " " . $imagesize[1]; if($imagesize[0] > 360 or $imagesize[1] >252 or $UPLOADFILE_size > 51024)

[PHP] "OR" Problems

2001-07-24 Thread J S R
Shouldn't this work? I did it because I want the link to change to the "top-alt" class when the certain link is selected. but when i do this... they "if" statement is always active even if its not on the page. what am i doing wrong. portfolio"; else echo "portfolio" ?> services"

Re: [PHP] PHP scripting

2001-07-25 Thread Lara J. Fabans
to do what? There's tons of sample scripts out there on www.weberdev.com www.zend.com www.devshed.com if you just want to go absorb knowledge Lara - Original Message - From: "Kyle Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 9:40 PM Subject: [PHP]

Re: [PHP] "OR" Problems

2001-07-26 Thread J S R
Thank you s much david. "David Robley" <[EMAIL PROTECTED]> wrote in message 01072515394001.32266@www">news:01072515394001.32266@www... > On Wed, 25 Jul 2001 13:36, J S R wrote: > > Shouldn't this work? I did it because I want the link to change to th

Re: [PHP] Drop Down Menu

2001-07-28 Thread Michael J. Seely
You need to do something like this: With a little PHP work you can make the menu content and url links data driven. Page Title