Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Darren Young
Tunnel port 3306 over an SSH connection if you can get an SSH session to open to the remote. On Sat, 13 Jul 2002, Alex Shi wrote: > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Saturday 13 July 2002 13:31, Alex Shi wrote: > > > The thin

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Darren Young
I seem to remember some Windows application that will do the conversion for you. I believe it's called mysql2access and the other way is access2mysql. IIRC, it's not open/free though. On Sat, 13 Jul 2002, Alex Shi wrote: > The thing is that, the MySQL table resides on a remote web server, my c

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Alex Shi
"Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Saturday 13 July 2002 14:00, Alex Shi wrote: > > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > On Saturday 13 July 2002 13:31, Alex Shi

Re: [PHP] safe_mode

2002-07-12 Thread Liam MacKenzie
DocumentRoot /home/scripts ServerName scripts.blahblah.com ErrorLog /home/nobody/logs/hosting/error.scripts.blahblah.com.log CustomLog /home/nobody/logs/hosting/access.scripts.blahblah.com.log common php_admin_flag safe_mode off (or on) - Original Message - From: "Chris Knipe" <[

Re: [PHP] Connecting LocalHost & Remote mySQL DB

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 14:11, Thomas Edison Jr. wrote: > Glory! > > Exactly.. that IS the problem. > You see, my mySQL DB on the Server/Internet, on my > website.. it DOES NOT allow Remote Host Connection. > That's why i need to use a PHP page, that too based on > the server. Because i need to m

Re: [PHP] Connecting LocalHost & Remote mySQL DB

2002-07-12 Thread Thomas Edison Jr.
Glory! Exactly.. that IS the problem. You see, my mySQL DB on the Server/Internet, on my website.. it DOES NOT allow Remote Host Connection. That's why i need to use a PHP page, that too based on the server. Because i need to move tabel data on my Client/My Computer to the Tables on my Website my

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 14:00, Alex Shi wrote: > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > On Saturday 13 July 2002 13:31, Alex Shi wrote: > > > The thing is that, the MySQL table resides on a remote web server, my > > > client want to

Re: [PHP] Restricting access using IPs

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 13:45, Liam MacKenzie wrote: > If I enter 192.168.0.13 (My IP) it works, I'm allowed in and any other IP > isn't. > However, I need to grant access to this whole network, not just me. So I > need 192.168.0.* to be able to access it, everyone else should get "Access > Deni

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Alex Shi
"Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Saturday 13 July 2002 13:31, Alex Shi wrote: > > The thing is that, the MySQL table resides on a remote web server, my > > client want to download it and access it in Access. > > Doesn't matter, ODB

Re: [PHP] Connecting LocalHost & Remote mySQL DB

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 13:45, Thomas Edison Jr. wrote: > Glory! > > Let's say i got a bunch of Data in my mySQL Table on > my localhost. I need all this Data uploaded on my > mySQL on the Server/Internet. > > Now one way is to use phpMyAdmin, Export the original > data on LocalHost to a .CSV fil

Re: [PHP] Restricting access using IPs

2002-07-12 Thread Liam MacKenzie
If I enter 192.168.0.13 (My IP) it works, I'm allowed in and any other IP isn't. However, I need to grant access to this whole network, not just me. So I need 192.168.0.* to be able to access it, everyone else should get "Access Denied" So I need to know how to write this bit: $localip = "192.16

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 13:31, Alex Shi wrote: > The thing is that, the MySQL table resides on a remote web server, my > client want to download it and access it in Access. Doesn't matter, ODBC works across a network. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Soft

Re: [PHP] Restricting access using IPs

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 13:10, Liam MacKenzie wrote: > Hey all, I'm looking to deny access to all IPs except those that fall into > a specific IP range. 192.168.0.* in this case. > Am I missing something out of this code, it don't work too well ;-) HOW doesn't it work too well? It displays a p

[PHP] Connecting LocalHost & Remote mySQL DB

