Re: [PHP] What did I do wrong to cause a parse error?

2003-07-10 Thread Phil Powell
Thanx I got it to work, however, I have no idea why it works now considering I did nothing different: $singleProfileHTML .= "\n"; Beats the heck out of me! Phil - Original Message - From: "David Otton" <[EMAIL PROTECTED]> To: "Phil Powell" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent

Re: [PHP] Variable Functions...

2003-07-10 Thread Burhan Khalid
On Friday, July 11, 2003, 3:11:51 AM, Michael wrote: MS> Smarty has a class method where it calls: $this->$some_var("somevalue"); Are you sure about that syntax? I'm not too familiar with Smarty, only used it once, but I think its $this->some_var("value"); MS> and this throws errors on Windows

Re: [PHP] regexp problem

2003-07-10 Thread Burhan Khalid
On Thursday, July 10, 2003, 9:25:31 PM, Taylor wrote: TY> First, TY> I need the code to replace the link in a string, like TY> with TY> ereg_replace("''", "''", TY> $old); TY> That was the closest i got, but (.*) makes it take the first BASE HREF, and the last ">>, which sucks. TY> Can anyone

Re: [PHP] What did I do wrong to cause a parse error?

2003-07-10 Thread David Otton
On Fri, 11 Jul 2003 00:53:32 -0400, you wrote: >foreach ($profileArray[$i][attributes] as $key => $val) { > $singleProfileHTML .= $key . "=\"" . str_replace("'", ''', str_replace('"', > '"', $val)) . "\"\n"; >} > >The parsing error occurs in the "$singleProfileHTML.." line. I'm completel

Re: [PHP] What did I do wrong to cause a parse error?

2003-07-10 Thread Lars Torben Wilson
Hi there, On Thu, 2003-07-10 at 21:53, Phil Powell wrote: > foreach ($profileArray[$i][attributes] as $key => $val) { ^^ You should quote the word 'attributes': http://www.php.net/manual/en/language.types.array.php#language.types.array.donts Sorry...that link

Re: [PHP] How to hide url on a php link NOT post...

2003-07-10 Thread Jeff Harris
On Jul 10, 2003, "Joey" claimed that: |How can I hide this link so value can't be changed? |I don't want to change anything at the server level, and its not from a |form so I cant do a post -vs- a get. | |http://www.abcd.com/popup_SearchRepSet.php?searchby=cust_no&search=1&value=WOR032 | |Thanks !

[PHP] Re: pdf file error?

2003-07-10 Thread Micah Montoy
Never mind. I found the error. thanks "Micah Montoy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I did my research. We'll, searched the net anyway without a solution. I am > getting the error: > > Fatal error: PDFlib error: function 'PDF_set_info' must not be called in > 'obj

RE: [PHP] dump $_POST into variables????

2003-07-10 Thread Joe Harman
Ah... Jason Man Of Few Words! THANKs... You have saved me time and lines in my code :-) Cheers! Joe -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 1:13 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] dump $_POST into variables On Friday 11

Re: [PHP] dump $_POST into variables????

2003-07-10 Thread Jason Wong
On Friday 11 July 2003 13:01, Joe Harman wrote: > Okay, curious if there is an easier way to do this... here is what I do > > $ZipCode = $_POST['zip']; > $Distance = $_POST['distance']; > ?> > > can't I just dump these into an array and and assign it to a variable... > maybe that doesn't make se

[PHP] just wondering

2003-07-10 Thread Artoo
Just wondering if there's a clear screen function in PHP like the clrscr() in 'C'. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] dump $_POST into variables????

2003-07-10 Thread Joe Harman
Okay, curious if there is an easier way to do this... here is what I do can't I just dump these into an array and and assign it to a variable... maybe that doesn't make sense... basically I just want to have one command that retrives all the "POST" variables... then list my variables ie $ZipCo

[PHP] What did I do wrong to cause a parse error?

2003-07-10 Thread Phil Powell
foreach ($profileArray[$i][attributes] as $key => $val) { $singleProfileHTML .= $key . "=\"" . str_replace("'", ''', str_replace('"', '"', $val)) . "\"\n"; } The parsing error occurs in the "$singleProfileHTML.." line. I'm completely don't get it; I see absolutely nothing wrong with th

