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

2003-07-10 Thread Jason Wong
On Thursday 10 July 2003 09:41, Tim Grote wrote: I updated my linux apache server to php-4.3.2. It works fine but the promised 'embedded' gdlib 2 doesnt seem to work. gd_info always ends in 'call to undefined function'. Can anybody tell me what's wrong or how to get gdlib 2 working? Was php

[PHP] Blatant newbie question - killing a session

2003-07-10 Thread Bruce Bruen
Hi, this is my first question to the list and ... Yes I'm a newbie, verrry wet behind the ears. I am trying to set up a secured site under IIS. I have done pretty well by my standard to get to where I have. Authoursed users can access the site, unauthorised ones get sent elsewhere. So, I am

[PHP] saving BMP image

2003-07-10 Thread jan
Hi! I'd like to ask if there is any function for saving image into (windows) BMP format (not wbmp - which is wireless BMP). e.g. imagejpg() will save jpg file Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] suexec

2003-07-10 Thread Fejes Jozsef
Hi! Is there a way to use suexec with a non-cgi version of php? Or is there any other way to do the same job as suexec would do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: shoutcast communication

2003-07-10 Thread Simon Fredriksson
Hello! I have a PHP class here that can fetch that information for you from the XML sheet provided by the server. I'll send it to you if you want, I forgot where I downloaded it (you could check www.hotscripts.com though). //Simon Ben Paul wrote: Hello, I am currently streaming via shoutcast

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

2003-07-10 Thread szparag
no. i`m not trying to upload file on server. i want to send e-mail with attachments but if it's possible without using classes. i thought that file should be first uploaded and then send with e-mail as attachment, maybe uploading isn't correct... i don't know how to do it. szparag -- PHP

[PHP] SQL select

2003-07-10 Thread Ji Nmec
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 5 z bla8 1 and id = 1 and I need select these rows: id_k typ nazev

[PHP] download php

2003-07-10 Thread Mantas Kriauciunas
Hello php-general, some hacker just tries his luck everyday to get me pissed, is it possible to make php files not downloadable? or coded? or something? because some dude knows my passwords every time, and with them passes the shity security to main user, thank god not root. So is

[PHP] /etc/passwd

2003-07-10 Thread Mantas Kriauciunas
Hello php-general, my server is running freebsd 5.0 and yet i havent fixed bug that i knew long time ago, so can anyone point me with some links or resources about it, i could not find any good on google, maybe i don't know how to search. The problem is if the make script ? if($id)

Re: [PHP] mcrypt warning

2003-07-10 Thread Tom Rogers
Hi, Thursday, July 10, 2003, 12:41:28 AM, you wrote: DJ Hi All, DJ I have the following function: DJ function encrypt ($x) { DJ $ini = parse_ini_file ($GLOBALS['INI_PATH']); DJ $td = mcrypt_module_open ('tripledes', '', 'ecb',

Re: [PHP] (pas d'objet)

2003-07-10 Thread RIVES Sergio SOFRECOM
Hi everyone, I would like to thank all the people that have answered my question and all the others that didn't have the time to answer it. As I have seen, the opinions on this point are quite different and the answer is not as evident as the technical director affirmed to me. Thank you. Sergio

Re: [PHP] SQL select

2003-07-10 Thread Marek Kilimajer
I did not understand you much but would not this work? SELECT * FROM table WHERE typ='f' OR typ='i' Ji Nmec 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

Re: [PHP] download php

2003-07-10 Thread Marek Kilimajer
Do you use secure connection? Well, you should. Mantas Kriauciunas wrote: Hello php-general, some hacker just tries his luck everyday to get me pissed, is it possible to make php files not downloadable? or coded? or something? because some dude knows my passwords every time, and with them

[PHP] Re: SQL select

2003-07-10 Thread sven
hi, JiøîÆèî eË 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 5 z bla8 1 and id = 1 and I need

Re: [PHP] /etc/passwd

2003-07-10 Thread Marek Kilimajer
Mantas Kriauciunas wrote: The problem is if the make script ? if($id) include($id); ? and then just write test.php?id=/etc/passwd , they see all the file. Check if $id is valid. Exact way depends on the structure of the files. Example 1: All included files are in web root and are named

Re: [PHP] suexec

2003-07-10 Thread Marek Kilimajer
Sure there is, the same way as in the cgi version. Safe mode must be off. Fejes Jozsef wrote: Hi! Is there a way to use suexec with a non-cgi version of php? Or is there any other way to do the same job as suexec would do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

php-general Digest 10 Jul 2003 10:18:09 -0000 Issue 2167

2003-07-10 Thread php-general-digest-help
php-general Digest 10 Jul 2003 10:18:09 - Issue 2167 Topics (messages 154646 through 154697): Windows 2k, Apache, MySQL, PHP 4.3.2, Smarty 154646 by: Michael Smith Returning values from functions 154647 by: Jason Giangrande 154648 by: David Nicholson 154649

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

2003-07-10 Thread Marek Kilimajer
You mean killing the session cookie? setcookie (session_name(), , time() - 3600); session_unset(); // or $_SESSION = array(); session_destroy(); Bruce Bruen wrote: Hi, this is my first question to the list and ... Yes I'm a newbie, verrry wet behind the ears. I am trying to set up a secured site

[PHP] session problems in php 4.3.2

2003-07-10 Thread Tassos T
Hello, I have a problem with php 4.3.2. I have a php code and i used sessions, that code works properly in php 4.3.0 and now after upgrade php to 4.3.2 version not work. Any ideas about this. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

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

2003-07-10 Thread Mantas Kriauciunas
Hello Marek, Thanks for the answer, but i think you misunderstood me because of my bad english. What i mean is the people with that code can access and view files on any place on my server and see the passwords stored in some files, decode them, and do stuff like that. I wanted to know how to

[PHP] Re: download php

2003-07-10 Thread Nadim Attari
So is there any way? http://www.turcksoft.com/en/e_mmc.htm Hope it helps... Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-07-10 Thread Brenton Dobell
session_destroy(); session_unset(); -Original Message- From: Bruce Bruen [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 4:18 PM To: [EMAIL PROTECTED] Subject: [PHP] Blatant newbie question - killing a session Hi, this is my first question to the list and ... Yes I'm a newbie,

Re: [PHP] /etc/passwd

2003-07-10 Thread Marek Kilimajer
Exactly like I said, just check this: $id='/etc/passwd'; if($id eregi('^[a-z0-9_]+\.html',$id)) include($id); else die('Go away!'); The regular expression prevents anyone from accessing any file that is not in your web root (http://your.server.net/) or its name does contain any other character

Re: [PHP] session problems in php 4.3.2

2003-07-10 Thread Jason Wong
On Thursday 10 July 2003 18:26, Tassos T wrote: I have a problem with php 4.3.2. I have a php code and i used sessions, that code works properly in php 4.3.0 and now after upgrade php to 4.3.2 version not work. Any ideas about this. - Read the release notes - Read the change log - Compare

Re: [PHP] suexec

2003-07-10 Thread Fejes Jozsef
Sure there is, the same way as in the cgi version. Safe mode must be off. Safe mode is off, suexec is turned on. In the logfiles, I see that suexec engine is turned on or something like that, the path is correct too. Suexec and the virtualhost are configured alright because for cgi programs, it

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

2003-07-10 Thread Jason Wong
On Thursday 10 July 2003 16:22, szparag wrote: no. i`m not trying to upload file on server. i want to send e-mail with attachments but if it's possible without using classes. i thought that file should be first uploaded and then send with e-mail as attachment, maybe uploading isn't

