[PHP] matching user to tables

2002-01-17 Thread Gary
to a matching user. Does anyone know of a tutorial or decent document on how to go about doing this. TIA Gary -- 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

[PHP] Re: PHP and mySQL

2002-01-17 Thread Gary
that is nix command. On window you need to start MySQL one of two ways. http://www.mysql.com/doc/W/i/Windows.html HTH Gary Morten Nielsen wrote: > Hi, > > I try to use mySQL through PHP, but I can't get it to work. > Both PHP and mySQL is installed on my computer (win2k). Th

[PHP] Re: limit 0,30

2002-01-31 Thread Gary
Jtjohnston wrote: > I want to do something like this on a page: > > Pages: 1 2 3 [Next>>] > > How can I code SELECT * FROM `bookmarks` LIMIT 0, 30 ? > > Thanks? > > John > > This should be of some help. http://phpbuilder.com/columns/rod20001214

[PHP] Convert 24hr to 12hr

2002-02-05 Thread Gary
Hello All, Can someone please RTFM me so I can convert MySQL 24 hour time to 12 hour time. TIA gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Win32 PHP + PostgreSQL support

2002-02-07 Thread Gary
Doesn't php for windows come with pgsql already? extension=php_pgsql.dll Gary Todor Stoyanov wrote: > Any ideas how to get PHP for win32 with PostgreSql support? > > Cheers > > Todor > > > -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] Re: DreamWeaver/PHP ability?

2002-02-07 Thread Gary
There is no PHP support in Dreamweaver UltraDev. Gary Luke Crouch wrote: > I know Dreamweaver UltraDev has nice site management features for using a > JSP/SQL type serverdoes it have similar capabilities with PHP/MySQL? > Does anyone know? > > -L > > > --

Re: [PHP] Re: DreamWeaver/PHP ability?

2002-02-07 Thread Gary
works ust fine. Gary Edward R. Bailey wrote: > >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Actually Ultradev does support PHP if you buy a php application >server extension. A company in Romania (The name escapes me) makes >the extension and I have heard it works ver

[PHP] my math stinks

2002-02-10 Thread Gary
$pa > $pb or $pb > $pa then subtract smallest from the largest and add $ca and then add $ps TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: IE vertical scrollbars changing color

2002-02-12 Thread Gary
do this?? > > Thanks!! > > body{ scrollbar-base-color:black; scrollbar-arrow-color:black; scrollbar-highlight-color:#FF8000; scrollbar-3dlight-color:silver; scrollbar-shadow-color:silver; scrollbar-darkshadow-color:black; scrollbar-face-color:#FF8000; } HTH Gary -- PHP General Ma

Re: [PHP] Cheap, PHP, mySQL hosting!

2002-02-13 Thread Gary
with Yahoo! Greetings! > http://greetings.yahoo.com > That depends on what you are calling cheap. http://site-works.com/hosting_plans_comparison_chart.html HTH Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: mail headers

2002-02-13 Thread Gary
ff to the mail script mailfriend.php or what ever you name it. collect all the variable in the mail() script. " name="url"> Friends Email: Your Name: Your Email: HTH Gary Renato Salvatore Moya L. wrote: > ah! ,i

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread Gary
smtp.minspring.com is the address for out going mail. Gary Dr. Shim wrote: > Alright, I will show you my entire mail code here. BTW: I cannot mail using > mail() function > > [mail function] > ; For Win32 only. > SMTP = mindspring.com > > ; For Win32 only. > sendm

[PHP] PEAR DB class

2002-02-14 Thread Gary
Hi all, Before I get started and have to figure out a problem. Is it legal in PEAR DB to connect like this $dbh = DB::connect("mysql://$user:$pass@$host/$dname); where user, password, host and database names are coming from an include? TIA Gary -- PHP General Mailing List

[PHP] Undefined class name

2002-02-15 Thread Gary
); where did I screw up. TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: s.osborne, are you out there?

2002-02-15 Thread Gary
nope, I am getting it too. Gary Erik Price wrote: > > > Am I the only one who gets the following message each time I post to > php-general? Is there a moderator who could remove this subscriber? > > Begin forwarded message: > >> From: "Postmaster"

[PHP] Re: form opens a php window.

2002-02-17 Thread Gary
g like a cookie or database to collect and pass on the information to the page that resides in the window. Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] get_browser();

