Re: [PHP] fscanf syntax

2001-03-30 Thread Brian Clark
Hi Patrick, @ 9:04:59 PM on 3/30/2001, Patrick Brown wrote: ... hostname|protocol|number|severity|description Each record is on it's own line and have the fields delimited by the pipe character |. The file may have thousands of records and I would like to bring them into a database for

Re: [PHP] Which way to make the thumbnail on the fly

2001-03-28 Thread Brian Clark
Hi -Tuna-, @ 1:57:59 AM on 3/29/2001, nicuc.ac.jp wrote: I need to resize picture (JPEG,PNG) on the fly in PHP. But, My server very restrictly. I just "user" neither root nor super user. ... If you're not in a restricted shell, or some wacko chrooted environment you can try to install

Re: [PHP] Problem to run java command line with passthru()

2001-03-28 Thread Brian Clark
Hi -Tuna-, @ 1:42:21 AM on 3/29/2001, nicuc.ac.jp wrote: ... $java HelloWorld ... ? passthru("java HelloWorld") ; ? But call through browser its return nothing. no out put , no error display. I test my script by log-in Telnet to call the PHP script directly. Try backticks, but be

Re: [PHP] Stripping HTML selectively?

2001-03-02 Thread Brian Clark
Hi Erick, @ 12:22:39 AM on 3/3/2001, [EMAIL PROTECTED] wrote: i tried to look at "strip_tags" but then it only returns me: http://www.php.net/manual/en/function.strip-tags.php string strip_tags (string str [, string allowable_tags]) "Note: Allowable_tags was added in PHP 3.0.13, PHP4B3."

[PHP] PHP-as-servlet can't ldopen php_java

2001-02-16 Thread Clark Freifeld
, or else he's going to make me give up. Please CC me on the response, since I am not yet subscribed to this list, since I don't think I can handle the traffic. Thanks very much. Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] locating the actual php executable

2001-02-13 Thread Brian Clark
Hi Brandon, @ 1:36:32 PM on 2/13/2001, [EMAIL PROTECTED] wrote: I am trying to locate the php executable on my server. Is there an easy way to do this? Linux, I assume? shell su shell updatedb shell locate php | grep bin May find it. -Brian -- PHP General Mailing List

Re: [PHP] unlink(); in windows?

2001-02-07 Thread Brian Clark
Hi Brandon, @ 2:02:12 PM on 2/7/2001, [EMAIL PROTECTED] wrote: I am trying to use unlink(); in windows. Does anyone know if unlink works in windows? "Note: This function may not work on Windows systems." http://www.php.net/manual/en/function.unlink.php Read under 'User Contributed Notes'

Re: [PHP] PHP Newbie, Experienced Porgrammer, Annoying fread() problem

2001-02-07 Thread Brian Clark
Hi John, @ 2:01:49 PM on 2/7/2001, [EMAIL PROTECTED] wrote: Please bear with me for a moment. I am new to PHP work, but have over 10 years experience in various other programming languages including C/C++ I'm just getting really frustrated here, and i'm hoping its a simple mistake. What

Re: [PHP] Getting ASPELL to work?

2001-02-07 Thread Brian Clark
Hi Nicholas, @ 2:19:38 PM on 2/7/2001, [EMAIL PROTECTED] wrote: Is there a secret to get the 'aspell_*' functions to work? I tried running one and got a 'unsupported function' error. :( I am running a RH7.0 system with PHP3. Aspell is installed on the system, but I did not do anything

[PHP] test - please disregard

2001-02-03 Thread Matthew Clark
-- Matthew Clark -- 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] Editor

2001-01-30 Thread Brian Clark
Hello Maxim, (MM == "Maxim Maletsky") [EMAIL PROTECTED] channelled: MM EditPlus.com ($?) Yep. http://www.editplus.com/ -Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Thumbnails and PHP

2001-01-30 Thread Brian Clark
Hello Todd, (TC == "Todd Cary") [EMAIL PROTECTED] uttered: TC If I do table width="100%" and td width="750" all works fine - TC the img's "word wrap". But, when I do table width="100%" and TC td width="100%", I get a horizontal scroll bar and the img's TC go off to the left. Just leave out

