RE: [PHP] Re: Compiling php-4.0.6 with MySQL support

2002-12-18 Thread Dan Rossi
not the sources where you put your libmysql, i prefix my apps , as its easier to contain and find stuff -Original Message- From: Igor Shulgin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 10:00 PM To: electroteque; [EMAIL PROTECTED] Subject: Re: [PHP] Re: Compiling php-4.0.

RE: [PHP] upload_max_filesize + ini_set

2002-12-23 Thread Dan Rossi
maybe someone would like to report it , my reports either get ignored or are false alarms , i am creating a function to get the line upload_max_filesize and change its value in .htaccess its the only way , and this is everytime i load the uploader page -Original Message- From: Ford, Mike [

RE: [PHP] RE: PHP3 + session handling limitation

2002-12-31 Thread Dan Rossi
yes sorry to be vague i've started to try and implement this , but is tedious to get going, plus it has the pear db like functions so upgrading shouldnt be a problem then when it comes round to it -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 31, 20

RE: [PHP] RE: PHP3 + session handling limitation

2002-12-31 Thread Dan Rossi
oh have you got an example proper usage of it ? i had it working then suddenly i didnt :| -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 31, 2002 7:57 PM To: electroteque Cc: [EMAIL PROTECTED] Subject: Re: [PHP] RE: PHP3 + session handling limitation

RE: [PHP] gettext and translations

2003-01-09 Thread Dan Rossi
how does it work then ? i assumed from the description , you give it a locale and it will translate content from the database into the given language ? damn wish there was something like that -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09,

RE: [PHP] gettext and translations

2003-01-09 Thread Dan Rossi
have a look at this guys http://www.translator.cx/ i'm installing it now -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 9:11 PM To: electroteque Cc: [EMAIL PROTECTED] Subject: Re: [PHP] gettext and translations Hello, "electroteq

RE: [PHP] php5 cvs

2003-01-12 Thread Dan Rossi
Fatal error caught: Call to private method class_test::echo_test() from context '' in /www/servers/electroteque/web/galleries/classtest.php on line 18 class Class_Test { function Class_Test() { } private function echo_test() { echo "test"; }

RE: [PHP] php5 cvs

2003-01-12 Thread Dan Rossi
its cool , i cant remember where i saw the reference , but it was claiming to prefix the functions with underscores to denote private functions in php 4 for the rollover of php5, it was a pretty legit resource i cant remember where though have too many bookmarks, oh well at least i know now , i th

RE: [PHP] set_error_handler inside a class

2003-01-28 Thread Dan Rossi
sorry is there a way to do this in php3 ? my work currently only has php3 , where i am upgrading it for them soon, this is a bummer, i soughta wanna catch errors and show the line and file in the error too -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: [PHP] php3 + HTTP_POST_FILES

2003-02-04 Thread Dan Rossi
i looked there i'm sure i didnt see that :| what a pain , another reason to get them to upgrade ;) what information can i get out of the file then ? -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 2:06 AM To: electroteque Cc: [EMAIL PRO

RE: [PHP] counter question

2003-02-13 Thread Dan Rossi
i mean can u output the counter to the screen with php ? like 1 wait a few seconds 2 wait a few more seconds 3 etc .., atm it will go through the loop first then output -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 11:12 PM To: electr

RE: [PHP] creating flat versions of php pages

2003-02-24 Thread Dan Rossi
sounds close, but the latest stories are going to have to be generated every hour or so, so what are the functions to do this in php though ? would fopen,fread and fwrite do the trik ? i need a way to hange the links within the page all back to html so somehow doing a preg_replace for foo.php?id=1

RE: [PHP] creating flat versions of php pages

2003-02-24 Thread Dan Rossi
better still , is there a simple way to preg_replace index.php?fooID=1 to index/1.html from a href link? -Original Message- From: Mark Cubitt [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 10:50 PM To: electroteque; [EMAIL PROTECTED] Subject: RE: [PHP] creating flat versions of

RE: [PHP] mysql replication + mysql_pconnect

2003-03-02 Thread Dan Rossi
i'll explain i need a fallbak method where if the master server is down it will goto the slave i assumed the connection could do this automatically but it doesnt therefore requires it setup in the php connection script , part of my db class $this->connection = @mysql_pconnect($host,$user,$pass);

RE: [PHP] mysql replication + mysql_pconnect

2003-03-02 Thread Dan Rossi
i have worked out the issue , here is my dynamic connection to the slave , port does not work i suggest this is a bug ? localhost:/usr/local/etc/mysqlslave/tmp/mysql.sock this connected to the slave on 3307 fine -Original Message- From: Rich Gray [mailto:[EMAIL PROTECTED] Sent: Sunday, Ma

RE: [PHP] php list via email

2003-03-06 Thread Dan Rossi
shit i'm a dope this is the email address [EMAIL PROTECTED], as i access the group via newsgroup i never knew :|, but what i am saying is , as like mysql it is downloading all the messages to my inbox i cannot do this with the php list i can only post, and can only read them in the newsgroup viewer

RE: [PHP] Version 5?

2003-03-07 Thread Dan Rossi
the OO handling definately and it works ! although u have to change your private and public functions to specific public function 1 and private function 2 etc , i run it only another apache process on a different port so i can run 4.3.1 aswell -Original Message- From: Marco Tabini [mailto:

RE: [PHP] Running PHP 4 & PHP 5 Simultaneously

2003-03-07 Thread Dan Rossi
if u read my previous post i have another instance of apache running with 5 under that so apache first server is running on port 1023 and apache second server is running on port 1024 -Original Message- From: Jason Lange [mailto:[EMAIL PROTECTED] Sent: Saturday, March 08, 2003 5:18 AM To: [

[PHP] screenshot of an mpeg frame

2003-03-07 Thread Dan Rossi
hi there i was wondering if its ever possible to get a screenshot of an mpeg frame giving it a position and maybe optmisize it with de-interlacing to a jpeg using gd ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] screenshot of an mpeg frame

2003-03-11 Thread Dan Rossi
creating video databases , simply upload the video grab the frame and add to the database ;) -Original Message- From: Dan Rossi [mailto:[EMAIL PROTECTED] Sent: Saturday, March 08, 2003 1:45 PM To: [EMAIL PROTECTED] Subject: [PHP] screenshot of an mpeg frame hi there i was wondering if

[PHP] FW: muliple form array values

2003-03-17 Thread Dan Rossi
this is the second time , i am getting an auto reply from this guy , how do i stop it ?, i am asking a question ! -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 6:54 PM To: daniel Subject: RE: muliple form array values This looks like a great e

RE: [PHP] To use PEAR::DB or the PHP database functions

2003-03-20 Thread Dan Rossi
i have been using the pear db for a long time , although , portability =slower abstraction , aparantly the DB is not continuing, and MDB is its predecessor, anyway i've had a bit of trouble getting the MDB to work , in fact i got DB to work pretty much straight away thanks to thoms howto page, MDB

RE: [PHP] PHP Devel Environments???

2003-03-20 Thread Dan Rossi
The boss wants to lose the dependancy on the 2 "programmers" (myself and another person) for every little piece of PHP code. does that mean your job ? why look into it for them dont do it man ! -Original Message- From: Henrik Hudson [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003

[PHP] RE: templating question

2003-03-20 Thread Dan Rossi
i would like to know what good ones out there, fast template uses ereg and is slow , itx screws with the source layout and the output looks shit , smarty wants control of the code , is there anything better than these guys ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] RE: templating question

2003-03-21 Thread Dan Rossi
apologies , sometimes i get lazy :D -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 7:32 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] RE: templating question On Friday 21 March 2003 15:55, Dan Rossi wrote: You have started a new thread by

[PHP] onchange, post and page refreshing

2003-03-21 Thread Dan Rossi
hi there in my form i have a function to output a number of upload form boxes , this function will post the ammount function number_upload_boxes($num_boxes){ echo 'url("action", "action=addphotos").'">'."\n"; echo 'Number of Photos To Upload:'."\n"; echo

[PHP] variales within define constants

2003-03-22 Thread Dan Rossi
hi guys i'm sure i've done this before but is it possible ? i would like it to show up like this define('CONSTANT','Hello $var'); $var = "Dan"; echo CONSTANT -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] upload files and file types

2003-03-22 Thread Dan Rossi
hi there , i was wondering on security of file uploads , i am currently using the pear uploader class , i can check for allowed file extensions , but it doesnt seem to check for file type , i can currently rename say an image to zip and it uploads , is there anyway a hacker could rename an executab

RE: [PHP] variales within define constants

2003-03-22 Thread Dan Rossi
?? why would i not try it before posting heh :O -Original Message- From: Daniel Diehl [mailto:[EMAIL PROTECTED] Sent: Sunday, March 23, 2003 12:23 AM To: 'Dan Rossi'; 'Php-General' Subject: RE: [PHP] variales within define constants Just try it :) > -Origi

RE: [PHP] variales within define constants

2003-03-22 Thread Dan Rossi
new class; would it work if it switch it ? include("class.php"); $class = new class; include("defines.php"); the variable is set within the class , its an internal variable ie $this->_variable; -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: S

RE: [PHP] variales within define constants

2003-03-22 Thread Dan Rossi
able to go Hello $username or Hello $this->username for example , is there any way to do this ? -Original Message- From: Dan Rossi [mailto:[EMAIL PROTECTED] Sent: Sunday, March 23, 2003 9:09 AM To: Jim Lucas; Daniel Diehl; 'Php-General' Subject: RE: [PHP] variales within def

[PHP] more issues with variales within strings

2003-03-22 Thread Dan Rossi
hi guys , i am sure this worked on an earlier version of php, 'NOT_ALLOWED_EXTENSION' => "Not Allowed File Extension, the following filetypes are allowed : ($this->type)\n", this is inside an array then i used to do $this->extract_filetypes($this->imgtypes); $this->error_codes[NOT_ALLOWED_EXTEN

RE: [PHP] more issues with variales within strings

2003-03-22 Thread Dan Rossi
never mind this is the only way i can probaly do this 'NOT_ALLOWED_EXTENSION' => "Not Allowed File Extension, the following filetypes are allowed : (".$_SESSION['ext_type'].") -Original Message- From: Dan Rossi [mailto:[EMAIL PROTECTED] Sent:

[PHP] htaccess writable by httpd

2003-03-23 Thread Dan Rossi
is this a dangerous feature ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] automatic newsletter

2003-03-23 Thread Dan Rossi
cron job it , and execute the script using the command line php -Original Message- From: fr r [mailto:[EMAIL PROTECTED] Sent: Sunday, March 23, 2003 9:36 PM To: [EMAIL PROTECTED] Subject: [PHP] automatic newsletter hi guys..i wanna make an automatic newsleter; meanings there is no page

RE: [PHP] who is on the page?

2003-03-23 Thread Dan Rossi
how bout add a last logged in field , and then do a check where the last logged in field is NOW() etc .. -Original Message- From: Oliver Witt [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 6:24 AM To: [EMAIL PROTECTED] Subject: [PHP] who is on the page? Hi everybody, I've been lo

RE: [PHP] who is on the page?

2003-03-23 Thread Dan Rossi
oh silly me you might need also an on/off flag , but need a way to determine when they close the connection -Original Message- From: Oliver Witt [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 6:24 AM To: [EMAIL PROTECTED] Subject: [PHP] who is on the page? Hi everybody, I've been

RE: [PHP] File uploads...

2003-03-24 Thread Dan Rossi
u etetr reference them with $_FILES['photonew']['tmp_name'] or do a print_r($_FILES); and it'll tell u info in the upload -Original Message- From: Al [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 7:14 AM To: [EMAIL PROTECTED] Subject: [PHP] File uploads... Trying to do what sh

RE: [PHP] Grabbing image information from an html string

2003-03-25 Thread Dan Rossi
if (preg_match('/(href|HREF)="?(\S+\.(jpg|png))">?/',$line, $matches)){ $filename[] = $matches[2]; } -Original Message- From: Luis Lebron [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 7:07 AM To: Php-General (E-mail) Subject: [PHP] Grabbing image information from an ht

[PHP] best way to throw erorrs within a class

2003-03-26 Thread Dan Rossi
hi guys i have been trying to work out the best way to trigger exception style error handling within a class and return it ,i am currently storing the error code into a session variable, exiting, and doing a header location to the previous page where i was submitting from and output the error code

RE: [PHP] getimagesize

2003-03-26 Thread Dan Rossi
@getimagesize ? -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 5:04 AM To: [EMAIL PROTECTED] Subject: [PHP] getimagesize anyway to not get an error when doing getimagesize if you get this response? HTTP request failed! HTTP/1.1 404 Not Fo

RE: [PHP] Uploading Files Via PHP

2003-03-27 Thread Dan Rossi
did u even read it ? chmod 777 + owned by httpd -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 9:40 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Uploading Files Via PHP On Thursday 27 March 2003 18:25, Marek Kilimajer wrote: > not necesserily

RE: [PHP] Re: Internet Explorer toolbar

2003-03-27 Thread Dan Rossi
??? who cares i gave a solution, there is no other #**#% way -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 3:39 PM To: daniel Cc: Peter Houchin; Dan; php-general Subject: Re: [PHP] Re: Internet Explorer toolbar Yes, but that has nothing do

RE: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Dan Rossi
heh sorry excuse my arrogance , of then , find me a solution that doesnt require echoing javascript ? -Original Message- From: Philip J. Newman [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 6:49 PM To: Dan Rossi; Leif K-Brooks Cc: Peter Houchin; Dan; php-general Subject: Re: [PHP

RE: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Dan Rossi
use my example , there is no possible way , i did once see a javascript() function but obviously thats not there -Original Message- From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 7:41 PM To: [EMAIL PROTECTED] Cc: 'Php-General' Subject: RE: [PHP] Re: Inter

RE: [PHP] XML+XSLT or Smarty again??

2003-03-28 Thread Dan Rossi
hmm i usually output the xml to an arg string to transform through sablot, i dont know much about smarty although, while looking for a templating system to replace fast template , i was hoping smarty could have a similar structure and be quicker at the same time , but it seems to want control of th

RE: [PHP] upload question

2003-03-30 Thread Dan Rossi
err its "open with" actually -Original Message- From: Hugh Danaher [mailto:[EMAIL PROTECTED] Sent: Sunday, March 30, 2003 2:04 PM To: Anthony Ritter Cc: [EMAIL PROTECTED] Subject: Re: [PHP] upload question Sounds like a Windows configuration issue and not a php issue. There's an 'open u

RE: [PHP] Re: XML+XSLT or Smarty again??

2003-03-31 Thread Dan Rossi
wow thanks ! i've been looking for some example like this for a very long time , does it mean that the templates becomes similar to the template block ? -Original Message- From: Pete James [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 2:08 AM To: [EMAIL PROTECTED] Subject: Re: [P

[PHP] problems with curl + exec

2003-03-31 Thread Dan Rossi
hi guys , this is a wierd problem , for some reason wget is fine to return stderr to stdoutput , i'll get an exact error in key 4 , ie OK or HTTP 404 , but with curl it is not returning the exact errorode or outputting an error ? here are my instructions although for a 404 instead of 22 i am gettin

RE: [PHP] problems with curl + exec

2003-03-31 Thread Dan Rossi
sorry worked it out i had stderr in the escape string -Original Message- From: Dan Rossi [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 7:39 AM To: Php-General Subject: [PHP] problems with curl + exec hi guys , this is a wierd problem , for some reason wget is fine to return

RE: [PHP] 1. april

2003-04-01 Thread Dan Rossi
http://electroteque.dyndns.org:1023/phpinfo.php ?? -Original Message- From: Thomas Richter [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 8:57 PM To: [EMAIL PROTECTED] Subject: [PHP] 1. april check the output of phpinfo(). I prefer php version 4.2.3... thomas -- PHP General

[PHP] trigger error and set error handling in an object

2003-04-02 Thread Dan Rossi
hi guys i am having an issue getting a set error handler to get a function within a class, i am also having problems trying to trigger the error, i dont want fatals or the error handler wont catch it anyway , but user or message picks up annoying messages like undefined index on variable , how can

[PHP] use of sessions compared to global scope

2003-04-02 Thread Dan Rossi
hi guys , as per my previous email i am trying to sort out a similar error handling as c or java exception, although in the error handler i am sending an error code to it and then return to the previous page with the error on it , the only way i can do this is to store the code in a session variabl

RE: [PHP] uploading entire directory, with or without compression ...

2003-04-03 Thread Dan Rossi
i have looked into this , and the browser is only limited to single file uploads , but yes a a java applet is prob the best options, i am considering on learning java as it is similar to php OO or maybe the other way round, it looks familiar so maye i can get my hed around it :D, maye there is an o

RE: [PHP] excel 2 csv 2 mysql

2003-04-03 Thread Dan Rossi
yes i hope it comes handy , i'm stoked i found it, the import works perfect i simply upload the xls file str8 into mysql :D or u can play around with the csv data using getcsv() -Original Message- From: jon roig [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 4:13 AM To: [EMAIL PROT

[PHP] mimetpye of remote file

2003-04-04 Thread Dan Rossi
hi guys apart for getimagesize for images is there a way to get mimetypes for other files ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] uploading entire directory, with or without compression ...

2003-04-04 Thread Dan Rossi
oo bugger is there an open source version ? -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 8:05 PM To: David T-G Cc: PHP General list; Awlad Hussain Subject: Re: [PHP] uploading entire directory, with or without compression ... David T-G

RE: [PHP] uploading entire directory, with or without compression ...

2003-04-04 Thread Dan Rossi
hmm what do u mean y signed ? applets simply load dont they ? also maye activex is the way to go ? -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 8:17 PM To: Dan Rossi Cc: PHP General list Subject: Re: [PHP] uploading entire directory, with

[PHP] php5 writeup

2003-04-04 Thread Dan Rossi
just found this http://talks.php.net/show.php/php5intro/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] BIT OT - preventing double submit

2003-04-04 Thread Dan Rossi
i've seen this mentioned here a few times , ok its jsript , but i dont think there is anyone here who doesnt use any jscript or even html ?? heh basically all u do is disable the button once pressed