Re: [PHP] /etc/passwd

2003-07-10 Thread Jason Wong
On Thursday 10 July 2003 17:26, Mantas Kriauciunas wrote: my server is running freebsd 5.0 and yet i havent fixed bug that i knew long time ago, so can anyone point me with some links or resources about it, i could not find any good on google, maybe i don't know how to search. First of

[PHP] wamphp4, php5

2003-07-10 Thread Harry Wiens
how do i have to configure my httpd.conf to run both, php4 and php5 i have php4 in c:\php where schould i put the php5 stuff ? do i need only one php.ini or two? questions, questions, questions mfg. harry wiens -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] suexec

2003-07-10 Thread Marek Kilimajer
Sorry, my fault. I was wrong, suexec can work only for cgi. Fejes Jozsef wrote: Sure there is, the same way as in the cgi version. Safe mode must be off. Safe mode is off, suexec is turned on. In the logfiles, I see that suexec engine is turned on or something like that, the path is correct

Re: [PHP] /etc/passwd

2003-07-10 Thread Fejes Jozsef
My method is: 1. check if id starts with / if(ereg(^\/, $id)) goaway; 2. check if there is .. in it if(ereg(\.\., $id)) goaway; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ANN: Metastorage generates form handling classes

2003-07-10 Thread Manuel Lemos
Hello, Metastorage generates form handling classes In the continuation of the work to achieve further reduction of application development efforts, the new release of Metastorage is now capable of generating automatically classes that are able to handle Web forms that serve as user interface to

Re: [PHP] /etc/passwd

2003-07-10 Thread Marek Kilimajer
Add a check for php files, or any other files you don't want anybody to include: if(ereg('php[0-9]$', $id)) goaway; Fejes Jozsef wrote: My method is: 1. check if id starts with / if(ereg(^\/, $id)) goaway; 2. check if there is .. in it if(ereg(\.\., $id)) goaway; -- PHP General

