[PHP] Problem - Running PHP with different groups (Safe hosting enviroment)

2004-11-01 Thread Eric Bolikowski
? We know a little about UNIX, but not that much. That's our problem. Would be really happy if anyone could help us out! Eric Bolikowski -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: GUI editor for php?

2004-11-01 Thread Eric Bolikowski
Andy B [EMAIL PROTECTED] skrev i melding news:[EMAIL PROTECTED] Hi. Is there any GUI editors out there for php? if so does anybody know of a good one that doesnt cost a ton of money?? There's a trial for Zend Studio at www.zend.com Eric -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: C or C++

2004-04-19 Thread Eric Bolikowski
Brent Clark [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All Just a quick question, is PHP written in C or C++. Kind Regards Brent Clark It is written i C. One hint is that PHP is procedural, and the same is C. Maybe some beautieful day someone willl write a C++ version :)

[PHP] Re: php and mysql help

2004-04-14 Thread Eric Bolikowski
Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello i need help with mysql_create_db i found the solution once but cant remember what it was if someone could tell me the proper way to create a database with php and mysql i would be greatly thankfull. Thank you. ?php

[PHP] Re: weird header() (bug may be)

2004-02-11 Thread Eric Bolikowski
Headers have to be pretty accurate, or it will cause trouble. And your redirect header is not quite correct. It should be this: header(Location: another_page.php); and NOT header(Location:another_page.php); What you need here is a space between Location: and the URL. Adwinwijaya [EMAIL

[PHP] Re: mysql functions

2004-02-10 Thread Eric Bolikowski
Would advise mysql_fetch_row() Angelo Zanetti [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a query which returns only 1 row, which of the following would be the best to get the value from the resultset: mysql_result() mysql_fetch_field() mysql_fetch_row() the resultset

[PHP] Re: Zero Sized Reply

2004-02-10 Thread Eric Bolikowski
Some source code would help Deependra B. Tandukar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dear all, The script was working perfectly, but all of the sudden since last week stopped working, gives Zero Sized Reply. The site is

[PHP] Re: Linked Table Structure

2004-02-10 Thread Eric Bolikowski
Sajid [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] HI, I have a problem. I dont know how to create tables for this in PHPMYADMIN, the situation is like this: I have to display lot of items on the screen. There are three Datagrids on the screen (I am using Flash for this so

[PHP] Re: reading remote page content

2004-02-10 Thread Eric Bolikowski
Hamid Hossain [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I wants to read some pages throug http call. Then, I am going to parse the returned string and do some process. For example: I want to get the latest news from CNN.com daily. So, I want to call http://www.cnn.com and

[PHP] Re: include_once() isnt!

2004-02-07 Thread Eric Bolikowski
Rob [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ive programmed with C/C++ for years and have recently started to dabble in PHP. Ive written a multi-part script for a friend and Ive run into a problem. Ive got 14 include files 3 of which are basic components that may or may not

Re: [PHP] php-general list question - [Fwd: Delivery Report (failure) forphp-general@lists.php.net]

2004-02-06 Thread Eric Bolikowski
Exactly the same thing's happening to me! Luke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Me too, and im using the newsgroup, not even the mailing list!! :/ -- Luke Craig [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I get one of these for almost every message I

[PHP] Re: Check to remove file that are older than 1 week

2004-02-05 Thread Eric Bolikowski
Hi Here's a little function I made up for this: ?php function delete_old_files($dir, $time_limit = 0){ if(!$time_limit) $time_limit = 7*24*60*60; if ($df = opendir($dir)) { while (false !== ($file = readdir($df))) { if ($file != . $file != ..) { $last_modified = filemtime($file);

[PHP] Re: Zend Studio ESC key issue?

2004-01-29 Thread Eric Bolikowski
Hei Trevor I have got exactly the same problem, and there doesn't seem to be any solution to it... What you could to, is to send a mail to Zend and ask them to implement a feature that will allow us Zend Studio users to customize this. Eric Trevor Gryffyn [EMAIL PROTECTED] wrote in message

[PHP] Re: Performance of multidimensional arrays vs many variables

2004-01-28 Thread Eric Bolikowski
Hi John If you have a large number of Users using this system, your save map for sessions will grow in space, using some resources If it's very large pieces of information, i would advise you to store this info in a database. That's doomed to be more effective. Eric John Schulz [EMAIL

[PHP] Re: PHP EDITORS

2004-01-28 Thread Eric Bolikowski
The best editor is of course Zend Studio at www.zend.com, which I use. The only bad thing is that it costs, but hovewer, you can download a free trial to try it out. But if you're able to spend some money, I would strongly recommend Zend Studio. Feature List at

[PHP] Re: generating arrays using $_REQUEST/$_GET/$_POST

2004-01-22 Thread Eric Bolikowski
Hi Tristan It seems wierd to me that $math would be an array even after that you have named all your form fields to $math. Well, what you can do otherwise that is a very known method is naming your fields name[]. In your case this would be math[]. If you name many of your fields this way,

[PHP] Re: Flash-PHP Socket Connection

2004-01-21 Thread Eric Bolikowski
Hi everybody helping me on this I have not gotten a lot of tips, I appreciate all the help I have gotten here. I have decided to try out different technologies that I have been advised and measure performance to choose the best and fastest one! Eric Eric Bolikowski [EMAIL PROTECTED] wrote

[PHP] Flash-PHP Socket Connection

2004-01-20 Thread Eric Bolikowski
Hi everybody I'm working on a site that will be based on Flash, PHP and MySQL. PHP will work as a middleware for Flash and MySQL. My problem is communication between Flash and PHP. I'm really out looking for using the socket functions in PHP and Flash to make fast connection. I have googled for

Re: [PHP] Flash-PHP Socket Connection

2004-01-20 Thread Eric Bolikowski
. -Original Message- From: Eric Bolikowski [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 3:26 PM To: [EMAIL PROTECTED] Subject: [PHP] Flash-PHP Socket Connection Hi everybody I'm working on a site that will be based on Flash, PHP and MySQL. PHP will work as a middleware

[PHP] Re: inserting info from a query string into sql

2004-01-20 Thread Eric Bolikowski
It doesn't seem that you have declared the vars $reorder and $order, so that will make a bad query. Mayo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PROBLEM I'm trying to insert information from a query string into sql. I have a table with content. The column headers have up

[PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread Eric Bolikowski
, from what I understand, Flash now has a great XML parser, so you could use PHP to generate XML and Flash could read in the XML as variables. You might want to look into that, but I think it's only available in the newest version. -Ben Eric Bolikowski wrote: Hi everybody

[PHP] Re: Odd Code Error.

2004-01-20 Thread Eric Bolikowski
Extremely odd what's happening here :s I just doesn't make sense why the if condition should do this... Maybe you could search in the PHP Manual for more info on this. However, i did one thing that made that not work. ?php $EA = 0; //using strict comparison operator if ($EA === 'NFH'){

[PHP] Re: Specifying file paths in Windows

2004-01-20 Thread Eric Bolikowski
Todd Cary [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I moved an application from Linux to my Client's NT system and is_file cannot file the file on the NT system. My directory structure is as follows: c:\webroot \application \php_code \filedir The code is

[PHP] Re: drop down list of years puzzles me

2004-01-20 Thread Eric Bolikowski
This should help: ?php $curr_year = intval(date('Y')); $range = 10+$curr_year; for ($y=$curr_year; $y $range; $y++) { echo option value={$y}.$y./option\n; } ? What you forgot is that $range must be the current year plus how many loops you want. Eric Bill Green [EMAIL PROTECTED] wrote

[PHP] Christmas

2003-12-19 Thread Eric Bolikowski
Merry christmas!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Christmas

2003-12-19 Thread Eric Bolikowski
Merry christmas to every PHP developer here!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: fopen does not open URL-files

2003-12-18 Thread Eric Bolikowski
Taras Panchenko [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have 2 questions: 1) why gethostbyname() does not resolve my host name into IP? 2) why fopen() (and file()) does not open an external (URL) file via http? Please, see my example below: --

[PHP] Re: Inserting function into mail()???

2003-12-17 Thread Eric Bolikowski
Tristan Pretty [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ok, here's my code that I want to pick a random line from a text file, and then mail myself 10 times with a different line each time... But It simply won't work... Anyone know why? ? function randomline($filename)

[PHP] Re: e-commerce with php

2003-12-14 Thread Eric Bolikowski
Pehepe Php [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi! I don't know anything about e-commerce. I want to build a e-commerce site with php-mysql. So i have turorial for this idea. Can you help me about it? i know php and mysql but i dont have any information about ssl,

Re: [PHP] php .htaccess autologin

2003-12-12 Thread Eric Bolikowski
Justin Patrin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jas wrote: Combination of session vars and cookie vars... example... [login page] sets cookie with auth=0 (variable) sets session with auth=0 (variable) [logged in page(s)] sets cookie with auth=1 (variable

[PHP] Re: PHP Math Question

2003-12-11 Thread Eric Bolikowski
Mike D [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm am completely stumped on a seemingly simple math formula I need to find a way to map a set of numbers up to 4 (e.g. 1,2,3,4 or 1,2) to any number in a range of up to 10,000 (ideally, unlimited). Such that, (e.g. 1,2,3,4)

Re: [PHP] Re: PHP Math Question

2003-12-11 Thread Eric Bolikowski
: Bronislav Kluèka [EMAIL PROTECTED] To: Eric Bolikowski [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, December 11, 2003 5:22 PM Subject: RE: [PHP] Re: PHP Math Question | I do not know if I understand well, but what about | | $group=$number % 4; | if ($group==0) $group=4; | | Brona

[PHP] Re: POST upload script timeout

2003-12-06 Thread Eric Bolikowski
Iain Staffell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a script on my local machine to allow friends to send me files, as IM or FTP transfers don't work, and so I would like to accept reasonably large files (10mb max). I followed some of the examples shown around the

Re: [PHP] simple php search

2003-12-05 Thread Eric Bolikowski
Dimitri Marshall [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sophie Mattoug [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Paul Duggan wrote: if I create a text box: body form action=nextpage.html method=GET name=myform input type=Text

Re: [PHP] simple php search

2003-12-05 Thread Eric Bolikowski
Eric Bolikowski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dimitri Marshall [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sophie Mattoug [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Paul Duggan wrote: if I create a text box: body

[PHP] Re: Spamming bastardly problem, please help

2003-12-05 Thread Eric Bolikowski
Ryan A [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Some son of a * is spamming people and using one or our websites as a return address, so all the emails that get bounced are coming right back to us, as you can imagine thats quite a lot, plus we are getting angry people