Re: [PHP] Excel Parser

2003-07-10 Thread Tom Rogers
Hi, Friday, July 11, 2003, 4:27:13 AM, you wrote: JM> Hi all, JM> Does anyone know of any free Excel parsing non-COM code available on the JM> net? Just straight php driven? JM> I've found a couple commercial solutions but would like to try this myself JM> or save money. Thanks for any help. JM>

[PHP] pdf file error?

2003-07-10 Thread Micah Montoy
I did my research. We'll, searched the net anyway without a solution. I am getting the error: Fatal error: PDFlib error: function 'PDF_set_info' must not be called in 'object' scope in c:\inetpub\wwwroot\webpage10\example\utilities\pdf_maker\act_p_makePDF.php on line 4 I read that this is becau

Re[2]: [PHP] /etc/passwd

2003-07-10 Thread Mantas Kriauciunas
Hello Wendell, Thursday, July 10, 2003, 6:59:25 AM, you wrote: >>> So how to make sure that no one can access other people files and >>> server files? and is there any way that nobody would be able to >>> download php files or how to make them look like code when they are >>> downloaded. Than

RE: [PHP] Blatant newbie question - killing a session

2003-07-10 Thread Bruce Bruen
Thanks, That did the trick. Nicely encapsualable too, so I can easily remove it. Regards Bruce -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Thursday, 10 July 2003 8:23 PM To: Bruce Bruen Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Blatant newbie question - kill

Re[5]: [PHP] Object assignment

