[PHP] PHP Programmer Needed!

2003-06-26 Thread Erica Ziegler-Roberts
I am swamped with work and need a php expert who is familiar with IC-Radius to do the following project for me. If it can be done by Monday, I will be willing to pay more. You must be able to accept payment through Paypal, Yahoo Paydirect, or Check/Money Order. Project details are below. This is a

[PHP] Antwort: Re: [PHP] How can MD5 HAsh be passed to db as pwd? was a Re: [PHP] SecuringPHP code

2003-06-26 Thread SLanger
> Set the column type of password to be a char(32). Then, pass the password > through md5 to mysql to store it. To verify it, pass the password through > md5 then compare it to what's in the database. This is true for your own authentication but I mean how to connect to the database using md5.

Re: [PHP] session_regenerate_id() -> "Call to undefined function"

2003-06-26 Thread Leif K-Brooks
D. R. Hansen wrote: I am getting a "Call to undefined function" when invoking session_regenerate_id(). No typos -- I've checked. Fatal error: Call to undefined function: session_regenerate_id() in /path_to_my_script/resetsession.php3 on line 5 Running PHP 4.3.1 on RH 8.0 and Apache 2 http://u

Re: [PHP] session_regenerate_id() -> "Call to undefined function"

2003-06-26 Thread Gerard Samuel
PHP 4 >= 4.3.2 D. R. Hansen wrote: I am getting a "Call to undefined function" when invoking session_regenerate_id(). No typos -- I've checked. Fatal error: Call to undefined function: session_regenerate_id() in /path_to_my_script/resetsession.php3 on line 5 Running PHP 4.3.1 on RH 8.0 and A

[PHP] session_regenerate_id() -> "Call to undefined function"

2003-06-26 Thread D. R. Hansen
I am getting a "Call to undefined function" when invoking session_regenerate_id(). No typos -- I've checked. Fatal error: Call to undefined function: session_regenerate_id() in /path_to_my_script/resetsession.php3 on line 5 Running PHP 4.3.1 on RH 8.0 and Apache 2 -- PHP General Mailing Lis

Re: [PHP] Sessions Question

2003-06-26 Thread - Edwin -
"Bob Irwin" <[EMAIL PROTECTED]> wrote: > Aside from the fact that bad code can obviously make sessions hackable, what > does everyone think about the security of sessions? > > I rely on them fairly heavily for low-mid range security on some of my > scripts, but if I was to do something that invo

RE: [PHP] PHP Certification

2003-06-26 Thread Warren Vail
A working public website, that solves a business problem, is a good credential. I can't help but wonder if it takes more hours to develop a respectable site or to study and take an exam. Do you suppose the certification exam might actually be an easier option? Warren Vail [EMAIL PROTECTED] ---

[PHP] Sessions Question

2003-06-26 Thread Bob Irwin
Aside from the fact that bad code can obviously make sessions hackable, what does everyone think about the security of sessions? I rely on them fairly heavily for low-mid range security on some of my scripts, but if I was to do something that involved more sensitive info, are sessions bullet proof

RE: [PHP] PHP Certification

2003-06-26 Thread daniel
yeh well these exams come in modules , and are extremely pricey , i think good web examples, screenshots and experience should be enough, sadly i have not done uni so am frowned upon when looking for work but have experience in the work force, 4 years in IT now ok thats not enough but i have fine t

RE: [PHP] PHP Certification

2003-06-26 Thread Warren Vail
Certification programs, imho, exist primarily for two reasons; 1. it allows developers with little experience to add credibility to their claims that they know how to develop software. 2. it allows non-technical people involved in the hiring chain to make judgements when they have no clue at all

Re: [PHP] PHP Certification

2003-06-26 Thread daniel
I find the value of such certification programs > extremely questionable. here here :D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Certification

2003-06-26 Thread Rasmus Lerdorf
On Thu, 26 Jun 2003, Oscar F wrote: > Does anybody know of any plans for an official certification path for > PHP?. Are they launching something like that anytime soon?. Just curious. Who are "they" ? Do you mean the developers of PHP in general? Nope, no chance. We write code, we do not manage

Re: [PHP] PHP Certification

2003-06-26 Thread Leif K-Brooks
Stevie Peele wrote: I am new to this list. Does this list also provide help with PHP? Not sure what your post has to do with this thread, but what do you mean by also? What else does the list do? -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt

Re: [PHP] PHP Certification

2003-06-26 Thread Stevie Peele
I am new to this list. Does this list also provide help with PHP? _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] PHP Certification

2003-06-26 Thread Oscar F
Hello, Does anybody know of any plans for an official certification path for PHP?. Are they launching something like that anytime soon?. Just curious. Oscar F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: defect tracking systems

2003-06-26 Thread Ow Mun Heng
I'm looking at mantis..Nice System but not sure if it's what you want. I'm gonna mod it a bit for my usage in a Drive (FA) Environment. Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -Original Message- From: Martin Balcar [mailto:[EMAIL PROTECTED] Sent: Th

[PHP] Re: Seraching for good Hotel & room booking program.....

2003-06-26 Thread Giuliano
Sorry, i try again... Thanks - Original Message - From: "Giuliano" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 26, 2003 11:02 AM Subject: Seraching for good Hotel & room booking program. > Hello, > i am serching for a good program (PHP) that i can use for > a

Re: [PHP] Cookoo clock

2003-06-26 Thread - Edwin -
"Sparky Kopetzky" <[EMAIL PROTECTED]> wrote: > I am in New Mexico and my php system is telling via date() that my timezone is BST > (British standard time) and not MST (Mountain Standard Time). Any clue as to why > it's doing this?? > Maybe because your php system is in a BST timezone? Where'

Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread - Edwin -
Jean-Christian IMbeault <[EMAIL PROTECTED]> wrote: [snip] > The problem was that the installation instructions for MySQL for vague > and confusing. I started trying to install from rpm and that didn't > work. I then installed from the binary and that was hell too. All the > problems stemmed from

Re: [PHP] Japanese text not displaying correctly.

2003-06-26 Thread - Edwin -
"Dennis Browne" <[EMAIL PROTECTED]> wrote: > You are correct ... I did not save the files as utf-8. After doing so (to both > page.php and lng_page_ja.php). The problem is there is still odd characters on line > 1 of the web page after rendering. I believe it is because of the signature on the

[PHP] Re: Binary Blob = 65535 byte -> fwrite to a file = 7680000 Byte, why?

2003-06-26 Thread Gerhard Knapp
thats right, catalin, but is it not possible do get a binary blob and write it to file, as it is? ... i cannot believe this ..., with any program language i can do so ... ...it have to be possible to write a blob-buffer byte by byte to a file, damn ... best regards -Gerhard "Catalin Trifu"

[PHP] Cookoo clock

2003-06-26 Thread Sparky Kopetzky
I am in New Mexico and my php system is telling via date() that my timezone is BST (British standard time) and not MST (Mountain Standard Time). Any clue as to why it's doing this?? Robin E. Kopetzky Black Mesa Computers/Internet Services www.blackmesa-isp.net

[PHP] Re: Binary Blob = 65535 byte -> fwrite to a file = 7680000 Byte, why?

2003-06-26 Thread Catalin Trifu
Hi, Just a suggestion. It might be better and simpler to store the imges as files on disk and not as BLOBs and store in the DB only the reference to their path. I think this performs better. Cheers, Catalin "Gerhard Knapp" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTE

Re: [PHP] How to solve include_path / safe_mode / open_basedir /document_root

2003-06-26 Thread Adam Henry
PHP4: 4.3.2 Likewise, my intention is to restrict the user within '/home/ahank/public_html' when using fopen(), but allow the user to use include() on files in '/usr/local/share/wl'. Here is my VirtualHost config: php_admin_flag register_globals Off php_admin_flag safe_mode On

[PHP] Re: Calling PHP from Java usign CGI...

2003-06-26 Thread Catalin Trifu
Hi, I didn't quite understood what you mean by CGI in this case, but if you reffer to calling a script which resides on a server via HTTP protocol, i suggest you take a look at the java.net.* package, You can use the java.net.URLConnection to connect to the PHP script and act as a clie

[PHP] Calling PHP from Java usign CGI...

2003-06-26 Thread Rodrigo Reyes
Hi all Has anyone been able to call php from a servlet (JAVA) using CGI interface? I am trying to do that here, and everything seems to work without problems, except that no data returns from the execution of my scripts. Any idea what could be happening? Is there information on how to configure

Re: [PHP] Re: Securing PHP code

2003-06-26 Thread Chris Rehm
Manuel Lemos wrote: That is the point but if you make the database server accessible from the Web server, anybody that hacks the Web server, can hack the information in the database server, making having the two servers pointless. Not necessarily. There are a number of things that one can do to