2002-07-12 Thread Thomas Edison Jr.
Glory! Let's say i got a bunch of Data in my mySQL Table on my localhost. I need all this Data uploaded on my mySQL on the Server/Internet. Now one way is to use phpMyAdmin, Export the original data on LocalHost to a .CSV file, then use the Server phpMyAdmin to upload the same .CSV file to the t

[PHP] NEVERMIND! [PHP] problems with variable variables...

2002-07-12 Thread Dave at Sinewaves.net
Nevermind! I figured out the curly bracket syntax... Doh! It was buried in the manual the whole time! Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Alex Shi
The thing is that, the MySQL table resides on a remote web server, my client want to download it and access it in Access. Alex > You can also use ODBC (Ships with Acess) to make a DSN connection to MySQL. > Access can retrieve data from any ODBC DSN. > > Jason White > > - Original Message --

[PHP] problems with variable variables...

2002-07-12 Thread Dave at Sinewaves.net
I'm having a huge problem with getting variable variables to work. Here's what the code looks like... // This is set from a previous array... / $the_variablename[0] = "processors"; // Now I include a file called var

[PHP] Restricting access using IPs

2002-07-12 Thread Liam MacKenzie
Hey all, I'm looking to deny access to all IPs except those that fall into a specific IP range. 192.168.0.* in this case. Am I missing something out of this code, it don't work too well ;-) Allowed! Denied! Thanks in advance :-) Liam -- PHP General Mailing List (http://www.php.n

Re: [PHP] Inheritance

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! > if you have multilayered inheritance you may explicitely say which > anceStor class you are calling, like foo::print(). two typos in a few words are definitely too much, sorry :) BTW, although almost all class specification is dynamic you cannot dynamically specify a class name in f

Re: [PHP] help with mail() function!

2002-07-12 Thread Thomas \"omega\" Henning
No I only work on *nix platforms "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You wouldn't happen to be on a windows system? Read the "Warning:" on the > manual page: > http://www.php.net/manual/en/function.mail.php > > --Dan > > -- >

Re: [PHP] Inheritance

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Jason White wrote: > I have a class Foo{} which has a method Print(). > I have another class FooBar{} which extends Foo{} and has its own method > Print(). > > How do I invoke Foo{}'s Print() method from within FooBar{} once its been > overridden? parent::print(); if you have multilaye

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Jason White
You can also use ODBC (Ships with Acess) to make a DSN connection to MySQL. Access can retrieve data from any ODBC DSN. Jason White - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 12, 2002 9:48 PM Subject: Re: [PHP] Convert MySQL tab

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 06:48, Alex Shi wrote: > Hello, > > My client has a website and it support MySQL/PHP. The client want > to download the MySQL tables and then access them in Excell or > Access. So my question is, is it possible to convert MySQL table into > Access or Excell format? Thanks

Re: [PHP] File Browser

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 09:51, Darren Young wrote: > Anyone have any pointers to existing scripts? What would this type of > application be called? A document repository perhaps? There's something called Owl (search sourceforge/freshmeat etc). Or you can try phprojeckt which has a document rep

Re: [PHP] is_null question

2002-07-12 Thread Jason White
My appologies, I didn't read clear through, your code block confused me :-) What I usually do in a situation like this, although I'm new to PHP is. $temp="Some stuff before Email"; if($row[1]){ $temp .= "Email:$row[1]"; } $temp .= "The rest of the stuff after Email"; print $temp; Jason Whit

Re: [PHP] is_null question

2002-07-12 Thread Jason White
You can use: if($row[1]){print "Email:$row[1]";}else{print " ";} Jason White - Original Message - From: "Matthew K. Gold" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 12, 2002 9:23 PM Subject: [PHP] is_null question > Hi Everyone, > > Here's my problem: I'd like to

[PHP] Inheritance

2002-07-12 Thread Jason White
I have a class Foo{} which has a method Print(). I have another class FooBar{} which extends Foo{} and has its own method Print(). How do I invoke Foo{}'s Print() method from within FooBar{} once its been overridden? Jason White

[PHP] is_null question

