Re: [PHP] Object Array?

2006-05-18 Thread Jay Paulson \(CE CEN\)
I tried with no success yesterday to get an answer to this question so I'll try again. I have an object from using simpleXML and inside that object is an array holding even more objects. However, it's not acting like an array and therefore I can't go through it. (i.e

Re: [PHP] Object Array?

2006-05-18 Thread Jay Paulson \(CE CEN\)
>> I have an object from using simpleXML and inside that object is an array >> holding even more objects. However, it's not acting like an array and >> therefore I can't go through it. (i.e. I can't use the count function to see >> how big it is and loop through it) >> >> This below should be an

RE: [PHP] Reading large files via PHP?

2006-01-11 Thread Jay Paulson \(CE CEN\)
>> I'm reading in a 66MB file into php so I can parse it and load it into a >> database. However, it is taking a long time for php to read the file. >> So long that the script times out. I know about the >> ini_set("max_execution_time", 120) or whatever length I want to set the >> time out fo

[PHP] Reading large files via PHP?

2006-01-11 Thread Jay Paulson \(CE CEN\)
I'm reading in a 66MB file into php so I can parse it and load it into a database. However, it is taking a long time for php to read the file. So long that the script times out. I know about the ini_set("max_execution_time", 120) or whatever length I want to set the time out for the script, b

RE: [PHP] SOAP Problems SOLVED!

2006-01-10 Thread Jay Paulson \(CE CEN\)
" => 0)); try { print($client->execute($params)); } catch (SoapFault $exception) { echo $exception; } -Original Message- From: Jay Paulson (CE CEN) [mailto:[EMAIL PROTECTED] Sent: Tue 1/10/2006 11:32 AM To: php-general@lists.php.net Subject: [PHP] SOAP Problems. I&#

[PHP] SOAP Problems.

2006-01-10 Thread Jay Paulson \(CE CEN\)
I'm trying to call a SOAP service where you pass it a couple of dates and it is supposed to return stuff. My testing code is below along with the errors I'm getting. What's strange is that it's not working in php but it works perfectly in Flash. The request it is sending is only sending one p

RE: [PHP] Is there a way to display data from database for SelectOptions in a form?

2006-01-10 Thread Jay Paulson \(CE CEN\)
[snip]Let's look at it another way, why 70-80 lines of code when 4 will do it properly when done correctly?[/snip] I agree with this line of thinking especially for a new person to php. When I first read the solution that was so long I thought to myself "great and this person is new to php and n

[PHP] PHP and SOAP newbie questions

2006-01-09 Thread Jay Paulson \(CE CEN\)
I recently got handed a project that requires me to use PHP to talk to a WSDL SOAP service. I'm not new to PHP but I am new to SOAP. I have the basic idea of how SOAP works but still have a few questions I am hoping you all can answer for me. Which library would be better to use? NuSOAP or P

RE: [PHP] Dynamic Array Index using Variable

2006-01-09 Thread Jay Paulson \(CE CEN\)
You could use the isset() or the empty() functions. http://us3.php.net/manual/en/function.empty.php http://us3.php.net/manual/en/function.isset.php But do you want to check all the fields that are being submitted or just specific ones that you set in the $reqfields array? If you want to check a

RE: [PHP] CSS Switching

2006-01-09 Thread Jay Paulson \(CE CEN\)
Why don't you make a prit.php file that handles all the dynamic content and displays it with the CSS file you want. jay -Original Message- From: Mike Tuller [mailto:[EMAIL PROTECTED] Sent: Mon 1/9/2006 11:58 AM To: php list Subject: [PHP] CSS Switching I am drawing a blank on how to g

[PHP] Converting IP Address to int value?

2006-01-06 Thread Jay Paulson \(CE CEN\)
I'm in the process of parsing through a apache access_log file and putting the information into a database. Right now I have the ip addresses going into a database as a character format xxx.xxx.xxx.xxx and then later I'm creating my queries to search for ip addresses xxx.xxx.%, which I think is

[PHP] Included php files in a cron job?

2006-01-06 Thread Jay Paulson \(CE CEN\)
I'm in the process of writing a PHP program that is going to be called once a week via a cron job. I don't have a place to really test this hence the reason why I'm asking about it here. My question is can my php program include other php files and still get executed correctly when the cron jo

RE: [PHP] Parsing through an Apache Log File?

2006-01-04 Thread Jay Paulson \(CE CEN\)
> If this is just a one time thing you're looking to do, all of this may be > over the top. However, if the bosses are going to want to review this data > month in and month out, I think the time spent doing something like this will > be worth it. As of now I've got it working and inserting th

RE: [PHP] Parsing through an Apache Log File?

2006-01-04 Thread Jay Paulson \(CE CEN\)
Jay Paulson (CE CEN) wrote: > Hello everyone! I've been given the responsiblity of coding an apache > access_log parser. What my tasks are to do is to return the number of hits > for certain file extensions that happen on certain dates with specific IP > address. > > A

RE: [PHP] Parsing through an Apache Log File?

2006-01-04 Thread Jay Paulson \(CE CEN\)
Jay Paulson (CE CEN) wrote: > Hello everyone! I've been given the responsiblity of coding an apache > access_log parser. What my tasks are to do is to return the number of hits > for certain file extensions that happen on certain dates with specific IP > address. > > A

[PHP] Parsing through an Apache Log File?

2006-01-04 Thread Jay Paulson \(CE CEN\)
Hello everyone! I've been given the responsiblity of coding an apache access_log parser. What my tasks are to do is to return the number of hits for certain file extensions that happen on certain dates with specific IP address. As of now I'm only going back 7 days in the log looking for this i