2002-02-18 Thread Gary
om/ > > > Is that going to catch the Mozilla spoofers, like webtv and opera? Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] get_browser();

2002-02-19 Thread Gary
o see if they is >to see if they can preform advanced scripting by using. if (document.getElementById >&& document.createElement). If your checking for only CSSS you can skip >document.createElement it is only for Opera 5. > Gary > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Homesite

2002-02-19 Thread Gary
uilder for php that works like the one that come with Homesite. I don't use it but it used to be on the Allire site. Since Macromedia owns hs now, No telling where to find it. gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Moto

2002-02-19 Thread Gary
Ben Curtis wrote: > I noticed this server-side scripting language which has an interesting > twist: your code can be complied and loaded as an apache DSO. Would > this be feasible with PHP? > > http://www.php.net/manual/en/install.apache.php#AEN855 -- PHP General Mailing List (http://www.

Re: [PHP] Re: Moto

2002-02-19 Thread Gary
I would guess that the cloest thing would be the Zend Encoder. Someone on the list may working on something else. http://zend.com/store/products/encoder-faq.php#3 Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Weather Scripts

2002-02-19 Thread Gary
to a raw data text file for this > information as well. > > Regards, > > Shannon This is probably what you have been looking for. Look at the home page for the METAR links if you need them. http://sourceforge.net/projects/phpweather/ HTH Gary -- PHP General Mailing List (http://ww

[PHP] Re: Hyperlinks vs Buttons