2003-07-10 Thread Tom Rogers
Hi, Did some more tweaking and if we create a new element for each node ther is no need to clone, saves a few lines of code :) function parseBranch($branch, &$doc, &$parent) { foreach ($branch as $key => $val) { switch ($key) { // parent attribute

Re: [PHP] Need hep with mysql function

2003-07-10 Thread Robert Cummings
This has been discussed a lot on many of the PHP forums in the past few weeks. Mysql is not longer bundled with PHP. You need to use the configuration option and set the location of your mysql base directory. Cheers, Rob. On Thu, 2003-07-10 at 21:30, zlut arch wrote: > Hi, > > I encountered a pr

[PHP] Need hep with mysql function

2003-07-10 Thread zlut arch
Hi, I encountered a problem that I have never seen in my 3 years of using php and mysql. Yesterday, I installed MySql, php5, and apache2 on my new laptop. php5 worked fine with apache2, and MySql was working fine on its own. But when I tried to connect to MySql database, I get a strange error m

RE: [PHP] Storing HTML string in database

2003-07-10 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I had forgotten about that, thanks alot - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices? www.modevia.com Web Dev/Design Community/Zine www.developercube.com - -Original Message- Fr

Re[4]: [PHP] Object assignment

2003-07-10 Thread Tom Rogers
Hi, Friday, July 11, 2003, 4:30:41 AM, you wrote: MG> Well I've made a signifigant improvement to this function, and it's now the MG> parsing operation is only something like 26 lines. It works flawlessly (so MG> far) for XML that does not have repeat element names on the same level. MG> Which se

RE: [PHP] download php

2003-07-10 Thread Ow Mun Heng
I'm not sure about FreeBSD but on Redhat, the /etc/passwd 'IS' meant to be world readable. But fortunately it's only stores usernames and Real names and etc.. whereas /etc/shadow is only root readable and it's the file that stores user's passwords. I think that's pretty secure. Why are you parsin

Re: [PHP] Storing HTML string in database

2003-07-10 Thread Jacob C
Have a look at: http://www.php.net/addslashes Quoting Aaron Axelsen <[EMAIL PROTECTED]>: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I have a php script set up for a user to upload a word document, > which is then coverted to html form, which I would then lke to store > in a dat

[PHP] RE: Blatant newbie question - killing a session

2003-07-10 Thread Ow Mun Heng
session_destroy()?? Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -Original Message- From: Bruce Bruen [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 2:48 PM To: [EMAIL PROTECTED] Subject: Blatant newbie question - killing a session Hi, this is

[PHP] Storing HTML string in database

2003-07-10 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a php script set up for a user to upload a word document, which is then coverted to html form, which I would then lke to store in a database. Howver, when I run the following command: INSERT into sermons (data) VALUE ('$output'); It failes

[PHP] Storing SQL Queries for Reuse in Apps

2003-07-10 Thread Jacob C
Hello All, I just want to survey the list and see what kind of solutions people are using for the storage and reuse of SQL queries. Right now I am working on an application that has native SQL queries as well as custom queries that can be added by developers as they build on the framework. In

[PHP] Re: How to hide url on a php link NOT post...

2003-07-10 Thread Shena Delian O'Brien
http://www.tinyurl.com Joey wrote: How can I hide this link so value can't be changed? I don't want to change anything at the server level, and its not from a form so I cant do a post -vs- a get. http://www.abcd.com/popup_SearchRepSet.php?searchby=cust_no&search=1&value=WOR032 Thanks ! -- P

[PHP] Variable Functions...

2003-07-10 Thread Michael Smith
Smarty has a class method where it calls: $this->$some_var("somevalue"); and this throws errors on Windows versions of php that i've tried. why is that? -Michael -- Pratt Museum IT Intern All programmers are playwrights and all computers are lousy actors. -- PHP General Mailing List (http://www

[PHP] How to hide url on a php link NOT post...

2003-07-10 Thread Joey
How can I hide this link so value can't be changed? I don't want to change anything at the server level, and its not from a form so I cant do a post -vs- a get. http://www.abcd.com/popup_SearchRepSet.php?searchby=cust_no&search=1&value=WOR032 Thanks ! -- PHP General Mailing List (http://www.php

[PHP] Re: Using DOMXML with homogenous elements

2003-07-10 Thread Matt Grimm
I failed to show the output XML in my last message. It's outputting like so: [xml] Value1Value2 [/xml] -- Matt Grimm "Matt Grimm" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have a final kink to work out of an array to XML parser I've been writing. > The array structu

RE: [PHP] nlist

2003-07-10 Thread Johnny Martinez
This is it. Thanks guys! J -Original Message- From: Robert C. [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 4:24 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] nlist http://www.php.net/readdir Original Message From: [EMAIL PROTECTED] To: [EMAIL PROTECTED], Subject: RE

Re: [PHP] nlist

2003-07-10 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Fri, 11 Jul 2003 at 00:17, lines prefixed by '>' were originally written by you. > Is there a local filesystem-based function comparable to the ftp-based > 'nlist' that lists files in a directory? > Johnny In PHP 5 you can use scandir() http:

RE: [PHP] nlist

2003-07-10 Thread Robert C.
http://www.php.net/readdir Original Message From: [EMAIL PROTECTED] To: [EMAIL PROTECTED], Subject: RE: [PHP] nlist Date: Thu, 10 Jul 2003 16:17:30 -0700 >Hi all, >Is there a local filesystem-based function comparable to the >ftp-based >'nlist' that lists files in a directory? > >John

[PHP] nlist

2003-07-10 Thread Johnny Martinez
Hi all, Is there a local filesystem-based function comparable to the ftp-based 'nlist' that lists files in a directory? Johnny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using DOMXML with homogenous elements

2003-07-10 Thread Matt Grimm
I have a final kink to work out of an array to XML parser I've been writing. The array structure is below, along with the example XML it came from. A link to the source I'm working on is at bottom. The only problem this script runs into is when there are multiple elements with the same name on th

[PHP] tcp sockets

2003-07-10 Thread Robert C.
I have a java server running to handle xml requests and send back a response to the sender. It runs on one port for tcp and another for udp. I got the udp version working fine, but I am having problems with the tcp version. Watching the debug output on the java server, I can see that it is receivin

RE: [PHP] (REAL TUFFY ) Lat/Long Map Image Manipulation

2003-07-10 Thread Joe Harman
Hey thanks... They are pretty much trying to do what I am working... I will try to interact a little with them... Have a great one! Joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 10:35 AM To: Joe Harman Cc: [EMAIL PROTECTED] Subject

Re: [PHP] (REAL TUFFY ) Lat/Long Map Image Manipulation

2003-07-10 Thread ruusvuu
Give this a looksee http://forums.devshed.com/archive/5/2003/01/3/49795 Quoting Joe Harman <[EMAIL PROTECTED]>: > Okay this is a tuffy! I am really just looking for someone to point me > in the right direction, or tutorials or something! maybe ideas > > 1st - I have created a Lat and Long dist

Re: [PHP] download hyperlink

2003-07-10 Thread Mike Migurski
>Does anyone know how I can set a hyperlink to a file so that someone can >download the file instead of viewing it in the browser? Please let me >know. Thanks. You want the Content-Disposition header, see the HTTP spec. - micha

[PHP] download hyperlink

2003-07-10 Thread Matt Palermo
Does anyone know how I can set a hyperlink to a file so that someone can download the file instead of viewing it in the browser? Please let me know. Thanks. Matt

Re: [PHP] Removing array element by key

2003-07-10 Thread Jason Wong
On Friday 11 July 2003 04:50, jwulff wrote: > How do i remove an element of an array by its key? I've tried > array_s(p)lice to no avail. Either it chops too much or too little with > seemingly no logic. The array is of unkown and variable size if that makes > a difference. Thanks, John. unset

[PHP] Removing array element by key

2003-07-10 Thread jwulff
How do i remove an element of an array by its key? I've tried array_s(p)lice to no avail. Either it chops too much or too little with seemingly no logic. The array is of unkown and variable size if that makes a difference. Thanks, John. -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Open new browser window

2003-07-10 Thread Mark
--- Karina S <[EMAIL PROTECTED]> wrote: > Hello, > > I want to make a php application, which displays different text in > separate > windows. I mean for example a new window will open with text "Hello > 1" and a > second window opens with text "Hello 2". > > How is it possible with php? > It's

[PHP] Open new browser window

2003-07-10 Thread Karina S
Hello, I want to make a php application, which displays different text in separate windows. I mean for example a new window will open with text "Hello 1" and a second window opens with text "Hello 2". How is it possible with php? Thanks! -- PHP General Mailing List (http://www.php.net/) To u

RE: [PHP] OnClick problem (fwd)

2003-07-10 Thread andu
I may be wrong but to me the behavior is correct: calling a php script with echo $_SERVER['PHP_SELF']; should return the name of that script. -- Forwarded Message -- Date: Thursday, July 10, 2003 16:16:24 -0400 From: Dan Joseph <[EMAIL PROTECTED]> To: andu <[EMAIL PROTECTED]>, Dan

Re: [PHP] Password + login from the AND Basic-Authenticate form

2003-07-10 Thread Philip Olson
On Thu, 10 Jul 2003, Seigo wrote: > Please tell me can users login with the html-page form and > Basic-authentication? Chapter 16. HTTP authentication with PHP http://www.php.net/features.http-auth Regards, Philip -- PHP General Mailing List (htt

Re: [PHP] HELP can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Jason Wong
On Friday 11 July 2003 02:28, Mark Clarkstone wrote: > - Original Message - > From: "Burhan Khalid" <[EMAIL PROTECTED]> > To: "Mark Clarkstone" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Thursday, July 10, 2003 7:26 PM > Subject: Re: [PHP] HELP can someo

[PHP] wqeqw

2003-07-10 Thread Seigo
wqewqe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Test

2003-07-10 Thread Seigo
Testing ,,, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] wqe

2003-07-10 Thread Seigo
wqeqwe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Password + login from the AND Basic-Authenticate form

2003-07-10 Thread Seigo
Please tell me can users login with the html-page form and Basic-authentication? I so, how? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] test

2003-07-10 Thread Seigo
testing .. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] function is_executable

2003-07-10 Thread Mark
>From the manual: "is_executable() became available with Windows in PHP version 5.0.0." Not sure what the problem might be if you're using linux. --- "Gilberto Garcia Jr." <[EMAIL PROTECTED]> wrote: > Hey guys, > > I made a class to work with file upload. > > I used the php function is_executab

Re: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-10 Thread Brad Pauly
Steve Jackson wrote: I don't particularly need to *write* to the root directory. I do need to move the file to the root directory though as it's part of a CMS system. I can write the file to a directory which is adequately protected, but there has to be a way to move the file after it is written (t

RE: [PHP] OnClick problem

2003-07-10 Thread Dan Joseph
Hi, > > Are you using the variable $_SERVER['PHP_SELF'] for your > link target? > > I'm not, I'm a total newbie and don't quite understand, you mean > instead of > href="#" use href=$_SERVER['PHP_SELF']? > Please bare with me and explain. Yeah, it would be: If t

RE: [PHP] Please assist - been on this for hours - Permissions on server

2003-07-10 Thread Steve Jackson
> The root of the problem (pun intended) Oh dear! ;o) > is that you're trying to > write to the > root (/) directory which is usually only possible if you're the root user. > > Again, the question is _why_ do you need to write to the root directory? > Wouldn't your file function if it wasn't

Re: [PHP] What's this talk about ASP to PHP?

2003-07-10 Thread Philip Olson
On 10 Jul 2003, Jonathan Villa wrote: > I've read somewhere about some asptophp convertor/tool/methodology...?? > Don't know what it is, that's why I'm asking. > > I've been asked to help out on a project which might include some > already developed basic ASP code. I would rather do it in PHP.

RE: [PHP] OnClick problem

2003-07-10 Thread Dan Joseph
Hi, > Here's something I cant explain: > I have a page with a form on it (checkboxes) and a hyperlink which is > supposed to send the form to the server using: > > Trouble is that the link always points to the name of the > previous page I > came from. All pages are php generated on-the-fly.

[PHP] OnClick problem

2003-07-10 Thread andu
Here's something I cant explain: I have a page with a form on it (checkboxes) and a hyperlink which is supposed to send the form to the server using: Trouble is that the link always points to the name of the previous page I came from. All pages are php generated on-the-fly. Is this a php problem

[PHP] What's this talk about ASP to PHP?

2003-07-10 Thread Jonathan Villa
I've read somewhere about some asptophp convertor/tool/methodology...?? Don't know what it is, that's why I'm asking. I've been asked to help out on a project which might include some already developed basic ASP code. I would rather do it in PHP. -- PHP General Mailing List (http://www.php.ne

RE: [PHP] Re: Excel Parser

2003-07-10 Thread Johnny Martinez
I've got a user that gets an Excel spreadsheet generated by a web app and I want to be able to import the data from the xls into our local database then work with it. -Original Message- From: Mark McCulligh [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 11:32 AM To: [EMAIL PROTECT

[PHP] Re: Excel Parser

2003-07-10 Thread Mark McCulligh
There is a PEAR package called Spreadsheet_Excel_Writer, that is non-COM. It works great, only one problem. The max string length is 255 characters. For it you are not export any fields greater then 255 it works great. There is also an other excel class on www.phpclasses.org. Called php2excel I t

Re: [PHP] Excel Parser

2003-07-10 Thread Matt Matijevich
Does anyone know of any free Excel parsing non-COM code available on the net? Just straight php driven? I have not tried any of these but there might be something in here you can use. http://www.phpclasses.org/search.html?words=Excel&go_search=1 -- PHP General Mailing List (http://www.php.ne

[PHP] Re: Continuing with HELP can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Shena Delian O'Brien
Mark Clarkstone wrote: yes Well since that's what you said happens, isn't that where you should look for the problem? My guess is that install isn't changing to 1. I would change your line to: if ( ($install == "0") && (!$check) ) { instead of just: if ($install=="0") { "Shena Delian O'Br

Re: [PHP] HELP can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Mark Clarkstone
Oh well I am sorry your royal majesty - Original Message - From: "Burhan Khalid" <[EMAIL PROTECTED]> To: "Mark Clarkstone" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, July 10, 2003 7:26 PM Subject: Re: [PHP] HELP can someone tell me whats wrong her

Re: Re[2]: [PHP] Object assignment

2003-07-10 Thread Matt Grimm
Well I've made a signifigant improvement to this function, and it's now the parsing operation is only something like 26 lines. It works flawlessly (so far) for XML that does not have repeat element names on the same level. Which seems to be bad form anyway, using similar element names and distingu

[PHP] Excel Parser

2003-07-10 Thread Johnny Martinez
Hi all, Does anyone know of any free Excel parsing non-COM code available on the net? Just straight php driven? I've found a couple commercial solutions but would like to try this myself or save money. Thanks for any help. Johnny -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: Continuing with HELP can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Mark Clarkstone
yes "Shena Delian O'Brien" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well you realize don't you that unless, on submit, install changes to 1, > whenever you submit your form it's going to go right back to the initial > page. > > Mark Clarkstone wrote: > > Its in cpconf.php > >

Re: [PHP] HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Burhan Khalid
Please use more intelligent and descriptive subjects for your posts. This HELP!!! nonsense is stupid. -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] regexp problem

2003-07-10 Thread Taylor York
First, I need the code to replace the link in a string, like with ereg_replace("''", "''", $old); That was the closest i got, but (.*) makes it take the first BASE HREF, and the last ">, which sucks. Can anyone help? Second, I hate asking for help on Regexps...I would like a tutorial online t

Re[2]: [PHP] Using PPP with PHP

2003-07-10 Thread Burhan Khalid
On Thursday, July 10, 2003, 8:41:03 PM, Jay wrote: JB> [snip] JB> Umm, use exec() to call the dialing program? JB> [/snip] JB> That works on the surface, but the PPP program returns some vital JB> information about its connection status that is required for use by any JB> subsequent file operatio

Re: [PHP] mssql.dll

2003-07-10 Thread Burhan Khalid
On Thursday, July 10, 2003, 3:03:43 PM, Alain wrote: AR> Where is mssql.dll (not include in packages 4.1.2 / 4.2.3 / 4.3.2 ? Don't send your messages high priority. Its considered rude and bad list manners. mssql.dll comes with the MSSQL product. Its not part of the package. -- Regards, Burha

[PHP] Running PHP4 and PHP5 together

2003-07-10 Thread Adam Plocher
Is there anyway I can use PHP4 and PHP5 (as modules, not cgi) together in Apache2 (Linux)? I've tried the --enable-versioning configure option with php, but I'm not quite sure what that does. I need PHP4 because Gallery apparently won't work with PHP5. If it's possible to load either php4 or ph

RE: [PHP] Using PPP with PHP

2003-07-10 Thread Mike Migurski
>[snip] >Umm, use exec() to call the dialing program? >[/snip] > >That works on the surface, but the PPP program returns some vital >information about its connection status that is required for use by any >subsequent file operations. The information is returned via STDOUT. so try system() instead.

Re: [PHP] download php

2003-07-10 Thread Daniel J. Rychlik
You should also store passwords in a non-readable to the world directory. -Dan - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Mantas Kriauciunas" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 10, 2003 5:01 AM Subject: Re: [PHP] download php >

RE: [PHP] Using PPP with PHP

2003-07-10 Thread Jay Blanchard
[snip] Umm, use exec() to call the dialing program? [/snip] That works on the surface, but the PPP program returns some vital information about its connection status that is required for use by any subsequent file operations. The information is returned via STDOUT. Thanks! Jay -- PHP General Ma

[PHP] PHP hosting with remote MySQL access allowed

2003-07-10 Thread Joshua Minnie
I am in the process of developing a client side application that needs to speak to our remote databases. Does anybody know of a hosting solution that would allow me to have remote access to a MySQL database? I done some googling and found a quite a few hosting companies, but none of them that I h

Re: [PHP] Using PPP with PHP

2003-07-10 Thread Adam Voigt
Umm, use exec() to call the dialing program? On Thu, 2003-07-10 at 13:22, Jay Blanchard wrote: > Good afternoon gurus and gurettes! > > Has any of you had any experience using PPP (Point-to-Point Protocol) > with PHP? I need to work with it to establish a connection to a remote > server on a re

[PHP] Using PPP with PHP

2003-07-10 Thread Jay Blanchard
Good afternoon gurus and gurettes! Has any of you had any experience using PPP (Point-to-Point Protocol) with PHP? I need to work with it to establish a connection to a remote server on a remote network and was hoping that I could use PHP. Currently I can manually establish I dial-up using PPP ove

[PHP] Re: Continuing with HELP can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Shena Delian O'Brien
Well you realize don't you that unless, on submit, install changes to 1, whenever you submit your form it's going to go right back to the initial page. Mark Clarkstone wrote: Its in cpconf.php ?> "Shena Delian O'Brien" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Where are yo

[PHP] Re: Continuing with HELP can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Mark Clarkstone
Its in cpconf.php "Shena Delian O'Brien" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Where are you passing the variable "install"? I can't see it in your > form. Perhaps look for $check instead of $install? > > Mark Clarkstone wrote: > > now the script works but won't write t

Re: [PHP] HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Ray
> else if ($userlogin && $userpass == $admin && $adpw) { this line probably isn't going to do what your thinking it will. you probably want either else if ($userlogin == $admin && $userpass == $adpw) { or else if (strcasecmp($userlogin,$admin) == 0 && strcasecmp($userpass,$adpw) ==

[PHP] Re: Continuing with HELP can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Shena Delian O'Brien
Where are you passing the variable "install"? I can't see it in your form. Perhaps look for $check instead of $install? Mark Clarkstone wrote: now the script works but won't write to the file just returns to the form. Control Panel if ($install=="0") { print "Welcome to The Control Panel Ins

[PHP] Continuing with HELP can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Mark Clarkstone
now the script works but won't write to the file just returns to the form. Control Panel Welcome to The Control Panel Installer This will install the control Panel Please enter your site domain e.g. freesite.cjb.com (without a www or a dot please) leave as localhost if you are using it a

[PHP] Re: HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Mark Clarkstone
OMG Your Right no wonder it didn't work lol "Shena Delian O'Brien" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well for one thing, you've misspelled one of your variables... > > the if ($instal=="0") should be, if I'm not incorrect, > if ($install=="0") > > Mark Clarkstone wrote

Re: Re[2]: [PHP] Object assignment

2003-07-10 Thread Matt Grimm
Interesting -- the clone_node() function does make certain that each element gets its own representation in the output, for any XML I tested. I guess then my problem lies with how I'm looping through the aforementioned array structure to get the values themselves. Thanks, -- Matt Grimm Web Develo

Re: Re[2]: [PHP] Object assignment

2003-07-10 Thread Matt Grimm
The array structure is the one suggested on the xml_parse_into_struct page user comments. Our example XML would parse into this: Array ( [ROOTELEMENT] => Array ( [0] => Array ( [ATTRIBUTES] => Array (

[PHP] Re: HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! can someone tell me whats wronghere? (newbie)

2003-07-10 Thread Shena Delian O'Brien
Well for one thing, you've misspelled one of your variables... the if ($instal=="0") should be, if I'm not incorrect, if ($install=="0") Mark Clarkstone wrote: Can anyone help me with this code I just get someting about $end & help me fix it Thanks Parse error: parse error, unexpected $end in

Re: [PHP] CHECKING IF A SESSION IS ACTIVE OR NOT

2003-07-10 Thread John Hicks
There is no reliable way for the server (Apache, PHP, etc) to know when a user closes a session by closing his browser window. That's one reason why session-management sytems always employ a timeout on sessions. I don't know what the default timeout is for the PHP session-management system, bu

Re: [PHP] SQL select

2003-07-10 Thread Adam Voigt
Hmm. How about: SELECT DISTINCT id_k, name FROM tablename WHERE typ != 'z' ORDER BY typ ASC; Does that work? On Thu, 2003-07-10 at 11:29, Mark wrote: > > Jiøí Nìmec wrote: > > > > > hello, > > > > > > i have got a problem with SQL select: > > > > > > I have got a table such this: > > > > > >

RE: [PHP] HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Roedel, Mark
You're missing at least one closing brace (}) -- the one that belongs with the else if ($login=="check") { ten or so lines up from the bottom. --- Mark Roedel | "Blessed is he who has learned to laugh Systems Programmer| at himself, for he shall never cease LeTourneau Uni

[PHP] HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Mark Clarkstone
Can anyone help me with this code I just get someting about $end & help me fix it Thanks Parse error: parse error, unexpected $end in C:/apache/htdocs/test.php on line 73 Control Panel Welcome to The Control Panel Installer This will install the control Panel Please enter your site d

Re: [PHP] SQL select

2003-07-10 Thread Mark
> Jiøí Nìmec wrote: > > > hello, > > > > i have got a problem with SQL select: > > > > I have got a table such this: > > > > id_k typ name id > > 1 f bla1 1 > > 2 f bla2 1 > > 2 i bla3 1 > > 3 z bla4 1 > > 3 f bla5 1 > > 4 i bla6 1 > > 4 z bla7 1

[PHP] Upgrading 4.2.2 to 4.3.2

2003-07-10 Thread Dave [Hawk-Systems]
Live server was previously a 4.0.4 install that we upgraded to 4.2.2 Am getting ready to upgrade it again to 4.3.2 and wish to verify some things. 1) any caveats to be aware of? 2) it appears from reading INSTALL that a seperate build isn't required if we want to run both dynamic and static, just

Re: [PHP] problem with php-4.3.2 and gblib 2 on apache server

2003-07-10 Thread info
Yes, that was the problem. I found out earlier today. Thanks. - Original Message - From: Jason Wong <[EMAIL PROTECTED]> Newsgroups: php.general To: <[EMAIL PROTECTED]> Sent: Thursday, July 10, 2003 8:31 AM Subject: Re: [PHP] problem with php-4.3.2 and gblib 2 on apache server > On Thu

Re: [PHP] Re: mail() - how to attach file to the message???

2003-07-10 Thread Mark
You had an tag in your email, so I assumed you were trying to upload the file. If the file is not already on the server, you *will* have to upload it before emailing it. But that's a whole other matter. If you look at the classes and see how they attach a file, you should be able to figure it out

Re: [PHP] isset function problem

2003-07-10 Thread Jason Wong
On Thursday 10 July 2003 21:53, Denis L. Menezes wrote: > I have the following code : > > Quote: > > if (isset($SenderEmailAddress)){ > mail($mailTo, $mailSubject, $Message); > } > > Unquote > > All I want to do is that , if the $SenderEmailAddress is not entered, the > mail() function shou

Re: [PHP] Please assist - been on this for hours - Permissions on server

2003-07-10 Thread Jason Wong
On Thursday 10 July 2003 21:04, Steve Jackson wrote: > > But _why_ do you need to write to the root directory? Why not > > just write to a directory where you *do* have permission to write to? > > I can already do that. > My problem is that I need to move or copy/delete the file from the place > I

[PHP] Re: newbie array question

2003-07-10 Thread Harry Wiens
try this: $query = "select name from names (where age <'23'')"; $numero= sybase_connect("database" , "user" , "password" ) or die ("Unable to connect to database server"); $result=sybase_query($query,$numero ); while($temp=sybase_fetch_array($result)){ $names[] = $temp[name]; } mfg. harry wie

Re: [PHP] newbie array question

2003-07-10 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Thu, 10 Jul 2003 at 15:30, lines prefixed by '>' were originally written by you. > If i have a valid sql query that returns three the records > 'john','jack' and 'mary' and i want to put that into an array where > array[0]->john,array[1]->jack

  1   2   >