[PHP] batteling with mod_fcgi in virtualmin virtual host

2010-05-26 Thread Gregory Machin
Hi I'm running php-cgi (PHP 5.3.2) and mod_fcgid (2.3.4-2.fc12) in SuExec Apache (2.2.13). I'm experiencing the following Typical errors [Wed May 26 03:59:57 2010] [warn] [client 60.234.169.177] mod_fcgid: stderr: PHP Deprecated: Function eregi_replace() is deprecated in /home/linuxpro/public_h

[PHP] php compile / configure options

2010-03-19 Thread Gregory Machin
Hi I'm setting up a development environment that runs multiple versions of php. I'm looking a list of the compile option options for each php release other than "./configure --help" with more detail on what each option does. Any suggestions welcome . Thank you. -- PHP General Mailing List (http:

Re: [PHP] php 5 and ms sql server express won't play nice !

2007-08-17 Thread Gregory Machin
t a lot of time > working with SQL Server and ASP in a previous life, so I'd like to > think that I have half a clue when it comes to connecting to it. :-) > > Hope this helps. > > Kirk > > On 8/16/07, Gregory Machin <[EMAIL PROTECTED]> wrote: > > Hi > >

[PHP] php 5 and ms sql server express won't play nice !

2007-08-16 Thread Gregory Machin
ns enabled, both are installed on the same machine (xp pro)... this it the error I keep getting Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: SQLEXPRESS in C:\wamp\www\test\test.php on line 8 Couldn't connect to SQL Server on SQLEXPRESS Many Thanks in adva

[PHP] cant get if logic correct..

2007-08-15 Thread Gregory Machin
$stnr>"") and ($subj>"") and ($mark>"")){ //do alot of something lol } } -- Gregory Machin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] advise on data encryption security.

2007-03-05 Thread Gregory Machin
Hi Can anyone point me in the direction of some good docs / howto's on building php apps that have fully encrypted databases etc .. Many thanks -- Gregory Machin [EMAIL PROTECTED] www.linuxpro.co.za -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

[PHP] looking for the developer of webcbq

2006-10-17 Thread Gregory Machin
hildren.php* on line *51* *Notice*: Undefined variable: modificarRegla in * /var/www/html/webcbq/children.php* on line *63* *Notice*: Undefined variable: cambiarNombre in * /var/www/html/webcbq/children.php* on line *72* Many thanks -- Gregory Machin [EMAIL PROTECTED] www.linuxpro.co.za

Re: [PHP] Problem with IE and not displaying the correct images...

2006-03-29 Thread Gregory Machin
Problem found ... IE doesn't understand comments '//' in style sheets .. so the line I had commented out refering to the background image in the style sheet was over riding my code later in the page.. On 3/29/06, Jochem Maas <[EMAIL PROTECTED]> wrote: > > Gregory Machin

Re: [PHP] test security of code

2006-03-08 Thread Gregory Machin
Thanks looks good will read on further . On 3/9/06, Chris <[EMAIL PROTECTED]> wrote: > > Gregory Machin wrote: > > Hi > > Is there an application that can pass source code and report potential > > security problem and or the live site ? > > Many thanks

[PHP] test security of code

2006-03-07 Thread Gregory Machin
Hi Is there an application that can pass source code and report potential security problem and or the live site ? Many thanks -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.linuxpro.co.za www.exponent.co.za Web Hosting Solutions Scalable Linux Solutions www.iberry.info (support and

Re: [PHP] writing multidimensional arrays to file ?

2006-01-30 Thread Gregory Machin
Thanks for you input. I will lookinto alt the sugetions. Many thanks/. Have a grate day . On 1/30/06, Jochem Maas <[EMAIL PROTECTED]> wrote: > > Gregory Machin wrote: > > Hi > > I'm looking for a good example of writing multidimensional arrays, and > > read

[PHP] writing multidimensional arrays to file ?

2006-01-30 Thread Gregory Machin
Hi I'm looking for a good example of writing multidimensional arrays, and reading them back . Thanks for you time . -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.linuxpro.co.za www.exponent.co.za Web Hosting Solutions Scalable Linux Solutions www.iberry.info (support and admin)

[PHP] php and consol interface

2006-01-29 Thread Gregory Machin
time -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.linuxpro.co.za www.exponent.co.za Web Hosting Solutions Scalable Linux Solutions www.iberry.info (support and admin) +27 72 524 8096

[PHP] hiding the index.php page.

2006-01-23 Thread Gregory Machin
Hi I would like to know how i would hide my index page so that it is not shown at the end of the url like how gmail does it and many cms do it .. And what is it called when one does this .. Thank you -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.linuxpro.co.za www.exponent.co.za Web

Re: [PHP] php + mysql - timstamp - calculate hours remaining

2006-01-12 Thread Gregory Machin
Grant wrote: > > Gregory, > > > > David Grant wrote: > > > >>Gregory Machin wrote: > >> > >>>I have a table with a timestamp column and would like to use his to > >>>calculate the age of the record . how would i go about this... > >&g

Re: [PHP] understanding session vars ?

2005-11-24 Thread Gregory Machin
e $_SESSION superglobal will persist over pages so long as > session_start() is called on each page. > > Cheers, > > David Grant > > Gregory Machin wrote: > > I have a test script.. > > What i'm trying to achieve is once the user has clicked on link1 the >

Re: [PHP] understanding session vars ?

2005-11-24 Thread Gregory Machin
ting, i.e. > > if (isset($_GET['menu'])) > $_SESSION['menu'] = $_GET['menu']; > > Cheers, > > David Grant > > Gregory Machin wrote: > > Hi > > I'm a bit stuck on session var, and thier implamentation, or my > perseptio

Re: [PHP] cms type session - how to ?

2005-11-23 Thread Gregory Machin
ote: > > On Tue, November 22, 2005 3:24 am, Gregory Machin wrote: > > I'm looking for a how to , on creating sessions similar to those used > > my > > cms's > > that ref only a single page.. > > http://php.net/session_start > > ??? > >

[PHP] I fixed the logic :-) --- Recursive Array on outputing correctly

2005-08-16 Thread Gregory Machin
names; echo "{$namez}\n"; } else { $namez = $value->names; echo "{$namez}"; display_menu($value->arrChildren); echo ''; } // end of else } // end