2002-02-20 Thread Gary
Steven Walker wrote: > Is there a way to regular hyperlinked text to submit a form? > > For example, rather than having a button that says [Login], I just want > underlined text: Login > > Steven J. Walker > Walker Effects > www.walkereffects.com > [EMAIL PRO

[PHP] Re: Which Portal System?

2002-02-20 Thread Gary
> My PHP NUke: > mpn188_final.zip > http://www.myphpnuke.com/ > > Thanks in advance, > Curt > > > > One more for you to check out. http://phpwebsite.appstate.edu/ Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: sometimes browser just recieves half the page

2002-02-22 Thread Gary
e since Im not a member of this maillinglist. > > The javascript showing up in the left frame is not showing the same as your link to it. The page showing up in the frame is broken. The javascript tags are closed before the script Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: sometimes browser just recieves half the page

2002-02-25 Thread Gary
[EMAIL PROTECTED] wrote: >Gary wrote: > >> >>John Ericson wrote: >> >>>Im programming a page where I have a java-tree-menu that gets generated >>>from a db. The code works perfectly but sometimes when a browser reads the >>>page I just get

Re: [PHP] Converting arrays

2002-02-25 Thread Gary
Simon Willison wrote: > Gary wrote: > >> Hi All, >> I am not too bad at building arrays in php but I need to convert a >> javascript form into php. How wuld I conver the small snippit here? >> >> var d = new Array(), l = new Array(); >> l[0] = new A

Re: [PHP] Converting arrays

2002-02-26 Thread Gary
I am using date(B); http://www.php.net/manual/en/function.date.php that break 24 hours into 1000 beats I will still have to use timezone but break them into beats. Gary Stewart G. wrote: >Why dont you just use timezones? > >=S. > >On Mon, 25 Feb 2002, Gary wrote: > >

[PHP] Re: is PHP4.0.3 on a commercial webserver Justifiable ?

2002-02-26 Thread Gary
They will up grade everything running on the server Apache, PHP, Perl, Python, SQL databases, and upgrading to SSH, ETC. That is a major undertaking when you have 20+ servers. Ask you host if they have any new servers and what version is running on them. Gary -- PHP General Mailing List (http

[PHP] Re: Unable to display images on browser

2002-02-26 Thread Gary
tent-type: $fileType"); > Header("Content-type: image/gif"); > echo $fileContent; > } > else > { > echo "Record does not exist"; > } // else > ?> > > Are you storing the complete html tag? The browser dosen't know what or where to display without the image tag. Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Changed localhost?

2002-02-27 Thread Gary
problem? > > Thanks! > > Anthony Rodriguez > ([EMAIL PROTECTED]) > > Since you are using a cable modem, You are using a firwall too,Right? Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How are they doing it?

2002-03-06 Thread Gary
Hello Everyone. I saw a Perl script today that the owners of the site can send an email and pages would update automatically update. How are they accomplishing this? Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: CSS Group

2002-03-10 Thread Gary
Jtjohnston wrote: > Can anyone recommend a good CSS news group? > > > http://two.pairlist.net/mailman/listinfo/css-discuss Very hard core CSS List HTH Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Netscape Vs. IE

2002-03-11 Thread Gary
t; trying to use background-image:file.gif, but it doesn't seem to work. > > Thanks, > Vlad HTH Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HTML Question

2002-03-31 Thread Gary
http://foo.com"; name="MyFrame" id="MyFrame" width="400" height="300" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"> You need to give a height. NN4 does not support iframe Gary Jtjohnsto

[PHP] return

2002-03-31 Thread Gary
Can someone explain to me the reason for using return. function _getValue($foo) { $foo = $_POST; return ${$foo}; } TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Phone number validation

2002-04-06 Thread Gary
ters that people use? TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Phone number validation

2002-04-07 Thread Gary
phone number. When I sat down and thought about it there are too many problems. These problems range from country codes, city codes , and area codes all changing daily to business phones. Your looking at #*. + ( )- and probably many more I haven't thought of. Looks like I will only ch

[PHP] Controlling Word Files (FDA Concern)

2002-05-03 Thread Gary
Does anyone know of how to put a Word file on a web page without the user being able to save it to their hard drive? And also another issue of making it so they can't print it. Thanks, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: css sheets in designs

2002-05-13 Thread Gary
sheets works the same as any other language that you can link to your document. HTH gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Client user info

2002-05-24 Thread Gary
Is there a way to get the user information? I know there must be a constant variable, but I can't seem to find it. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Client user info

2002-05-24 Thread Gary
Thanks everyone! "Gary" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is there a way to get the user information? I know there must be a constant > variable, but I can't seem to find it. > > Thanks > > -- PH

[PHP] stop time out

2001-10-23 Thread Gary
On sending a large number of newsletters out, how would you stop php from timing out if you do not have access to the .ini file? TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] stop time out

2001-10-23 Thread Gary
OK, is there a limit on set_time_limit? The host of the site has a limit of 30 mails a second to stop spamming. so I need set_time_out of 60 seconds, that will give me 90 seconds to send all the mail. Gary Tim Zickus wrote: > On Tue, 2001-10-23 at 15:34, Gary wrote: > >>On sen

[PHP] htpasswd

2001-10-25 Thread Gary
Can php write to a htpasswd file? If it can will someone point me in the right direction. TIA Gary -- 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

[PHP] SSI

2001-10-28 Thread Gary
How do you get a SSI to work on a php page? TIA Gary -- 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] SSI

2001-10-28 Thread Gary
Yes I do, it is to run a pre-exiting program. I figured it out. I was uing double quotes in the ssi and excaping them when echoing. I should of been using single quotes. Thanks Gary Christian Dechery wrote: > At 19:04 28/10/01 -0500, Gary wrote: > >> How do you get a SSI to w

[PHP] virtual

2001-10-29 Thread Gary
What would cause a fatal error using virtual(/cgi-bin/folder/program.pl); ? TIA Gary -- 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] virtual

2001-10-30 Thread Gary
Tried that, same result. looks like I am going to have to strip off the php from that page and change it to shtml Gary Nikola karoviæ wrote: > you could try using require(/cgi-bin/folder/program.pl); instead > - > volim popit, volim zagalamit > - Orig

[PHP] use PHP as a module in Apache on win9x

2001-11-19 Thread Gary
Has anyone been able to run PHP 4.06 as a module on windows 98? Every time I have tried, using the install directions I get an error on starting Apache.It tells me it take two arguments, a module name and shared object file what am I doing wrong? Gary -- PHP General Mailing List (http

[PHP] Cookies

2001-02-13 Thread Gary
else setcookie ("getdwgnum", $cook,time()+28800); ?> I want to look for a cookie and if it is not there I want to set one. Any ideas? Thanks, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

[PHP] Image in a Template

2001-02-13 Thread Gary
TIA Gary -- 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] Image in a Template