2002-07-12 Thread Matthew K. Gold
Hi Everyone, Here's my problem: I'd like to make the printing of some text dependent on whether or not a variable is null. In the following example, when $row[1] is null, what gets printed on the page is "Email: ". I'd like the script to not print "Email:" if row[1] is null. It looks like

Re: [PHP] checkboxes / form elements

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Analysis & Solutions wrote: > On Fri, Jul 12, 2002 at 10:59:00PM -0400, Blue Presley wrote: > >>Hello. I have a form that I would like to use checkboxes. >>... snip ... >>I've been told that if I want to manipulate each >>one then I should use 'name=checkbox[]' and make an array out of

Re: [PHP] checkboxes / form elements

2002-07-12 Thread Analysis & Solutions
On Fri, Jul 12, 2002 at 10:59:00PM -0400, Blue Presley wrote: > Hello. I have a form that I would like to use checkboxes. > ... snip ... > I've been told that if I want to manipulate each > one then I should use 'name=checkbox[]' and make an array out of it. okay, > fine. but how do i access th

Re: [PHP] Advice needed

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Mike Tuller wrote: > So I would have the progressive key inside the addvolume window? Can you > explain how to go about doing this? How you organize your HTML output should *never* interfere with the way you organize your data, they are two different things and must be kept well separa

RE: [PHP] checkboxes / form elements

2002-07-12 Thread John Holmes
> Hello. I have a form that I would like to use checkboxes. these > checkboxes > are created dynamically. I've been told that if I want to manipulate each > one then I should use 'name=checkbox[]' and make an array out of it. > okay, > fine. but how do i access them in my PHP script? I know I

Re: [PHP] Advice needed

2002-07-12 Thread Analysis & Solutions
Mike: You MUST store the hardware information first so you can get the actual HardwareID determined by the hardware table's auto increment field. Any other way you do it you leave open the possibility for error. On your main hardware page, I'd make the "Volume Information" section have condit

[PHP] Gainesville, Florida PHP Users? (Re: [PHP-WIN] PHP meetup [CROSS-POST]Meet other PHP Developers in Your Area)

2002-07-12 Thread Tim Luoma
Well I don't see a user group listed for Gainesville, FL... and we could have a cool acronym too PUGG (php users group of gainesville) ok, that's a first attempt, but anyway So are there other Gainesville, Florida folks around? If so please drop me a link and maybe we can form

[PHP] checkboxes / form elements

2002-07-12 Thread Blue Presley
Hello. I have a form that I would like to use checkboxes. these checkboxes are created dynamically. I've been told that if I want to manipulate each one then I should use 'name=checkbox[]' and make an array out of it. okay, fine. but how do i access them in my PHP script? I know I have to use

Re: [PHP] Advice needed

2002-07-12 Thread Mike Tuller
So I would have the progressive key inside the addvolume window? Can you explain how to go about doing this? - Original Message - From: "Alberto Serra" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 12, 2002 8:56 PM Subject: Re: [PHP] Advice needed > ðÒÉ×ÅÔ! > > Mike Tu

[PHP] RE: [PHP-WIN] PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area