Re: [PHP] Re: Securing PHP code

2003-06-26 Thread Manuel Lemos
Hello, On 06/26/2003 07:43 PM, Mike Morton wrote: Why not just connect the 2 servers together with additional nic cards, then the second is only accessable from the first. That is the point but if you make the database server accessible from the Web server, anybody that hacks the Web server, can

Re: [PHP] Re: Securing PHP code

2003-06-26 Thread Mike Morton
Why not just connect the 2 servers together with additional nic cards, then the second is only accessable from the first. On 6/26/03 6:26 PM, "Manuel Lemos" <[EMAIL PROTECTED]> wrote: > Hello, > > On 06/26/2003 02:10 AM, Joseph Szobody wrote: >>> A safer architechture would be to use two machine

Re: [PHP] Largest Member of Array

2003-06-26 Thread Mike Migurski
>How would i find the value of the largest number in this array? > >$example_data = array( >array("Mar-99",100,2000,5945.33,1234,10), >array("Feb-99",908,3454,4764.90,4321,50), >array("Jan-99",542,8000,13365.52,6012,60) >); end(array_reduce($example_data, create_function('$a, $b', 'ret

Re: [PHP] Largest Member of Array

2003-06-26 Thread Leif K-Brooks
John Wulff wrote: How would i find the value of the largest number in this array? $example_data = array( array("Mar-99",100,2000,5945.33,1234,10), array("Feb-99",908,3454,4764.90,4321,50), array("Jan-99",542,8000,13365.52,6012,60) ); www.php.net/max -- The above message is encrypted with double

[PHP] Re: Securing PHP code

2003-06-26 Thread Manuel Lemos
Hello, On 06/26/2003 02:10 AM, Joseph Szobody wrote: A safer architechture would be to use two machines. One to act as the Web server and the other to process transactions. The Web server would take the orders and request the transaction server to process them. The transcation server can only be a

Re: [PHP] PHP 5 won't install

2003-06-26 Thread Edin Kadribasic
Yes, this is something that would probably be changed before the final release, maybe even in the upcoming beta1. Edin - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, June 26, 2003 10:34 PM Subject: Re: [PHP] PHP 5 won't instal

[PHP] Largest Member of Array

2003-06-26 Thread John Wulff
How would i find the value of the largest number in this array? $example_data = array( array("Mar-99",100,2000,5945.33,1234,10), array("Feb-99",908,3454,4764.90,4321,50), array("Jan-99",542,8000,13365.52,6012,60) ); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread Jean-Christian IMbeault
Jason Wong wrote: (B> (B> Find out where your mysql.sock is and edit php.ini to match. (B (BGood idea. (B (BThe problem was that the installation instructions for MySQL for vague (Band confusing. I started trying to install from rpm and that didn't (Bwork. I then installed from the binary

Re: [PHP] if else if statement failed...

2003-06-26 Thread Ernest E Vogelsinger
At 22:09 26.06.2003, Scott Fletcher said: [snip] >I am seeing the problem now. It seem that it had to do with the 'OR' >statement inside the elseif statement... I'm going to try a workaround to >it... As for you mentioning about the code... It's too bad t

Re: [PHP] Impossible bug! (fwd)

2003-06-26 Thread John Wulff
Hmph, just not quite doing the trick... If you'd be so kind here is the complete source to give you a little bigger picture. As you can probably see the point of the script is to generate a bar chart of the array. Thanks so much for the help, let me know what you think! -John Untitled Docume

RE: [PHP] Impossible bug!

2003-06-26 Thread Mark
--- "Ford, Mike [LSS]" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Mark [mailto:[EMAIL PROTECTED] > > Sent: 26 June 2003 15:16 > > To: John Wulff; [EMAIL PROTECTED] > > Subject: Re: [PHP] Impossible bug! > > > > > > In additon to the previous comment about re

Re: [PHP] PHP 5 won't install

2003-06-26 Thread janet
In a message dated 6/26/2003 1:08:02 PM Pacific Daylight Time, [EMAIL PROTECTED] writes: >You need to copy dlls\*.dll to winnt\system32 too. Yes, but my question is about the change. There are two, libxml2 and iconv, that I had to copy into the system directory before PHP 5 would run. I didn't ha

[PHP] Re: What's best, using a temp-file or a temp-table

2003-06-26 Thread Øystein Håland
Since I'm new to the subject have patience with my 'stupid' questions. On the form-page I don't have a session_start(), right? But, this means the session will not be set before I reload the check_users.php? >From what I can see the session var is a string exactly a copy of the input (the csv, txt

[PHP] Binary Blob = 65535 byte -> fwrite to a file = 7680000 Byte, why?

2003-06-26 Thread Gerhard Knapp
hi, perhaps someone can help me ... i store jpgs in a database, then i read them out and write them to a tempfile, the sizeinformation says, the binary blob = 65.535 bytes, but the jpg file has then 768.000 bytes, horrable do dl ... $TEMPFILE = tempnam("./","TMP");

Re: [PHP] if else if statement failed...

2003-06-26 Thread Scott Fletcher
Just found the problem, the if, else-if, else statement work okay when it is too many. The reason it doesn't work is because there's a loophole in the script due to someone's flaw logic or haven't thought about it when brainstorming... Thanks, Scott "Scott Fletcher" <[EMAIL PROTECTED]> wrote in

[PHP] Binary data 65 kb have then as file: 536 KB ??? fwrite ..

2003-06-26 Thread Gerhard Knapp
hi, perhaps someone can help me ... i store jpgs in a database, then i read them out and write them to a tempfile, the sizeinformation says, the binary blob = 65.535 bytes, but the jpg file has then 768.000 bytes, horrable do dl ... i expect that i read 65 kb and write 65 kb, thats all ... .

Re: [PHP] if else if statement failed...

2003-06-26 Thread Scott Fletcher
I am seeing the problem now. It seem that it had to do with the 'OR' statement inside the elseif statement... I'm going to try a workaround to it... As for you mentioning about the code... It's too bad this message window doesn't properly display the tabs --clip-- if ($firstname == \"\") {

Re: [PHP] PHP 5 won't install

2003-06-26 Thread Edin Kadribasic
You need to copy dlls\*.dll to winnt\system32 too. Edin - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 26, 2003 6:26 PM Subject: [PHP] PHP 5 won't install > I downloaded PHP 5-dev from snaps last night but it is giving me an error > when I tr

RE: [PHP] if else if statement failed...

2003-06-26 Thread Jay Blanchard
[snip] Noticed something interesting. I was helping to debug someone's programming problem and found that if there is to many 'else if' in the if and else statement then it doesn't work. Have anyone encoutered this problem and know of a workaround to it? [/snip] I'd have to see the code Jay --

RE: [PHP] if else if statement failed...

2003-06-26 Thread Dan Joseph
Hi, >Noticed something interesting. I was helping to debug someone's > programming problem and found that if there is to many 'else if' in the if > and else statement then it doesn't work. Have anyone encoutered this > problem and know of a workaround to it? That sounds kinda bizzar

[PHP] if else if statement failed...

2003-06-26 Thread Scott Fletcher
Hi! Noticed something interesting. I was helping to debug someone's programming problem and found that if there is to many 'else if' in the if and else statement then it doesn't work. Have anyone encoutered this problem and know of a workaround to it? Thanks, Scott -- PHP General Mailin

Re: [PHP] pdf routine - good local / bad online

2003-06-26 Thread Floyd Baker
On Thu, 26 Jun 2003 10:40:46 +1000, you wrote: >Is the pdf module being loaded on the linux machine? >What is the error message (if any) that's displayed at the "create handle" >bit ? > >Martin It just stops dead. The body color is still there on the screen but there is no more output to the sc

[PHP] Regex Help with -> ?

2003-06-26 Thread Gerard Samuel
I have a string something like -> <[TIT2]> ABC <[TPE1]> GHI <[TALB]> XYZ Im applying a regex as such -> // Title/Songname/Content preg_match('/<\[TIT2\]>(.*?)(<\[)?/', $foo, $match); $title = trim( $match[1] ); The above regex doesn't work. At the end of the pattern Im using (<\[)? The pattern may

[PHP] Oops, sessions. I need to study the subject

2003-06-26 Thread Øystein Håland
> if(isset($_POST['users']) > { > $_SESSION['temp_users'] = $_POST['users']; > } > if (ereg("\t", $_SESSION['temp_users'][0]) == true) $separator = "\t"; > ...etc > > hope it helps > Pete > Will take a look at function.serialize too. Thank you guys -- PHP General Mailing List (http://www.ph

Re: [PHP] Re: Sybase and PHP

2003-06-26 Thread Mark McCulligh
Do you have Sybase ASE on windows or Sybase Anywhere. I didn't know that Sybase make a windows version of ASE. We use Sybase ASE on HP UNIX here at work and I have PHP on both Windows 2000 and Sun linked to it. Mark. - Original Message - From: "Michael A Smith" <[EMAIL PROTECTED]> To: "M

Re: [PHP] SEARCH ENGINE

2003-06-26 Thread Jeff Harris
On Jun 26, 2003, "David Elìas Sánchez Vásquez" claimed that: | |Hi folks | |First, thanks to Jim for the greeat tree-menu, we are just editing it. |Ok, we are doing the tutorial for the Intranet of our University. There is |just a lot of information and we want to give the user all the ways to fin

Re: [PHP] Strange output issue

2003-06-26 Thread John Luxford
Hi Mike, Thanks for the info. The problem is that I'm trying to output an M3U file to stream a series of MP3s, and some players won't properly parse the output due to the first line containing that chunk info. Is there a way to turn it on and off that you know of? Thanks again, Lux On Thur

[PHP] Re: Sybase and PHP

2003-06-26 Thread Mark McCulligh
What Sybase are you using Sybase ASE (Adaptive Server Enterprise) or Sybase Anywhere. Is your PHP server on Windows or Linux. What you will need is the Sybase client first off. PHP links to the sql.ini files (in windows). Then you will need to edit your php.ini and uncomment the Sybase extension

Re: [PHP] weird switch behaviour

2003-06-26 Thread Miles Thompson
Try cleaning it up ... switch( trim( strtoupper( $type ) ) ); I had this happen to me - the $type echoed OK, but would not get caught in the "case". The above fixed it. Miles Thompson At 02:18 PM 6/18/2003 +0100, cg wrote: I am testing a var in a switch statement, switch($type) { cas

RE: [PHP] image galleries

2003-06-26 Thread Johnny Martinez
The Gallery I recommended can be edited so the thumbnails don't display and you can make the links appear instead. Shouldn't be tough, the info is already there. Just replace the tag with the text. before: after: http://www.domain/images/cars/bmw/pic1.gif J -Original Message- From: ch

RE: [PHP] SEARCH ENGINE

2003-06-26 Thread Jay Blanchard
[snip] First, thanks to Jim for the greeat tree-menu, we are just editing it. Ok, we are doing the tutorial for the Intranet of our University. There is just a lot of information and we want to give the user all the ways to find the information he's looking for. Hence, we need a great search engine

RE: [PHP] Strange output issue

2003-06-26 Thread Ford, Mike [LSS]
> -Original Message- > From: John Luxford [mailto:[EMAIL PROTECTED] > Sent: 26 June 2003 16:44 > > I'm having a really strange output problem that I can't figure out. > The problem is that a few characters appear prepended and appended to > the body of the server response. I'm running

[PHP] SEARCH ENGINE

2003-06-26 Thread David Elìas Sánchez Vásquez
Hi folks First, thanks to Jim for the greeat tree-menu, we are just editing it. Ok, we are doing the tutorial for the Intranet of our University. There is just a lot of information and we want to give the user all the ways to find the information he's looking for. Hence, we need a great search en

[PHP] PHP 5 won't install

2003-06-26 Thread janet
I downloaded PHP 5-dev from snaps last night but it is giving me an error when I try to install it. The error is: The dynamic link library libxml2.dll could not be found in the specified path. I have been downloading and installing PHP 5 from snaps for some time and haven't had any problem instal

RE: [PHP] Impossible bug!

2003-06-26 Thread Ford, Mike [LSS]
> -Original Message- > From: Mark [mailto:[EMAIL PROTECTED] > Sent: 26 June 2003 15:16 > To: John Wulff; [EMAIL PROTECTED] > Subject: Re: [PHP] Impossible bug! > > > In additon to the previous comment about resetting $*_color, you're > multiplying the decimal value by 100 to get a percent

[PHP] Re: Install PHP on windows using PHP installler

2003-06-26 Thread Mark McCulligh
>From my understanding you can get PHP with CGI to do persistant connection if you install fastcgi. Link about PHP and FastCGI: http://php.weblogs.com/fastcgi_with_php_and_iis Mark. "Php Dot Net" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > depend on which web server : > > for

[PHP] Re: Install PHP on windows using PHP installler

2003-06-26 Thread php dot net
depend on which web server : for apache : use php as a module for IIS (very bad id) : use php as a ISAPI In either case don't use php as a CGI, this won't allow persistant connection (very usefull for mysql) Hope that helped ! k -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Re: Strange output issue

2003-06-26 Thread php dot net
This problem can comes from your php.ini, at the section : ; Automatically add files before or after any PHP document. auto_prepend_file = auto_append_file = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Strange output issue

2003-06-26 Thread Adam Voigt
The three might be the "Content-length" header, not sure though, thats just a guess since your outputting 3 characters. On Thu, 2003-06-26 at 11:44, John Luxford wrote: > Hello, > > I'm having a really strange output problem that I can't figure out. > The problem is that a few characters appe

[PHP] Strange output issue

2003-06-26 Thread John Luxford
Hello, I'm having a really strange output problem that I can't figure out. The problem is that a few characters appear prepended and appended to the body of the server response. I'm running PHP 4.3.0 and 4.3.2 on Mac OS X (tibook and xserve) and Red Hat 7.1 with 4.3.2 as well, with Apache 1.

Re: [PHP] Re: What's best, using a temp-file or a temp-table

2003-06-26 Thread Chris Hayes
At 17:36 26-6-03, you wrote: you could use a $_SESSION variable instead of file or when the data come in, you can put them into an array and pass on the array through a hidden form field. before putting it in the hidden field serialize the array and in the receiving page unserialize it. http://n

[PHP] Re: Install PHP on windows using PHP installler

2003-06-26 Thread Pete Morganic
What I tend to do is to download the installer and run it as this sets up all the configuration (eg IIS) I then download the zip file (Which contains a load of extra files eg PEAR) and copy the whole unzipped directory to overwite the c:\php dir contents created by the installer. This might b

[PHP] Re: What's best, using a temp-file or a temp-table

2003-06-26 Thread Pete Morganic
you could use a $_SESSION variable instead of file > $filename = "addusers.txt"; > if (isset($users)) { > $temp = $_POST['users']; > $handle = fopen("$filename", "w+"); > fwrite($handle, $temp); > > $users = file("$filename"); > if (ereg("\t", $users[0]) == true) $separator = "\t"; // om texten är

[PHP] Re: Install PHP on windows using PHP installler

2003-06-26 Thread Anthony
what webserver are you using? If it's IIS, then use the installer... If it's Apache, teh installer doesn;t work, you have to do it manualy. - Anthony "Mark McCulligh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am building a Windows 2000/PHP production server. I have only eve

[PHP] problem with popen and cvs

2003-06-26 Thread php dot net
$handle = popen("cvs --help", "r"); while(!feof($handle)) { echo fgets($handle, 3); } pclose($handle); i get a valid handle but no output ! popen failed only with cvs command (cvs.exe), if anybody could help me :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] How can MD5 HAsh be passed to db as pwd? was a Re: [PHP] Securing PHP code

2003-06-26 Thread Duncan Hill
On Thursday 26 June 2003 16:22, Jeff Harris wrote: > http://www.php.net/md5 > > Set the column type of password to be a char(32). Then, pass the password > through md5 to mysql to store it. To verify it, pass the password through > md5 then compare it to what's in the database. Or, to avoid proble

Re: [PHP] How can MD5 HAsh be passed to db as pwd? was a Re: [PHP]Securing PHP code

2003-06-26 Thread Jeff Harris
|Hello Justin or Anybody else | |> Store an MD5 of the password, that way you're comparing the two hashes, |not |> two passwords... even if someone stumbles into your database, they'll |only |> see the MD5'd password. A further step would be encryption, on which |you |> will have to do a LOT of re

[PHP] What's best, using a temp-file or a temp-table

2003-06-26 Thread Øystein Håland
I want to give the visitor a possibility to create plenty of new user accounts by letting the him paste the userinfo from a tab-, comma- or semicolonseparated file to a textarea (form.php). Then some checking needs to be done (check_users.php) before the final result is written to the db (add_users

[PHP] php function system() on win2k srv /iis

2003-06-26 Thread user
Hello, I performed some tests using the backticks operator and the system() call. This is my.php : uh I am "; $k = sprintf( `dir $fldr` ); $k = str_replace ("<", "<", $k ); $k = str_replace (">", ">", $k ); $k = str_replace ("\n", "", $k ); echo "\$k = $k"; ?> this is

Re: [PHP] Impossible bug!

2003-06-26 Thread Mark
In additon to the previous comment about resetting $*_color, you're multiplying the decimal value by 100 to get a percentage. But then you're comparing it to 1, not 100. EWither don't multiply it by 100, or check to see if it's > 100. Or do you really want $*_color to be set if it's greater than

[PHP] Re: Install PHP on windows using PHP installler

2003-06-26 Thread Nadim Attari
> Is it better to install PHP using the PHP installer or using the Zip file > version? Go for the PHP Installer. It's straight forward to install... Do download the Zip file also, in case u need any extensions (DLL) Nadim Attari http://www.alienworkers.com -- PHP General Mailing List (http://

Re: [PHP] defect tracking systems

2003-06-26 Thread Martin Balcar
My fault... I would run it on Apache, mySQL using PHP technology And the system should be simple. I admire Bugzilla project, but it seems to be very complicated ;( Martin "Jay Blanchard" <[EMAIL PROTECTED]> píse v diskusním príspevku news:[EMAIL PROTECTED] [snip] Hm, good answer ;) Can you

[PHP] Re: problem with mktime

2003-06-26 Thread Nadim Attari
> The following line of code doesn't work for me: > $previous_issue_unixdate = mktime(0, 0, 0, $previous_issue_month, > $previous_issue_day, $previous_issue_year, 0); > $previous_issue_month is set to 06, _issue_day is 30 and _issue_year to > 2003. Still $previous_issue_unixdate is emtpy. > ande

[PHP] Install PHP on windows using PHP installler

2003-06-26 Thread Mark McCulligh
I am building a Windows 2000/PHP production server. I have only ever used LINUX for production and windows for developer machines. Is it better to install PHP using the PHP installer or using the Zip file version? Should you install PHP as CGI or ISAPI? I am looking for the pros and cons, someone

Re: [PHP] defect tracking systems

2003-06-26 Thread Bibhas Kumar Samanta
can try gnatsweb. It is very widely used, and less complicated/featured than bugzilla, Bibhas Martin Balcar wrote: > > Hi, > I want to begin to use some of bug tracking systems. I think it can help me > with developing more robust applications and make an easier communication > with my clients.

RE: [PHP] defect tracking systems

2003-06-26 Thread Jay Blanchard
[snip] Hm, good answer ;) Can you recommend one of them? Do you have experience with some of these systems? I don't want to try them all [snip] Please help me to choose some [/snip] Google for bug tracking system http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=bug+tracking+syst em

Re: [PHP] limiting functions

2003-06-26 Thread Wendell Brown
On Thu, 26 Jun 2003 06:10:48 -0500, Daryl Meese wrote: >A quick thought -- It would be nice if we had a "authorization code" in the What about "Safe Mode"? It looks like it can be configured > http://us3.php.net/manual/en/features.safe-mode.php#ini.safe-mode Between safe_mode_include_dir and

Re: [PHP] defect tracking systems

2003-06-26 Thread Martin Balcar
Hm, good answer ;) Can you recommend one of them? Do you have experience with some of these systems? I don't want to try them all Martin "Jay Blanchard" <[EMAIL PROTECTED]> píse v diskusním príspevku news:[EMAIL PROTECTED] [snip] Please help me to choose some [/snip] Google for bug trac

RE: [PHP] Securing PHP code

2003-06-26 Thread Dan Joseph
Hi, > The only reason that I was so adamant about it was I had a 'heated' > discussion with a business associate who's server was compromised - and he > was, lets say, insistant that the fact that there were database > passwords in > a php file inside the webroot was the reason it was insecure. I

RE: [PHP] Securing PHP code

2003-06-26 Thread Dan Joseph
Hi, > Why rely on some access restriction when you don't have to? You > include code > using a filesystem path. There is no need for it to reside under > document root. > Yes, you can make it so that certain things are not served > directly by the Web > server, but why take the extra risk? You gai

Re: [PHP] sessions and browser back[Scanned]

2003-06-26 Thread SLanger
As a suggestion can you simply redisplay your form on the error page and such avoid having to use the back button? This would also allow you to actually display the error at the place the error occurs. Another thing you might want to try is using a cache header that allows the browser to cache t

[PHP] Re: Ticketing System?

2003-06-26 Thread Pete Morganic
The one we use is oneorzero helpdesk which is a project at sourceforge.net Andreas Cahen wrote: Hello List :) Is there any usefull ticketing system (Hotline/Support/etc.) written in PHP? I have found some on hotscripts.com, but I don't know which one is really got or not.. Any suggestions? Che

[PHP] Re: mysql update not working

2003-06-26 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I have the following code: > > > $sql = "UPDATE class_sub SET desc = '$catdesc', sub_cat = '$subcatname' > WHERE id='$catid'"; > echo $sql; > $sql_result = mysql_query($sql); > if (!$sql_result) > { > echo "Couldn't update

[PHP] How can MD5 HAsh be passed to db as pwd? was a Re: [PHP] Securing PHP code

2003-06-26 Thread SLanger
Hello Justin or Anybody else > Store an MD5 of the password, that way you're comparing the two hashes, not > two passwords... even if someone stumbles into your database, they'll only > see the MD5'd password. A further step would be encryption, on which you > will have to do a LOT of reading.

Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread Didier McGillis
What has always worked for me was to make sure MySQL is running, and if so then go delete the mysql.sock file and restart MySQL, not sure why but the first couple of times I have seen that error, usually goes away after one or two restarts. From: Jean-Christian IMbeault <[EMAIL PROTECTED]> To:

[PHP] Re: Month name

2003-06-26 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > PiBIb3cgY2FuIEkgZ2V0IHRoZSBtb250aCBuYW1lIGZyb20gYSBkYXRlPyBJZiB5b3UgY291bGQg > cG9zdCB3aXRoIGFuIGV4YW1wbGUNCj4gaSdsbCBiZSBncmF0ZWZ1bGwNCg0KVHdvIGxpbmtzIHRv > IGhlbHAgeW91Li4uDQpodHRwOi8vd3d3LnBocC5uZXQvbWFudWFsL2VuL2Z1bmN0aW9uLmdldGRh > d

RE: [PHP] defect tracking systems

2003-06-26 Thread Jay Blanchard
[snip] Please help me to choose some [/snip] Google for bug tracking system http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=bug+tracking+syst em HTH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cannot get php through apache to write to my home dir on shared server

2003-06-26 Thread Steve Buehler
Another option might be to create a directory in your web space to hold your file and open up just that directory as 777. Steve At 08:17 AM 6/26/2003 -0400, you wrote: From: "frank reeves" <[EMAIL PROTECTED]> > I have an account on shared server and am trying to > write a logfile (a dump of an e

[PHP] defect tracking systems

2003-06-26 Thread Martin Balcar
Hi, I want to begin to use some of bug tracking systems. I think it can help me with developing more robust applications and make an easier communication with my clients. I have tried to use Bugzilla, but It was a little bit complicated system. Please help me to choose some Regards Martin

[PHP] problem with mktime

2003-06-26 Thread anders thoresson
The following line of code doesn't work for me: $previous_issue_unixdate = mktime(0, 0, 0, $previous_issue_month, $previous_issue_day, $previous_issue_year, 0); $previous_issue_month is set to 06, _issue_day is 30 and _issue_year to 2003. Still $previous_issue_unixdate is emtpy. -- anders thor

Re: [PHP] cannot get php through apache to write to my home dir on shared server

2003-06-26 Thread CPT John W. Holmes
From: "frank reeves" <[EMAIL PROTECTED]> > I have an account on shared server and am trying to > write a logfile (a dump of an email which i use mail() > to send) to a logfile in my home dir. This logfile > will grow with all emails send by my app and will thus > give me an archive of sorts. > > H

Re: [PHP] Japanese text not displaying correctly.

2003-06-26 Thread - Edwin -
Hello, [EMAIL PROTECTED] (Dennis browne) wrote: > I want to display Japanese text on my site and am having many problems. > > I am using Linux Redhat 8, PHP 4.2. > > Basically what I have is a file page.php with the following code: > > page.php: > > > > > > Home: > include("lng_page_ja.ph

Re: [PHP] cannot get php through apache to write to my home dir onshared server

2003-06-26 Thread Marek Kilimajer
Upload empty file with ftp and change its permission (chmod o+w log.file). frank reeves wrote: Hi, I have an account on shared server and am trying to write a logfile (a dump of an email which i use mail() to send) to a logfile in my home dir. This logfile will grow with all emails send by my ap

  1   2   >