2001-02-14 Thread Gary
That is exactly what I ended up doing. Thanks to all. Gary Ankur Verma wrote: > keep the images in a folder on the file system and link the filename of the > picture to the product tuple in the dataabse. > > I would suggest you use the product ID as the filename for the pict

[PHP] Delete from cart

2001-02-16 Thread Gary
Hi All, It is Friday afternoon here and I don't want to have to reinvent the wheel. What would be the easiest way to delete an item from a shopping cart? I know what is required for Mysql but I am stumped on how to implement it. TIA Gary -- PHP General Mailing List (http://www.ph

Re: [PHP] Delete from cart

2001-02-16 Thread Gary
t; where $stockno is an session array variable. its very spec on what software > your using. > > > -- > > > Chris Lee > Mediawaveonline.com > > em. [EMAIL PROTECTED] > > ph. 250.377.1095 > ph. 250.376.2690 > fx. 250.554.1120 > > > > >

Re: [PHP] Delete from cart

2001-02-16 Thread Gary
Thanks Chris, It is a little late in the design to use your class, but it has given me an idea on how to delete from my code. Thanks Gary Chris Lee wrote: > here is a very simple cart in sessions. you have stockno and quan, it can be > easily modified to handle various other var

Re: [PHP] Terrible Hosting Experience

2001-02-21 Thread Gary
for 30 minutes or more. The straw that broke the camels back, they change their email system and didn't notify our clients. In the end it took our clients lawyer to completely break off with them. they kept bill and writing threating letters for months. Gary -- PHP General Mailing List (

Re: [PHP] Amazing!!

2001-01-27 Thread Gary
orer at http://explorer.msn.com This should get you up and running.:) http://hotwired.lycos.com/webmonkey/00/44/index4a_page7.html HTH Gary -- 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 admin

[PHP] prompts

2001-03-14 Thread Gary
Is there anyway in PHP to prompt the user for input like JavaScript's prompt("Hello, what is your name?") Thanks, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

[PHP] Passing JavaScript variables

2001-03-15 Thread Gary
Is there a way to pass a JavaScript variable to a PHP function? Thanks, Gary -- 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] dynamically change a variable name

2001-03-18 Thread Gary
Is there a way to dynamically change a variable name? For example: I want to change the variable name $DWG to $DWG1 $DWG2 $DWG3 with a for loop. Is there a way to do this? Thanks, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] dynamically change a variable name

2001-03-19 Thread Gary
Thanks! "Mark Maggelet" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Sun, 18 Mar 2001 20:36:15 -0500, Gary ([EMAIL PROTECTED]) wrote: >Is there a way to dynamically change a variable name? For example: >I want to change th

Re: [PHP] HTTP Auth

2001-05-09 Thread gary
> ); > header( 'HTTP/1.0 401 Unauthorized' ); > echo 'Authorization Required.'; > exit; > > } else { > > ***your stuff goes here when authenticated > > } > ?> > > works excellent on any browser, apache server with PH

[PHP] flat file from ?

2001-07-27 Thread Gary
Hello All, I am still kinda new to php. I know how to write/create a flat file but how would I write to a flat file from a form object ? TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] number of uploads

2001-07-27 Thread Gary
I can do basic file uploads. How do you let the user choose the number of uploads with drop down list? Gary -- 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

[PHP] Multi Uploads

2001-08-01 Thread Gary
uploads they want? Yes you can RTFM me :) TIA Gary -- 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] Re: Multi Uploads

2001-08-01 Thread Gary
That is the way I have it now and personaly agree with you. The client want multiple uploads so they can upload their newsletter articles all at once. Gary InéRcia Sensorial <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Use the source,

[PHP] Re: Installing PHP probs

2001-08-01 Thread Gary
ntact me off list and I will give you a hand. http://hotwired.lycos.com/webmonkey/00/44/index4a.html Gary Kyle Smith <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can someone quide me through the process of installing PHP on a windows system (my co