2002-07-12 Thread C. Hendrie
Tho, when you think about it, most PHP developers COULD use a dating service. :) Seriously tho, this is a good idea. Thanks for the info Jay. ~ Chris D.O.D -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 12:24 PM To: [EMAIL PROTECTED]; [EMAI

[PHP] Librep (yes it's definitely OT)

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Sorry, got no time to surf around for a Linux list, so please answer privately since this is totally OT. I am running gnome on top of rh 7.1, since I upgraded to librep 0.15.1 and sawfish 1.0.1 I need to reinstall librep once a week. Apart from the annoying fact in itself, when rep go

Re: [PHP] Advice needed

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Mike Tuller wrote: > The hardwareID is created in MySql when the information entered for the hardware is >submitted, which hasn't been done yet. You don't need it immediately. Just have a progressive key (like 1,2,3,4...) stored in a hidden field along with the new info you are gettin

Re: [PHP] problem with cookies and some browsers

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Andy wrote: > I am wondering if there is a possiblity that some browsers like IE 5.1 do > not accespt cookies by default. No, it's that they do not accept standards by default :) Try this and have M$ go to hell: // send/refresh cookie $time = mktime()+ $lifeInDays*86400; $

[PHP] File Browser

2002-07-12 Thread Darren Young
I'm looking for some type of file storage / browsing script to park on an Intranet site. I need to have people log in and be presented with a listing of files stored on the server along with other info such as dates/times, description, author and perhaps some versioning abilities. The files themse

[PHP] Advice needed

2002-07-12 Thread Mike Tuller
I am trying to develop a front end to a database that will be used for entering information about the computer systems I take care of. It would be easy to do if it weren't for one problem. I want to list information about the drives that are in each system. There could be one, two, or 10 drives

RE: [PHP] PHPDiscuss.com

2002-07-12 Thread John Holmes
> I have started a new website devoted strictly to discussing development > with > PHP. If anyone is interested, you can see it at > http://www.phpdiscuss.com. Wow...a forum. Is that vBulletin your using? Shouldn't you be giving them credit somewhere?? ---John Holmes... -- PHP General Mailin

Re: [PHP] PHPDiscuss.com

2002-07-12 Thread Jeff Lewis
Is it like http://www.phptalk.com ? Like just discussion or are their tutorials etc? Jeff >I have started a new website devoted strictly to discussing development with >PHP. If anyone is interested, you can see it at http://www.phpdiscuss.com.

[PHP] PHPDiscuss.com

2002-07-12 Thread Erich Kolb
I have started a new website devoted strictly to discussing development with PHP. If anyone is interested, you can see it at http://www.phpdiscuss.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP as smart .bat files on windows?

2002-07-12 Thread Analysis & Solutions
On Fri, Jul 12, 2002 at 07:26:52PM -0400, Francisco Reyes wrote: > Any experiences on using PHP as a replacement for bat files? http://www.php.net/manual/en/features.commandline.php --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | F

[PHP] PHP as smart .bat files on windows?

2002-07-12 Thread Francisco Reyes
Any experiences on using PHP as a replacement for bat files? For instance I can't find how to pass a parameter to a PHP program when running PHP as a scripting/CGI language. For regular bat files I can reference parameters by using $1 Anything like that with PHP under windows? -- PHP General

Re: [PHP] PHP/MySQL -- Date/Time Confusion

2002-07-12 Thread Anas Mughal
The easiest and my preferred way is to use "strtotim" method. This method accepts MySQL format "2002-12-23" and converts it into a UNIX time stamp. After that you can use the date function to format time as you wish! Monty <[EMAIL PROTECTED]> wrote: Which method is the best way to store date/

Re: [PHP] PHP and ORACLE

2002-07-12 Thread Anas Mughal
I don't think you would find any book covering PHP and Oracle. They technologies usually don't mix. Oracle is very enterprise oriented; whereas, PHP is open source community favorite. Oracle is a beast by its nature. So, you would need a few good books on Oracle. I would suggest following pro

[PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Alex Shi
Hello, My client has a website and it support MySQL/PHP. The client want to download the MySQL tables and then access them in Excell or Access. So my question is, is it possible to convert MySQL table into Access or Excell format? Thanks in advance for all answer! Alex -- -

RE: [PHP] php4apache.dll...

2002-07-12 Thread Bruce Karstedt
I got it when I downloaded 4.2.1 if you can't find it I'll e-mail you a copy. Bruce Karstedt President Technology Consulting Associates, Ltd. Tel: 847-735-9488 Fax: 847-735-9474 -Original Message- From: Peter [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 1:22 AM To: php_gen S

RE: [PHP] PHP/MySQL -- Date/Time Confusion

2002-07-12 Thread David Freeman
> Which method is the best way to store date/time in MySQL and > then which PHP > command is the best to use to convert that date to something > useful? Get comfortable with MySQL's date functionality and you'll find that you don't often need to do the date comparisons and manipulation in

[PHP] Re: getlastmod() returns error??

2002-07-12 Thread Andrew Ziem
I upgraded to PHP 4.2.1,and I still receive the error. Andrew "Andrew Ziem" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I am using getlastmod() to create a META HTTP-EQUIV tag. However, > getlastmod() SOMETIMES returns FALSE (for error). > > Whe

RE: [PHP] out of office test

2002-07-12 Thread Collins, Robert
Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : [EMAIL PROTECTED] -Original Message- From: Collins, Robert [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 5:24 PM To: [EMAIL PRO

[PHP] out of office test

2002-07-12 Thread Collins, Robert
sorry to do this but need to make sure my out of office response isint going to spam you guys. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : [EMAIL PROTECTED] -Original Message- From:

[PHP] Help a n00b with Server-to-Server file transfers?

2002-07-12 Thread Steve Keller
Ok, here's the situation: I've got a script that's catching a backdoor post from Verisign. The script then generates an XML file based on the information that's posted. The goal being to make Verisign and our online accounting system pseudo- integrated so that as soon as a post comes through V

Re: [PHP] good article on creating a subscription form/script

2002-07-12 Thread Michael Sims
On Thu, 12 Jul 2001 14:32:57 -0600, you wrote: >I've looked on php.net, phpbuilder.com, and zend.com, but to no avail. >Any suggestions? I don't know of any articles, but I'm actually working on a project that is exactly what you are talking about. I'm going to code the signup interface in PHP

[PHP] getlastmod() returns error??

2002-07-12 Thread Andrew Ziem
Hi, I am using getlastmod() to create a META HTTP-EQUIV tag. However, getlastmod() SOMETIMES returns FALSE (for error). When I run PHP from a Perl script, getlastmod() returns FALSE. When I run it from the command line, it returns the correct information. I usually use a Perl script to proces

[PHP] Encoding problem ONLY with _command line_ PHP.exe

2002-07-12 Thread Emile Axelrad
Hello - My problem is as follows (I am trying to migrate from a mssql server to a mysql server) The data in the MSSQL table is: Æã IF I call this PHP code from my browser (IE6) it results in the following output: Æã and it also places into the MySQL database the value: Æã However, if I

[PHP] php.security newsgroup any time?

2002-07-12 Thread Jas
I am wondering how we can get a newsgroup for security type of things, with either php, mysql or apache... To be honest I am interested in the php security newsgroup the most being as there is for the following two applications. How can one ask a moderator about that type of newsgroup? Jas --

Re: [PHP] Encoding problem with command line PHP.exe

2002-07-12 Thread Analysis & Solutions
Emile: On Fri, Jul 12, 2002 at 09:58:53PM +0100, Emile Axelrad wrote: > $data = mssql_result(mssql_query("SELECT Field FROM table WHERE > ID='1'"),0); > mysql_insert("INSERT INTO table2 VALUES('$data')"); Ouch. First, you're mixing and matching mssql and mysql functions. Seco

[PHP] problem with cookies and some browsers

2002-07-12 Thread Andy
Hi there, I am wondering if there is a possiblity that some browsers like IE 5.1 do not accespt cookies by default. I am working on a session management system and some users report that they have not been able to login because the cookie has been rejected. They are running IE 5.1 Mac (and maybe

[PHP] Re: another pair of eyes?

2002-07-12 Thread Lee Doolan
> "Jas" == Jas <[EMAIL PROTECTED]> writes: Jas> Hello all, Jas> I have a parse error and I am not sure why, I think my eyes are giving up on Jas> me, or its a friday. Any help is appreciated. Jas> // just trying to compare the session var $date to timeout if older than 5

Re: [PHP] PHP/MySQL -- Date/Time Confusion

2002-07-12 Thread 1LT John W. Holmes
You've got all kinds of options. I suggest you do any date calculations in the database and use DATE_FORMAT to format any dates pulled out. It's exactly like the date() function in PHP. MySQL has some great date and time functions so you can select out exactly what you want. You can use the UNIXTI

[PHP] PHP/MySQL -- Date/Time Confusion

2002-07-12 Thread Monty
Which method is the best way to store date/time in MySQL and then which PHP command is the best to use to convert that date to something useful? I'm having a difficult time figuring out how to reconcile the date in MySQL so it works with PHP's various date commands, like getdate(). Any suggestion

[PHP] pgSQL Functions with results set to php?

2002-07-12 Thread David Busby
List, I'm creating a PHP/pgSQL web site...I need to execute queries with a cursor and get their result set into my PHP script. How can I make a pgSQL procedure with logic that also returns a result set? I've searched and searched but cannot find the answer. Does anyone got it? /B

Re: [PHP] another pair of eyes?

2002-07-12 Thread Greg Donald
On Fri, 12 Jul 2002, Jas wrote: >Hello all, >I have a parse error and I am not sure why, I think my eyes are giving up on >me, or its a friday. Any help is appreciated. >// just trying to compare the session var $date to timeout if older than 5 >minutes >[snippit] >/* Begin Session and register

[PHP] Encoding problem with command line PHP.exe

2002-07-12 Thread Emile Axelrad
Hello - My problem is as follows: The data in the MSSQL table is: Æã IF I call this PHP code from my browser (IE6) it results in the following output: Æã and it also places into the MySQL database the value: Æã However, if I call this PHP code from the command line, using "php.exe tes

[PHP] Encoding problem with command line PHP.exe

2002-07-12 Thread Emile Axelrad
Hello - My problem is as follows: The data in the MSSQL table is: Æã IF I call this PHP code from my browser (IE6) it results in the following output: Æã and it also places into the MySQL database the value: Æã However, if I call this PHP code from the command line, using "php.exe tes

[PHP] another pair of eyes?

2002-07-12 Thread Jas
Hello all, I have a parse error and I am not sure why, I think my eyes are giving up on me, or its a friday. Any help is appreciated. // just trying to compare the session var $date to timeout if older than 5 minutes [snippit] /* Begin Session and register timeout, random image & client info vari

RE: [PHP] good article on creating a subscription form/script

2002-07-12 Thread Lazor, Ed
It may not be the best approach, but I've always created a form that accepts the users e-mail address and passes it to a script. The script generates an e-mail and sends it to the listserv on behalf of the user. The listserv sends a message to the user and confirms the subscription. -Ed -O

[PHP] good article on creating a subscription form/script

2002-07-12 Thread René Fournier
I've looked on php.net, phpbuilder.com, and zend.com, but to no avail. Any suggestions? --- René Fournier, [EMAIL PROTECTED] Toll-free +1.888.886.2754 Tel +1.403.291.3601 Fax +1.403.250.5228 www.smartslitters.com SmartSlitters International #33, 1339 - 40th Ave NE Calgary AB T2E 8N6 Canada

[PHP] Re: IIS Bugs???

2002-07-12 Thread Scott Hurring
There's a problem with IIS and the rest of the world :-) -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... OK This is a followon from my Browser thread... on [EMAIL PROTECTED]

Re: [PHP] A question of style ...

2002-07-12 Thread Analysis & Solutions
Hi Jay: On Fri, Jul 12, 2002 at 08:40:31AM -0500, Jay Blanchard wrote: > > The agent selects a referral which is processed by an intermediary > script which sets a flag in the database saying that "this agent" is, has,or > will be contacting this referral (to prevent duplicate contact). Then thi

Re: [PHP] help with mail() function!

2002-07-12 Thread Analysis & Solutions
You wouldn't happen to be on a windows system? Read the "Warning:" on the manual page: http://www.php.net/manual/en/function.mail.php --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolu

Re: [PHP] Re: PHP and geographic maps

2002-07-12 Thread Richard Lynch
>> But keeping all that junk in the database as 2-D mapping would only be >> needed if you're going to be providing driving directions and keeping all >> the highways and all that crap that MapQuest keeps (I assume). You almost >> for sure don't need all that. > >It seems to me like they still ne

Re: [PHP] Re: gd ->1:image resolution 2:font quality

2002-07-12 Thread 1LT John W. Holmes
> The GIMP is free Man, if I had a nickel for every time I heard that... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread Scott Hurring
or, more appropriately, use the database-specific escape function... for mysql: http://www.php.net/manual/en/function.mysql-escape-string.php http://www.php.net/manual/en/function.mysql-real-escape-string.php -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Martin Cliffo

Re: [PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Scott Hurring
... and you could provide hooks so that the billing/sales/inventory systems could all be separate "modules" of some sort, and you could add/swap out modules as they're needed... and perhaps have them communicate thru XML/SOAP, so that they could be on different hosts altogether. :-) There's a m

Re: [PHP] PHP codes and variables

2002-07-12 Thread Kevin Stone
In that case you'll have to use the output buffering method ob_start(); The include() function parses and executes any valid PHP code within the file and produces output (if any). Output buffering captures the display output and stores it until you clean the buffer or the script terminates. ob_

[PHP] black becomes red w/ imagecreatefromjpeg

2002-07-12 Thread Don Howland
Hello group, It's been over a year since I've had to come to you for help, but your insights and experience are too hard to resist... :-) I don't have a problem with any of the gd functions and they all works fine except that when I try to fill a circle or draw onto an imported image from ima

[PHP] How do I send files with HTTP socket post (PostToHost)

2002-07-12 Thread Kevin Stone
Okay enough answering questions this week, now I have a question to ask. :) I have a situation where two web servers need to share files with one another. FTP is not an option. So I am resorting to HTTP socket connection. I am able to open the connection (using Rasmus's PostToHost function) t

Re: [PHP] PHP/cron fetching and processing email from a POP3 account

2002-07-12 Thread Chris Hewitt
D. Reid Wilson wrote: >I would like to write a PHP script that fetchs email from a POP3 account and >then processes it based on the content of the email, such as writing it to a >CRM database or confirming an ezine subscription. I would then run the PHP >script via a cron job every ten minutes or

[PHP] Re: odbc_exec(), any way to validate whether it work or not?

2002-07-12 Thread Scott Fletcher
Never Mind! It was the $_GET['VIEW'] that was the problem. Since some script use Get method while other use Post method, so I changed it to $_REQUEST['VIEW'] and that took care of the problem. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > F

Re: [PHP] PHP codes and variables

2002-07-12 Thread J. Alden Gillespy
Which method makes it possible to process any variables in the included file? See, I have variables in the included file that are defined in the page that's calling it. J. Alden Gillespy (DJ Rage) Broadcasting on Test Pattern Radio Shock Rock! Every Sunday 5-8pm edt (21-0 gmt) http://www.thetes

Re: [PHP] PHP and ORACLE

2002-07-12 Thread Chris Hewitt
Ricardo Fitzgerald wrote: >Hi, > >I started with PHP and MYSQL a while ago and now I've been involved in >a huge database project with ORACLE. > ---snip--- >And i don't have any kind of experience with Oracle, so I would >appreciate any recommendations from experienced devel

Re: [PHP] PHP codes and variables

2002-07-12 Thread Kevin Stone
Or use implode instead of join makes skips the step of extracting the index.. $file = implode ('', file ("afile.html")); If you'll be sending more output than just one file then another favorite method is this.. ob_start(); readfile("file1.txt"); readfile("file2.html"); $output = ob_get_contents(

Re: [PHP] PHP codes and variables

2002-07-12 Thread Miguel Cruz
On Fri, 12 Jul 2002, J. Alden Gillespy wrote: > Anyone know how to do have a variable equal the contents of a file? I tried > the include function, but it just prints the file out on the screen rather > than including the contents in the variable itself. I need help with this > ASAP. Thanks. $

[PHP] PHP codes and variables

2002-07-12 Thread J. Alden Gillespy
Anyone know how to do have a variable equal the contents of a file? I tried the include function, but it just prints the file out on the screen rather than including the contents in the variable itself. I need help with this ASAP. Thanks. J. Alden Gillespy (DJ Rage) Broadcasting on Test Patter

Re: [PHP] Re: if syntax

2002-07-12 Thread Chris Earle
> > >PHP will tell you you have a syntax error on the very last > > line of your > > >file, and you have no option but to go back and laboriously > > hand match all > > >of your braces -- and with each ellipsis representing maybe > > tens (or even > > >hundreds!) > > > > Don't be ridiculous. Any

[PHP] Re: Moving the pointer in a file...

2002-07-12 Thread Kondwani Spike Mkandawire
Figured it out: I just rewrote the first 3 lines with a few new Line Characters and place respat the Line I wanted Changed with its Variable... fputs($file, " wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am trying to read and write to a file on Line 5 and line 5 alone... > $

Re: [PHP] Linux Newsgroup... ('continue');

2002-07-12 Thread Scott Fletcher
Alright! I'll give it my best shot! "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Fri, 12 Jul 2002, Scott Fletcher wrote: > > Miguel Cruz <[EMAIL PROTECTED]> wrote in: > >> On Thu, 11 Jul 2002, Scott Fletcher wrote: > >>> Are you sure these

Re: [PHP] PHP and ORACLE

2002-07-12 Thread Miguel Cruz
On Fri, 12 Jul 2002, Alberto Serra wrote: > Ricardo Fitzgerald wrote: >> I started with PHP and MYSQL a while ago and now I've been involved in >> a huge database project with ORACLE. > > Have the Oracle box do most of it. Make sure that: > 1) there is a well defined API for external applicatio

[PHP] PHP/cron fetching and processing email from a POP3 account

2002-07-12 Thread D. Reid Wilson
I would like to write a PHP script that fetchs email from a POP3 account and then processes it based on the content of the email, such as writing it to a CRM database or confirming an ezine subscription. I would then run the PHP script via a cron job every ten minutes or so. I've looked at the P

Re: [PHP] Re: if syntax

2002-07-12 Thread Chris Earle
"Mike Ford" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > -Original Message- > > From: Chris Earle [mailto:[EMAIL PROTECTED]] > > Sent: 11 July 2002 18:28 > > To: [EMAIL PROTECTED] > > Subject: Re: [PHP] Re: if syntax > > > > > > > when it would be

Re: [PHP] Re: PHP and geographic maps

2002-07-12 Thread Miguel Cruz
On Thu, 11 Jul 2002, Richard Lynch wrote: > NOTE: End-user GPS units are "off" by like 30 meters (?) on purpose so Joe > Blow can't tell the "enemy" how to find the White House and blow it up. > Sigh. You're never gonna beat that error margin without a *LOT* of repeated > readings over a long p

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread Anil Garg
thanx, its working perfect now anil :) - Original Message - From: "1LT John W. Holmes" <[EMAIL PROTECTED]> To: "Anil Garg" <[EMAIL PROTECTED]>; "Martin Clifford" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 12, 2002 12:46 PM Subject: Re: [PHP] ' giving problem while insertin

Re: [PHP] Linux Newsgroup... ('continue');

2002-07-12 Thread Miguel Cruz
On Fri, 12 Jul 2002, Scott Fletcher wrote: > Miguel Cruz <[EMAIL PROTECTED]> wrote in: >> On Thu, 11 Jul 2002, Scott Fletcher wrote: >>> Are you sure these newsgroup work? I tried subscribing to it and got a >>> response saying newsgroup server could not be found. I didn't have that >>> problem

RE: [PHP] Re: gd ->1:image resolution 2:font quality

2002-07-12 Thread Andrew Chase
The GIMP is free (as in speech), and I've found it to work quite well on windows: http://www.gimp.org/ The GIMP for Windows page: http://www.gimp.org/~tml/gimp/win32/ -Andy > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]> > My idea to solve the problem: > 1:Pic

RE: [PHP] PHP meetup

2002-07-12 Thread Martin Clifford
I just signed up for this, as I would LOVE to be able to talk and interact (in person) with some PHP Developers. As I'm still learning (as we all are), it would be a great opportunity for me to be able to meet up and discuss this wonderful language with my peers. Hopefully that'll come to pas

  1   2   >