Re: [PHP] Problems with majodomo

2001-01-30 Thread Brian Clark
Hello Alan, (AT == "Alan Todd") [EMAIL PROTECTED] stated: AT mail("$majordomo", "", "$action $list $email","From: $email"); Try this and see if it works: mail($majordomo, '', "$action $list $email\n\r","From: $email\n\r"); -Brian -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] interreng problem ..

2001-01-30 Thread Brian Clark
Hello henti, (htc == "[EMAIL PROTECTED]") [EMAIL PROTECTED] accounted: htc as you can see ... it replace "$page_name_heading"; instead of htc just "$page_name"; any ideas how to get around this ? How about: include("templates/$webit_layout_id/${page_name}_heading.php3"); or:

Re: [PHP] E Bay is going up again..

2001-01-30 Thread Brian Clark
Hello James, (JM == "James Moore") [EMAIL PROTECTED] calculated: JM There are various reasons why what you suggested will not happen, JM if you really want to see why look in the archives there are JM plenty of posts. You have a delete key so use it. "Hey, your window is open, so you won't

Re: [PHP] Odbc_connect!

2001-01-30 Thread Brian Clark
Hello kaab, (kk == "kaab kaoutar") [EMAIL PROTECTED] told: kk if (($res = Odbc_Connect("WebZine","kaab","kaab")==0)) Just a wild guess, you might want: if (($res = Odbc_Connect("WebZine","kaab","kaab")) == 0) kk { kk print ("Couldn't connect to database\n"); kk exit (); kk

Re: [PHP] using fopen, but warned permission denied

2001-01-30 Thread Brian Clark
Hello Zenith, (Z == "Zenith") [EMAIL PROTECTED] accounted: Z I installed my php + apache in my linux box, with compiled the php as an Z apache module. any my web server is run as nobody ( by default ). snip Z However, I was warned with "fopen("tester.db","w") - Permission denied" Z I can

Re: [PHP] Prefilling select boxes ?

2001-01-30 Thread Brian Clark
Hello matthewt, (mt == "matthewt tozer") [EMAIL PROTECTED] forecasted: mt question is how can you prefil a select box ( drop down list ) mt with the item they selected ? Something not unlike: option name="foo"?php print($foo ? ' selected' : '');? -Brian -- PHP General Mailing List

Re: [PHP] verify that email exist ?

2001-01-30 Thread Brian Clark
Hello Website4S, (Wac == "[EMAIL PROTECTED]") [EMAIL PROTECTED] etched: Wac I don`t think it is possible to check that an email actually Wac exists but what It's possible: http://phpclasses.upperdesign.com/browse.html/package/13 Class that may be used to determine if a given e-mail

Re: [PHP] Passing HTTP_COOKIE_VARS to functions

2001-01-30 Thread Brian Clark
Hello Jamie, (J == "Jamie") [EMAIL PROTECTED] scratched: J PrefResults($HTTP_COOKIE_VARS["cookie_user"],$HTTP_COOKIE_VARS["cookie_passw J ord"]); Try putting ?php_track_vars? at the top of your script and see if it makes any difference. -Brian -- PHP General Mailing List

Re: [PHP] MS SQL 7.0 - Functions

2001-01-30 Thread Brian Clark
Hello Santhyago, (SBG == "Santhyago Bueno Gallo") [EMAIL PROTECTED] alleged: SBG Which are the functions of php to controler a data base Microsoft SBG SQL 7? http://www.php.net/manual/en/ref.mssql.php -Brian -- He who laughs last probably made a backup. -- PHP General Mailing List

Re: [PHP] sessions or db for shopping cart

2001-01-30 Thread Brian Clark
Hello Matthew, (MD == "Matthew Delmarter") [EMAIL PROTECTED] steered: MD 1. Using arrays stored in a PHP4 session vs. a database for MD storing cart details. Bad idea, if you're dealing with cookies, as any user can manipulate the data on the client side and have your server gleefully accept

Re: [PHP] Javascript doesn't work with PHP????

2001-01-30 Thread Brian Clark
Hello Dhaval, (DD == "Dhaval Desai") [EMAIL PROTECTED] detected: DD I am facing a very big Proble,m with this javascript below: I have DD gotten a form validation script. Please copy the script save as DD .php and try it out..It doesn't server the purpose...Can anybody DD point me to right

Re: [PHP] Interactive external program execution

2001-01-30 Thread Brian Clark
Hello Paul, (P == "Paul") [EMAIL PROTECTED] discovered: P During the course of a cronjob scheduled script, I need to execute an P external program which connects to another server using an P implementation of eftp (sort of ftp for ISDN). The eftp program returns P no success/error codes, is

Re: [PHP] PHP 4.0.3 on Debian?

2001-01-27 Thread Brian Clark
Hello Thomas, (TW == "Thomas Wentzel") [EMAIL PROTECTED] marked: TW I use the following configure string on both machines - only TW differences is the paths to pgsql and apxs snip TW On my RedHat (which has PHP 4.0.4) I get a nice little TW stocks.so... TW On my Debian (which has PHP 4.0.3)

Re: [PHP] Syncronizing of mysql-db

2001-01-27 Thread Brian Clark
Hello markus, (mgn == "[EMAIL PROTECTED]") [EMAIL PROTECTED] drafted: mgn does annybody know a tool or script which can help me to mgn syncronize two mysql databases ? like at my isp is a database for mgn the web, at home my local development server.. changes i do at mgn home or online should

Re: [PHP] Oracle support not working

2001-01-27 Thread Brian Clark
Hello Jon, (JJ == "Jon Jacob") [EMAIL PROTECTED] divulged: (I'm no Oracle expert) JJ Well, I think I have done everything right but must have missed JJ something. I installed with --with-oci8 and --with-oracle, my Sometimes it doesn't pick it up correctly if you don't use the path when

Re: [PHP] Thumbnails and PHP

2001-01-27 Thread Brian Clark
Hello Todd, (TC == "Todd Cary") [EMAIL PROTECTED] coined: TC What is the best way to display thumbnail photos and their titles TC with HTML/PHP? Table? Sure.. tables are good. Or you can display them in one long vertical line.. or.. Explain what you mean. If you mean just what the sentence

Re: [PHP] NT5 Sub Domains

2001-01-27 Thread Brian Clark
Hello Jonathan, (JS == "Jonathan Sharp") [EMAIL PROTECTED] canalized: JS Brian! You're not helping here, i'm in the middle of a conversion! JS I'm trying to help this guy find his destiny! Com'on! :) JS rswfire: You want to get used to the command line, trust me! I use it every day. BSDi,

Re: [PHP] PHP 4.0.3 on Debian?

2001-01-27 Thread Brian Clark
Hello John, (JD == "John Donagher") [EMAIL PROTECTED] alleged: JD FYI, not the case as of the current woody. Apache 1.3.14 JD configured with: ./configure --enable-module=so JD built a proper apxs which PHP had no problem using. OoOoo, my fault. :) I've been flopping in potatoes for a while

Re: [PHP] Search for the documentation

2001-01-26 Thread Brian Clark
(BC == "Brian Clark") [EMAIL PROTECTED] betokened: BC I'm using Beta 2.10a (I'm in the Beta program), but I'm not BC completely sure when this new feature was added (some where BC between 2.00 and 2.10a): BC If you go into settings and syntax for PHP in Preferences, I see a BC

Re: [PHP] DBase functions

2001-01-22 Thread Brian Clark
Hello Piotr, (PD == "Piotr Duszynski") [EMAIL PROTECTED] writes: PD Fatal error: Call to unsupported or undefined function PD dbase_open() in ... PD What's the problem? You'll probably need to re./configure PHP with the --enable-dbase option. -Brian -- PHP General Mailing List

Re: [PHP] Local Path of Script

2001-01-22 Thread Brian Clark
Hello Karl, (KJS == "Karl J. Stubsjoen") [EMAIL PROTECTED] writes: KJS How do I obtain the path of the local script? Or do I have to KJS build it from the $DOCUMENT_ROOT? I think this is specific to Apache, but try $SCRIPT_FILENAME -Brian -- Syntactic sugar causes cancer of the semi-colons.

Re: [PHP] Newbie: array help....

2001-01-22 Thread Brian Clark
Hello Brian, (BVB == "Brian V Bonini") [EMAIL PROTECTED] writes: BVB That's what I thought, which seemed to be the obvious BVB however, when I tried that it returns an error. BVB "Warning: Variable passed to each() is not an array or object in pagetop.inc BVB on line 105" ?php $bikes =

Re: [PHP] Compiling PHP with --with-apxs

2001-01-20 Thread Brian Clark
Hello Jero, (J == "Jero") [EMAIL PROTECTED] writes: J checking for Apache module support via DSO through APXS... apxs:Error: J Sorry, no DSO support for Apache available J apxs:Error: under your platform. Make sure the Apache J apxs:Error: module mod_so is compiled into your server J

Re: [PHP] general CGI question

2001-01-19 Thread Brian Clark
Hello Hrishi, (H == "Hrishi") [EMAIL PROTECTED] writes: H I need to know how to get apache to parse CGI output with the SSI H parser (the [php] script will have includes, which need to go H through mod_include). changing the mime-type to x-server-parsed or H anything hooked by mod_include

Re: [PHP] File upload on linux

2001-01-19 Thread Brian Clark
Hello MacBane, (M == "MacBane") [EMAIL PROTECTED] writes: M I have some file upload code but it is not woking on debian linux, M could some one give me a hand snip M $the_path is set some where else What is the value of $the_path? M $path = "/var/www/cms/gentext/$section/$doctype/"; This

Re: [PHP] Error connecting to MySQL server

2001-01-19 Thread Brian Clark
Hello Rosen, (R == "Rosen") [EMAIL PROTECTED] writes: R When I try to connect to MySQL server I get message "Can't connect R to MySQL server (10060 )! Where's your code? Are you using someone else's application? Is mysqld even running? Is it /still/ running after you get that error? Are

Re: [PHP] Good Reads

2001-01-19 Thread Brian Clark
Hello Sean, (SB == "Sean Brown") [EMAIL PROTECTED] writes: SB Does anyone have any suggestions on a good book for beginners. I SB currently own "PHP3 Programming Browser-Based Applications" by SB David Medinets. I have no regrets thus far on purchasing the book SB but it seems to leave a lot

Re: [PHP] Help with PHP Shell Scripting

2001-01-19 Thread Brian Clark
Hello Justin, (JY == "Justin Yu") [EMAIL PROTECTED] writes: JY When I tried connecting to Postgres through a shell script that I JY wrote, I get the following error: JY "Fatal error: Call to undefined function: pg_connect()" Because you don't have pgsql (PostgreSQL) support built into your

Re: [PHP] PDFLib and PHP and pdf_open_image_file

2001-01-19 Thread Brian Clark
Hello goood, (gg == "goood goood") [EMAIL PROTECTED] writes: gg I have an problem with PDFLib and PHP. I'm trying to include gg images in PDF file using pdf_open_image_file If in my source code gg is line: gg $o=pdf_open_image_file($pdf,"gif","pict.gif"); gg i get the error: Cannot find

Re: [PHP] temporary unsubscribe mailing list

2001-01-19 Thread Brian Clark
Hello Wen, (WNL == "Wen Ni Leong") [EMAIL PROTECTED] writes: WNL I would like to unsubscribe the mailing list for a week which is WNL effective from 20th of Jan 2001 to 28th of Jan 2001. I hope you WNL can automatic reactive me into the mailing list after the 28th of WNL Jan 2001. -- PHP

Re: [PHP] Newbie : info/tut on XML and PHP

2001-01-19 Thread Brian Clark
Hello Rahul, (RB == "Rahul Bhide") [EMAIL PROTECTED] writes: RB Can you give me pointers(read urls) to "Good Sites" on tutorials RB or info from scratch on XML with PHP. http://www.phpbuilder.com/columns/justin2428.php3 http://www.phpbuilder.com/columns/joe2907.php3

Re: [PHP] question on time-based function

2001-01-19 Thread Brian Clark
Hello Rudy, (RM == "Rudy McDaniel") [EMAIL PROTECTED] writes: RM Anyone have any ideas on how to make a function reset every RM 24-hours? For example, I have a function that grabs a random quote RM from a file and selects a new one every time the page is reloaded. RM What I want, however, is

Re: [PHP] Error connecting to MySQL server

2001-01-19 Thread Brian Clark
Hello Rosen, (R == "Rosen") [EMAIL PROTECTED] writes: R When I connect via WEB based admin, there is no problems ! The R MySQL Server is remote. But when I install on my computer software R ( Artronoc Admin, DbTools ) I receive error "Can't connect to MySQL R server on host . (10060).

Re: [PHP] A little problem

2001-01-17 Thread Brian Clark
Hello Emiliano, (EM == "Emiliano Marmonti") [EMAIL PROTECTED] writes: EM I have a little problem: Sometimes when you invokes some .php EM page, appears "could not redefine function...". It looks like a Try: ?php if(! defined('__FOO__')): define('__FOO__', 1); /* functions */ endif;

Re: [PHP] Apache .htaccess Help (OT)

2001-01-17 Thread Brian Clark
Hello Website4S, (Wac == "[EMAIL PROTECTED]") [EMAIL PROTECTED] writes: Wac Sorry this is off topic but I just can`t find anywhere with Wac reliable information to help me get my .htaccess working on my Wac server. I have followed many tutorials and none of them give me a Wac working password

Re: [PHP] Cookies still store old value(Help!!)

2001-01-17 Thread Brian Clark
Hello Hendry, (HS == "Hendry Sumilo") [EMAIL PROTECTED] writes: HS When User "A" enter ,the cookies will store User "A" name,when he HS enters the lecturer page,he will be directed to login page HS again(because he is not allowed to enter lecturer page) and so do HS User "B". BUT THE PROBLEM

Re: [PHP] php 4.0.5.dev will not read php.ini on NT

2001-01-17 Thread Brian Clark
Hello Robert, (R == "Robert") [EMAIL PROTECTED] writes: R PHP 4.0.5.dev I installed it on my Windows 2000 Pro machine with R IIS and MySQL and it works like a champ I installed it on my R Windows NT Server with IIS and MSSQL and it will not read the R php.ini file I put it in the following

Re: [PHP] PHP not working on Win95/Apache

2001-01-17 Thread Brian Clark
Hello Phil, (PS == "Phil Scopes") [EMAIL PROTECTED] writes: PS I am trying to run PHP in Windows '95 with Apache server. I followed all PS the instructions in the installation doc, including editting the Apache and PS PHP configuration files, and putting the PHP.INI file in my Windows PS

Re: [PHP] Session and Cookies

2001-01-17 Thread Brian Clark
Hello Hendry, (HS == "Hendry Sumilo") [EMAIL PROTECTED] writes: HS Can someone tell me how to use Session Object because when the HS user login the page I want to store the login,pass,and type_login HS so that I can pass this throughout the process. I found that i can HS store that by using

Re: [PHP] stripping the keywords from a search engine... again...

2001-01-17 Thread Brian Clark
Hello Dallas, (DK == "Dallas Kropka") [EMAIL PROTECTED] writes: DK Posted earlier but got no response so here it is again... I gave you a quick explanation of one way to do it earlier, but I know of no tutorials off the top of my head. Here is a lengthy example if you _have_ to see

Re: [PHP] Upgrade PHP3 to PHP4

2001-01-15 Thread Brian Clark
Hello TOM, (T == "TOM") [EMAIL PROTECTED] writes: T I would like to upgrade PHP3 to PHP4 on my Turbo Linux, does anyone T has experience on this? Not specifically on Turbo Linux, but this may shed some light on the subject: http://www.php.net/version4/migration.php T enethk -Brian --

Re: [PHP] Use ?= instead of %=

2001-01-14 Thread Brian Clark
Hello Alex, (AB == "Alex Black") [EMAIL PROTECTED] writes: AB can people give me opinions as to why ?= is so bad? It's not, unless you care if your code functions on any server, using any version of PHP. From: [EMAIL PROTECTED] (Philip Olson) Newsgroups: php.general Date: 13 Jan 2001

Re: [PHP] tie string value together

2001-01-14 Thread Brian Clark
Hello Jacky, (Jl == "Jacky@lilst") [EMAIL PROTECTED] writes: Jl This may sound too easy to ask but I want ot make sure if I'm Jl correct. I have a form with date, month and year select fields in Jl it. When I submit, i want to tie those three fields value together Jl and insert into a field

Re: [PHP] include path confusion

2001-01-11 Thread Brian Clark
Hello Randy, (R == "Randy") [EMAIL PROTECTED] writes: R Thanks for the info Brian. But what about the path you have in the R include statement? IE: include "../path1/file.php" R Does it ignore the path? Try the path? Or just append that path to R the end of each path in the include_path?

Re: [PHP] include path confusion

2001-01-11 Thread Brian Clark
(BC == "Brian Clark") [EMAIL PROTECTED] writes: R Thanks for the info Brian. But what about the path you have in the R include statement? IE: include "../path1/file.php" R Does it ignore the path? Try the path? Or just append that path to R the end of each path in the inc

Re: [PHP] include path confusion

2001-01-10 Thread Brian Clark
Hello Randy, (R == "Randy") [EMAIL PROTECTED] writes: R How I think it SHOULD work is like DOS - First it looks at where R you say it is. If not there, it looks in the current directory. Let's not forget Unix. ;-) R If not there, it looks in the directories in the path. I'm sure PHP R

Re: [PHP] Funny running PHP4 on Apache, Windows 95

2001-01-10 Thread Brian Clark
Hello Patrick, (PD == "Patrick Dunford") [EMAIL PROTECTED] writes: PD I have this funny thing when running PHP 4 on Apache on Win95. If PD the script snip PD AddType application/x-tar .tgz PD AddType application/x-httpd-php3 .php3 PD AddType application/x-httpd-php3-source .phps

Re: [PHP] looking for a PHP editor

2001-01-10 Thread Brian Clark
(BC == "Brian Clark") [EMAIL PROTECTED] writes: BC Likewise, if you get into the habit of doing ? ? or ? ? in BC tandem, your worries will soon disappear. P.S. a decent editor that has *good* syntax highlighting (Ie. different schemes for HTML, JavaScript and PHP highlighting i

Re: [PHP] Apache error after setting path for mysql=

2001-01-10 Thread Brian Clark
Hello Shane, (SR == "Shane Reid") [EMAIL PROTECTED] writes: SR I reconfigured php with ./configure SR --with-mysql=/usr/local/etc/mysql SR --with-apxs=/usr/local/etc/apache/bin/apxs and apache will no SR longer start. I removed the path from the mysql to get the SR webserver back up but my

Re: [PHP] case ?

2001-01-10 Thread Brian Clark
Hello Jon, (JR == "Jon Rosenberg") [EMAIL PROTECTED] writes: JR I know this is kinda silly. but, if I have the following, will the JR file only be included when the case is matched or does require JR always bring in the file regarless? That is *supposed* to be the way it works. That is

Re: [PHP] Exponents

2001-01-10 Thread Brian Clark
Hello Ian, (IL == "Ian LeBlanc") [EMAIL PROTECTED] writes: IL Hey guys this one might be simple for ya.. IL how do you get a exponent of a verable.. example... ?php $value = 4; $exponent = 2; $equals = pow($value, $exponent); print($equals); ?

<    1   2   3   4   5   6