[PHP] Re: Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-01 Thread Gary
http://httpd.apache.org/dist/httpd/ or click on the link below to start download http://httpd.apache.org/dist/httpd/apache_1.3.20.zip if you want PWS it is on your windows cd Except if you have windows ME then you will have to download it frome Microsoft. Gary Kyle Smith <[EMAIL PROTEC

[PHP] & PHP

2001-04-09 Thread Gary
Hi All, When using the dtd below on a page that has a form with php. I get a parser error for am I going to have to go back to a HTML 4.01 dtd or can I do something like escape the ? ? http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> http://www.w3.org/1999/xhtml"> TI

Re: [PHP] & PHP

2001-04-09 Thread Gary
Brian Clark wrote: > Hi Gary, > > @ 4:38:17 PM on 4/9/2001, Gary wrote: > > >> When using the dtd below on a page that has a form with php. I get a >> parser error for am I going to have to go back >> to a HTML 4.01 dtd or can I do something like escape the

[PHP] line break

2001-04-26 Thread Gary
Hi all, I know how to get a line break in text. Is there a way to get a line break between the user agent string below? I would line to print in a column instead of a long row. TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] line break part2

2001-04-27 Thread Gary
Thanks for everyone's help on the original question. Now that I have gotten the line breaks in a file, How do I get the file out with the breaks? Also, does anyone know of a good tutorial on file formatting. TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] date calculation

2001-05-04 Thread Gary
Is there a way to do calculations with dates? Preferably ignoring weekends. Thanks, Gary -- 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] HTTP Auth

2001-05-08 Thread gary
Im having a problem with Authentication uisng $PHP_AUTH_USER and $PHP_AUTH_PASSWORD works fine connecting via netscape but automatically set to false when using IE 5. Apache server , PHP installed as a module on a freebie server. Code below: '; echo 'Please go to Registration page to Get a log

[PHP] Premature end of script headers:

2001-08-05 Thread Gary
Hello All, writing to a flat file I am getting 500 error with Apache. I know the path is correct and when I delete the file.txt and try to write to it. A new file is created but no writing. What does Premature end of script headers: mean? TIA Gary -- PHP General Mailing List (http

[PHP] line by line

2001-08-27 Thread Gary
Hi All, I need to get info from a flat file line by line. What I need to do is get 3 separate lines and then a paragraph. Can someone point me to a tutorial or info on the subject. TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Best Way?

2001-08-28 Thread Gary
Hi All, I have a php/mysql authentication page where 10 people can login. Each person has thier own page that they update daily. What would be the best way to take them to their update area? I thought of cookies but that requires them haveing cookies turned on. TIA Gary -- PHP General

[PHP] Re: Sorry, i need HTML help

2001-08-29 Thread Gary
will only work in Internet Explorier. If you want a marquee to work in all browsers you will have to use DHTML. Kyle Smith wrote: > Sorry to post here but i need to know this info fast! > > How do i make a scrolling marquee in HTML without using javascript > > > Thanks! > -lk6- > http://www

[PHP] include_path directive

2001-08-30 Thread Gary
Our host has set-up a php .ini file in our cgi-bin. We were having trouble writing and reading from flat files. I have never set the include_path directive from a cgi-bin before. Can someone tell how to set the path? I know it has to be diffrent from the way I am used to. TIA Gary -- PHP

[PHP] File read Parser error

2001-08-30 Thread Gary
Can someone tell me why I am getting an error for the second line below. It works locally but not live. -- 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-

Re: [PHP] File read Parser error

2001-08-30 Thread Gary
geez, time to call it a day! Thanks Gary Don Read wrote: > On 30-Aug-2001 Gary wrote: > >>Can someone tell me why I am getting an error for the second line below. >>It works locally but not live. >> >> >$f

[PHP] password why?

2001-09-03 Thread Gary
); $num=mysql_numrows($result); if ($num > 0) echo "Your Username is already taken.Please use your back button and choose another"; else { more code TIA Gary -- 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] stripslashes

2001-09-04 Thread Gary
Hi, Could someone give me an example of using stripslashes with echo and one with .msg in a mail function. TIA Gary -- 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