Re: [PHP] /etc/passwd

2003-07-10 Thread Chris Hayes
At 13:45 10-7-03, Marek wrote: Add a check for php files, or any other files you don't want anybody to include: if(ereg('php[0-9]$', $id)) goaway; but what about '?' and '#' additions? $id=however_they_would_find_out/your_path/file.php?extra=x#loc; ? so maybe if(ereg('\.php', $id)) ? --

Re: [PHP] /etc/passwd

2003-07-10 Thread Wendell Brown
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. Thanks! I think he means How do I keep people who have access to upload their

[PHP] Get previous folder

2003-07-10 Thread Matt Palermo
Anyone know how I can stip off the end of a folder location, so that it will be a folder in the next level up? I want to turn something like this: /path/to/folder/MyFolder/ into somthing like this: /path/to/folder/ I just need to strip off the last folder and that is it. Can anyone help me

[PHP] mssql.dll

2003-07-10 Thread Alain ROMERO
Where is mssql.dll (not include in packages 4.1.2 / 4.2.3 / 4.3.2 ? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] URGENT, READ AND REPLY IF IT'S FINE BY YOU.

2003-07-10 Thread muwangat
muwangatapio [EMAIL PROTECTED] . Firstly, I am Muwanga tapio, the first son and the Asst. chiarman of (muwanga's farms zimbabwe,)and my father Mr.Tapio Andrew one of the black farmers in Zimbabwe who was recently murdered in the land dispute in my country zimbabwe. I got your contact

Re: [PHP] Get previous folder

2003-07-10 Thread Jason Wong
On Thursday 10 July 2003 20:03, Matt Palermo wrote: Anyone know how I can stip off the end of a folder location, so that it will be a folder in the next level up? I want to turn something like this: /path/to/folder/MyFolder/ into somthing like this: /path/to/folder/ I just need to strip

RE: [PHP] mcrypt warning

2003-07-10 Thread Dan Joseph
Hi, I use this to set iv to null so I don't need to worry about it :) $iv = pack(a.mcrypt_enc_get_iv_size($td),$iv); Ahh ok, I'll give that a try and let you know how it comes out. Thanks! -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Get previous folder

2003-07-10 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Thu, 10 Jul 2003 at 13:04, lines prefixed by '' were originally written by you. Anyone know how I can stip off the end of a folder location, so that it will be a folder in the next level up? I want to turn something like this:

[PHP] too stupid to install php on windows

2003-07-10 Thread Johannes Reichardt
Hi there! I had a perfectly working installation of apache 1.23 and php4.12 - unfortunatly i got heavy problems with the mail() function that didnt seem to like my subjects and froms. anyway - i just de-installed apache and php and reinstalled the most recent versions (apache 1.27 and php 4.32)

Re: [PHP] too stupid to install php on windows

2003-07-10 Thread Chris Hayes
At 14:47 10-7-03, you wrote: NET HELPMSG 3534 So i asked google and i found http://www.webdesignforums.net/thread4300.html and there the suggestion was made to put the path for the module between quotes. otherwise the space in for example /program files/ causes this error. example: change

[PHP] Re: too stupid to install php on windows

2003-07-10 Thread sven
hi, Johannes Reichardt wrote: Hi there! I had a perfectly working installation of apache 1.23 and php4.12 - unfortunatly i got heavy problems with the mail() function that didnt seem to like my subjects and froms. anyway - i just de-installed apache and php and reinstalled the most recent

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

2003-07-10 Thread Steve Jackson
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 do have permission to write to to the root. I have generated a

[PHP] function is_executable

2003-07-10 Thread Gilberto Garcia Jr.
Hey guys, I made a class to work with file upload. I used the php function is_executable. and in php 4.2.x it works ok, on linux and on windows. Last week I update my php to 4.3.x and this function stop work. In fact I got this error. undefinied function. Does anyone can help? thanks

[PHP] IMAP issues

2003-07-10 Thread Tim Steele
I have just recently written a complete webmail software using PHP, and need to implement features that determin whether the email has been read or not. The function imap_setflag_full can set the flag, but i have no way of seeing which e-mails have what flags. imap_search allows you to search

[PHP] Re: Get previous folder

2003-07-10 Thread sven
... and what about dirname()? Matt Palermo wrote: Anyone know how I can stip off the end of a folder location, so that it will be a folder in the next level up? I want to turn something like this: /path/to/folder/MyFolder/ into somthing like this: /path/to/folder/ I just need to strip

[PHP] CHECKING IF A SESSION IS ACTIVE OR NOT

2003-07-10 Thread Nagib Abi Fadel
HI, I'm storing the sessions ids in a database table. I want to run a script that reads from the table every session id and check if this session is active or not. I know that session information is stored in a directory (/tmp by default) and removed from there when the session is closed. But if

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

2003-07-10 Thread Marek Kilimajer
You don't realy need it. Session garbage colector removes old session files for you. Nagib Abi Fadel wrote: HI, I'm storing the sessions ids in a database table. I want to run a script that reads from the table every session id and check if this session is active or not. I know that session

[PHP] isset function problem

2003-07-10 Thread Denis L. Menezes
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 should not run. However, if the $senderEmailAddress variable is not set, the

Re: [PHP] /etc/passwd

2003-07-10 Thread Andreas Mendyk
Hi, if the make script ? if($id) include($id); ? and then just write test.php?id=/etc/passwd , they see all the file. Well, FreeBSD provides a way to jail webservers: Jails 8-) http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/jail.html with best regards --