Re: [PHP] Trying to figure out contents stored in db field

2005-08-14 Thread Gregory Machin
thanks will try it .. On 8/14/05, Scott Noyes <[EMAIL PROTECTED]> wrote: > Unserialize it, and then use var_dump() to see what the object contains: > var_dump(unserialize($location_data)); > > On 8/14/05, Gregory Machin <[EMAIL PROTECTED]> wrote: > > Hi > > T

[PHP] Trying to figure out contents stored in db field

2005-08-14 Thread Gregory Machin
} i fugure there is an object stored in this serialized array. how do i figure out the properties of the object, I cant find the file that holds classe that it uese .. Any ideas ? Many Thanks -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.linuxpro.co.za Web Hosting Solutions Scalabl

[PHP] Creaing a foldout menu from an array.

2005-08-07 Thread Gregory Machin
is attached to.. My problem is I cant figure out the correct loop / logic to put the tags in the rite places etc.. Many thanks -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.linuxpro.co.za Web Hosting Solutions Scalable Linux Solutions www.iberry.info (support and admin

Re: [PHP] diplaying code in pages and forums ??

2005-08-05 Thread Gregory Machin
Let the flaw wares begin .. sorry guys who have limited bandwith and limited email boxes .. Bla Bla BLA.. On 8/5/05, John Nichel <[EMAIL PROTECTED]> wrote: > Gregory Machin wrote: > > For anyone who would like a clear answer to the question i politely > > asked, here is a g

Re: [PHP] diplaying code in pages and forums ??

2005-08-05 Thread Gregory Machin
For anyone who would like a clear answer to the question i politely asked, here is a good artical .. http://www.sitepoint.com/article/highlight-source-code-php Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.linuxpro.co.za Web Hosting Solutions Scalable Linux Solutions www.iberry.info

[PHP] diplaying code in pages and forums ??

2005-08-05 Thread Gregory Machin
HI Please advise. I'm using exponent cms and I creating a technical site, I want to display code examples , how do I do this and with syntax highlighting, -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.linuxpro.co.za Web Hosting Solutions Scalable Linux Solutions www.iberry

[PHP] logging in using ssl

2005-07-29 Thread Gregory Machin
Hi Please advise . I have a site that needs to move over to ssl only when the user login authenticates the log in .. How would i go about this, the cms is exponent writen in php.. Many Thanks -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.linuxpro.co.za Web Hosting Solutions Scalable

[PHP] php array and java fold out menu

2005-07-29 Thread Gregory Machin
Hi . Please could you advise. I'm insearch of a java fold out menu that looks good, and can acept an array containg the links and link names etc from a php array ... i havent worked in java script yet so please help :-)... Many thanks -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROT

[PHP] php mysql field update not looping properly ..

2005-07-29 Thread Gregory Machin
3 = "UPDATE ".$table." SET " . $column . " = 'hello' WHERE ".$index." = '". $index_Array[$i]."';"; echo "query 3 " .$query3.""; //$result3 = mysql_query($query3) or die( mysql_error

[PHP] emailing files...

2004-12-26 Thread Gregory Machin
Hi I would like to email some log files as attachments, all the examples use an html page with a file input box, how can i do it without the file input box. Many Thanks -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.linuxpro.co.za Web Hosting Solutions Scalable Linux Solutions +27