Re: [PHP] Newbie ?: why this error?

2001-09-05 Thread Gary
ain later."); > echo the error. $db = mysql_connect ("hostname", "user", "password"); echo mysql_errno().": ".mysql_error().""; Then you will know what the problem is. BTW if you are using the Dreamweaver extension that shows you the inclu

[PHP] multi updates

2001-09-06 Thread Gary
t Results $sql_result = mysql_query($sql, $conn) or die("Couldn't Query Database"); if(!$sql_result) { TIA Gary -- 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] Re: multi updates

2001-09-06 Thread Gary
Thanks Chris, it was the missing where statement. Gary Chris Lee wrote: > where's the form, maybe the problem is there. your update query has no where > statment, this isnt syntaxicaly incorrect, its just rare that you need to > update every single element in the database to

[PHP] Re: mysql error on win2k

2001-09-21 Thread Gary
MySQl manual. 1016=can't open file. HTH Gary Sagar N Chand wrote: > hi, > > i have installed win2k and configured apache and php4.0.6 but > mysql is giving error 1016 or so. > > why is this happening. > > /sagar > > -- PHP General Mailing List (http://w

[PHP] Strange File write Problem

2001-09-23 Thread Gary
The code below works on every server that I have tried it on, till now. On this server it will create the file name but will not write to it. If you create a file and upload it, it will erase everything but not write. Any Ideas why? TIA Gary -- PHP General Mailing List

[PHP] Re: include XHTML document

2001-09-24 Thread Gary
You have to echo it. notice the single quotes. ' ?> Gary Cweiske wrote: > Hi > > I wrote my new page in XHTML 1.0, split it and wanted to include the top > part of the file with the include( "page_top.htm"). > The problem is, that the valid XHTML docum

[PHP] strip HTML

2001-10-20 Thread Gary
Hello All, How would I strip all HTML before the info in inserted to MySQL? The info is sent with a form. We Have one person that insist on using HTML. TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Re: strip HTML

2001-10-20 Thread Gary
Thanks James: I had figured that part out (should of said so). What is happening is a form is passing the stuff to another page that does the DB UPDATE. The form action is . Where I am lost is where to put the strip_tags() like action=strip_tages("update.php"); Gary Yz J

[PHP] PHP with gd support

2002-02-12 Thread Gary St
tion site? or do I do the configure with all the other arguements AND --with-gd and then do the 'make' and 'make install'? Thanks for the help Gary __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://gree

[PHP] Language detection and change

2001-12-16 Thread Gary Crighton
anyone suggest code samples that might do this and perhaps set a cookie to remember the choice for future visits? I've been dabbling with this a while now and never quite get it right. All help / advice appreciated as this is new to me. Cheers, Gary -- PHP General Mailing List

Re: [PHP] mySQL - Swap data in a field between two rows

2001-03-17 Thread Gary Huntress
eally need to do this? Regards, Gary H. ""Vincent P. Cocciolone"" <[EMAIL PROTECTED]> wrote in message 001001c0aeff$ce098dc0$[EMAIL PROTECTED]">news:001001c0aeff$ce098dc0$[EMAIL PROTECTED]... > There must be an easy way, but it escapes me. > > How can I s

[PHP] phpinfo() doesn't list compiled --with

2001-03-20 Thread Gary Huntress
I compiled php --with-pgsql, but phpinfo() doesn't list that.is this a problem with php.ini? Thanks, Gary -- 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 administrato

Re: [PHP] trim string

2001-03-21 Thread Gary Huntress
Perform the trim as part of the query: "Select rtrim(app_name) , rtrim( status) from approval_list where doc_no='6'" "Wen Ni Leong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I need help in this basic string function. > I query from the database by using

[PHP] freebsd and exec problem

2001-06-24 Thread Gary Starks
I am having a strange problem that I have yet to solve. I am running apache 1.3.14 and php 4.0.5 on FreeBSD 4.3 My problem is that when I am trying to execute a program via php the program dies after a short amount of time. I have tried execing in the background, calling another program that

[PHP] online detection

2001-04-10 Thread Gary Munitz
Does anyone know how to detect when a user connects to the Internet similar to ICQ? -- 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]