Re: [PHP] isset function problem

2003-07-10 Thread Dean E. Weimer
What about the rest of the code? How is this variable defined? I have had this happen in some code before, I found that the variable was set to . Try using: if (isset($SenderEmailAddress) $SenderEmailAddress != ) { mail($mailTo, $mailSubject, $Message); } I have the following code :

Re: [PHP] Windows 2k, Apache, MySQL, PHP 4.3.2, Smarty

2003-07-10 Thread Mark
--- Michael Smith [EMAIL PROTECTED] wrote: Problem with Smarty. My application is giving me an error when i try to use smarty on a new WAMP install. Smarty is in my include path. Getting this error: *Fatal error*: Call to undefined function: () in *c:\htdocs\smarty\Smarty.class.php*

[PHP] Re: Regex nightmare:(

2003-07-10 Thread sven
Tim Steele wrote: i need to uses reg ex to change a href=url to a href=url target=_blank the brackets have to be represented using lt; and gt; I have tried so many ways, but none work. here is an example of my faliure. $body =

Re: [PHP] isset function problem

2003-07-10 Thread sven
... or: if(!empty($SenderEmailAddress)) { ... } Dean E. Weimer wrote: What about the rest of the code? How is this variable defined? I have had this happen in some code before, I found that the variable was set to . Try using: if (isset($SenderEmailAddress) $SenderEmailAddress != ) {

[PHP] newbie array question

2003-07-10 Thread bob pilly
Hi All Im new to php and are getting a bit confused about the sybase_fetch_array function (i think that this is the same as mysql_fetch_array?). 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

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 etc

[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 wiens Bob

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 do have

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 should not run.

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

2003-07-10 Thread Mark
You had an input 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

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

[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,

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 5 z bla8 1 and

[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 title Control Panel/title font face=\Tahoma\ size=\2\ ? require(cpconf.php); if ($instal==0) { print pfont size=\2\

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

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 Nmec wrote: hello, i have got a problem with SQL select: I have got a table such this: id_k typ name id 1 f

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,

[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: 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 (

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

[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: Can

[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. title Control Panel/title font face=\Tahoma\ size=\2\ ? require(cpconf.php); if ($install==0) { print pfont size=\2\ face=\Tahoma\bWelcome to The Control Panel Installerbr br /bThis will install the control Panel/font/p

[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. title Control Panel/title font face=\Tahoma\ size=\2\ ? require(cpconf.php); if

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) == 0) {

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

2003-07-10 Thread Mark Clarkstone
Its in cpconf.php ? $l33t = C:/miniserve/Apache/conf/l33t.conf; $syspath = C:; $install = 0; $siteex = MySite.Org; $admin = mini; $adpw = serve; ? 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

[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 ? $l33t = C:/miniserve/Apache/conf/l33t.conf; $syspath = C:; $install = 0; $siteex = MySite.Org;

[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

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 remote

[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

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

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 Do you

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. Or

[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

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,

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 operations.

[PHP] regexp problem

2003-07-10 Thread Taylor York
First, I need the code to replace the link in a string, like BASE HREF=www.google.com with BASE HREF=mystring ereg_replace('BASE HREF=\'(.*)'\', 'BASE HREF=\$my_string\', $old); That was the closest i got, but (.*) makes it take the first BASE HREF, and the last , which sucks. Can anyone help?

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] 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 ? $l33t

[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

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

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 here?

[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'Brien

Re: [PHP] Excel Parser

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

[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

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

[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

[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: a href=# onClick=document.del.submit(); Trouble is that the link always points to the name of the previous page I came from. All pages are 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: a href=# onClick=document.del.submit(); Trouble is that the link always points to the name of the previous page I came from. All

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.

  1   2   >