Re: [PHP] PHP Best practices

2003-07-16 Thread Angelo Zanetti
Hi John, have you tried a site called www.phpfreaks.com It has alot of articles and tutorials. It is a really good site and you get emailed when a new article or tutorial is released. HTH - Original Message - From: "John Manko" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday,

[PHP] PHP POS program

2003-07-16 Thread Angelo Zanetti
Anyone know where I can download a demo point-of-sale program from? preferably written in php and preferably a point-of-sale designed for restaurants? any links etc will be great TIA Angelo

[PHP] need help with MySQL full text searching!!!!

2003-07-21 Thread Angelo Zanetti
Hi I have a table which contains 3 fields (ID, Title, Abstract) the title and abstract fields have been fulltext indexes like this: ALTER TABLE biblio ADD FULLTEXT (title,abstract); that worked fine, however my problem is whenever I want to do a select statement only comparing 1 of the columns

Re: [PHP] Re: need help with MySQL full text searching!!!!

2003-07-22 Thread Angelo Zanetti
to use mysql 4.0.10-gamma for full text searching to work > > Angelo Zanetti wrote: > > > Hi > > > > I have a table which contains 3 fields (ID, Title, Abstract) the title and abstract fields have been fulltext indexes like this: > > > > ALTER TABLE biblio ADD

Re: [PHP] open source content management systems?

2003-07-28 Thread Angelo Zanetti
Hi dunno if this will help but freevcs might be an option. www.freevcs.de - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 2:39 AM Subject: [PHP] open source content management systems? > hi all > > does anyone have any recommendation

[PHP] text area question

2003-08-22 Thread Angelo Zanetti
Hi this is slightly off topic but i hope i will be forgived. I have a textarea and whenever my page loads and I click in it the cursor nevers starts at the very beginning and I have to push the backspace buttton until i get to the start. is there a property or something to fix this?? thanx in a

[PHP] determine how many checkboxes are selected.

2003-08-26 Thread Angelo Zanetti
Hi I have a tabel that gets populated dynamically from a DB query. Each row is a seperate record and they all have a checkbox. I want to put a button/image @ after the table and when it is click ed to determine which checkboxes have beeen selected. I also name the checkboxes dynamically with chk

[PHP] problem passing variable between forms.

2003-08-26 Thread Angelo Zanetti
HI all I have a form in which I have a table with dynamic checkboxes, they are in a checkbox array ( name = chk[]...), I pass this variable to the next page using POST I receive the variable and use it, no problem, but then when I try to pass it to the next form in the URL (using an A HREF: )

[PHP] PHP redirect

2003-05-29 Thread Angelo Zanetti
Hi guys what is the function in PHP for directing a php page?? thanx in advance Angelo

[PHP] Registered sessions.

2003-06-04 Thread Angelo Zanetti
Hi, I have a php page that validates if a username and password are valid. if they are the php page registers and assignes a session variable a value. Then straight after that it automatically calls then next php page using the header("Location: researchpapers2.php"); command. My question is:

[PHP] Sessions and login

2003-06-11 Thread Angelo Zanetti
Hi guys kinda new to php. Ok I have a php page that a user has to enter a pw to gain access to another page (lets call it authPage).However before I i can grant access to authPage I want to verify 1. that a pw was entered and 2. that it is correct. So I thought it would be better NOT to do the

[PHP] CSS help

2003-06-18 Thread Angelo Zanetti
Hi guys sorry for the off topic post. i am not getting any success with Css @ the moment. What I need is basically a class in my CSS file that defines everything about A links. I have this class but it aint working (i know its wrong): .sideMenu { hover{color:white}; visited {color: black}

Re: [PHP] status of current online users

2003-06-25 Thread Angelo Zanetti
there is a program called LivePerson, which tells you what IP address they are using, where they are situated and how they got to your site. Used for commercial websites, like online travel consulting company. - Original Message - From: "Miranda, Joel Louie M" <[EMAIL PROTECTED]> To: <[EMA

[PHP] Setting focus on a textfield

2003-06-27 Thread Angelo Zanetti
Hi guys how do I set the cursor to start in a particular textfield (password field) when my php page starts? TIA

[PHP] mail function and php.ini file

2003-08-27 Thread Angelo Zanetti
Hi guys I am new to the mail function. I have looked in the manual however there isnt much about the mail function. I am trying to use the function and get returned this error: Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_po

[PHP] sending values in textbox

2003-09-08 Thread Angelo Zanetti
Hi I want to be able to send the vlaues that a user enters in a couple of input fields. However, my register_globals is set to off. So how do I do it using an image and HRef instead of a submit button? I have the following: "); ?> But this doesnt seem to get the value

RE: [PHP] Passing query parameter which has value "###"

2003-09-08 Thread Angelo Zanetti
try this main.php?name=" . $name . "&id=" . $id . "&id1=" . $id1 . " HTH -Original Message- From: murugesan [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: [PHP] Passing query parameter which has value "###" I passed value main.php?na

RE: [PHP] Benchmarking PHP vs ASP.net

2003-09-08 Thread Angelo Zanetti
Apparently if you read the terms of agreement when installing .NET you can't publish your benchmarking results without their permission. just a thought. would be interesting to see comparison, and maybe also JSP, cold fusion -Original Message- From: Sid [mailto:[EMAIL PROTECTED] Sent: Mo

RE: [PHP] Passing query parameter which has value "###"

2003-09-08 Thread Angelo Zanetti
AIL PROTECTED] > > but the actual value for id is ### > > -Murugesan > > - Original Message - > From: "Angelo Zanetti" <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>; "murugesan" > <[EMAIL PROTECTED]

[PHP] slightly OT e-commerce payments

2003-09-18 Thread Angelo Zanetti
if one wanted to offer something similiar to this type of e-commerce however on a cellphone, how would one secure the transaction, like SSL does on webpages? Also are there any companies that you know of that offer this? thanx in advance. Angelo Angelo Zanetti Cell No: +27 72 441 3355 Tel No: +27

[PHP] using submit button and PHP-HELP

2003-09-22 Thread Angelo Zanetti
Hi, I have a form that has a submit button in it, when the button is pressed I want it to reload the same page, with the same URL, however when I click on the submit button, the URL that it produces is http://whatever.php? then the name of my submit button = value for example: Request this ab

RE: [PHP] using submit button and PHP-HELP

2003-09-22 Thread Angelo Zanetti
to keep the existing parameters. However, in forms, it's better to redeclare them, so in your case, you'd want to add an HTH Mark - Original Message ----- From: "Angelo Zanetti" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Sent:

[PHP] determine resolution that client is running

2003-09-23 Thread Angelo Zanetti
Hi ppl, how do you determine the resolution that a client is running? because if I make a webpage for 800 X 600 then a user is running a res. of 1024 X 768 then the page will be smaller in his browser, therefore how do I determine what resolution its being run at, therefore the appropriate sized w

[PHP] php and checkboxes

2003-09-23 Thread Angelo Zanetti
Hi all, I have a table that gets populated from records of a DB. every row in the table has a checkbox and the items desc. I want the user to select the items they want and then they click on a link which registers the items they've selected in a session variable. Firstly I am not sure if this can

[PHP] problem passing variable between forms.

2003-09-23 Thread Angelo Zanetti
:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 4:00 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] problem passing variable between forms. - Original Message - From: "Angelo Zanetti" <[EMAIL PROTECTED]> > I have a form in which I have a table with dynam

[PHP] HTML mailing list

2003-09-26 Thread Angelo Zanetti
anyone know of a good HTML mailing list? sorry for the OT post. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] add element to an array

2003-09-29 Thread Angelo Zanetti
Hi, I want to add a new element to an array in php, is the following way the correct way? assuming that $chk is an array and $ID contains a value. $j = count($chk); $j++; $chk[$j] = $ID; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP] php and checkboxes.

2003-09-29 Thread Angelo Zanetti
Hi all I have a table that is populated from a database which gets the IDs of the records from a php array.Every row in the table has a checkbox next to the actual record, what I want to do is to allow the user to select the records they want to remove by clicking the checkbox(es) and then click

RE: [PHP] php and checkboxes.

2003-09-29 Thread Angelo Zanetti
[mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 1:36 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] php and checkboxes. Simple: foreach($_POST['del_checkboxes'] as $id) { $sql="delete from table where id='$id'"; } Checkboxes are

[PHP] arrays and php

2003-09-30 Thread Angelo Zanetti
hi I have a table with rows and each row contains a checkbox ( array) and a record. TD of the checkbox: echo(""); as you can see the array of checkboxes is called chkR. When the user clicks a submit button it calls the same page and the value of the array is received using: $chkR=$_POST['chkR'];

[PHP] array_diff()

2003-10-01 Thread Angelo Zanetti
HI all, I looked at the PHP manual and it doesnt say much about this function. what I want to know is that, do the 2 arrays have to have the same length of number of elements? TIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] removing an element from an array

2003-10-01 Thread Angelo Zanetti
Hi If I have an array and want to remove and element from this array. correct me if this is the wrong approach: create a temporary array with 1 element less than the origional array, get the position of the element ( is there a function for this?) and then run through the origional array copying

RE: [PHP] removing an element from an array

2003-10-01 Thread Angelo Zanetti
ject: RE: [PHP] removing an element from an array On 01 October 2003 11:25, Angelo Zanetti contributed these pearls of wisdom: > Hi > > If I have an array and want to remove and element from this > array. correct me if this is the wrong approach: It's the wrong approach ;) &g

RE: [PHP] Re: removing an element from an array

2003-10-01 Thread Angelo Zanetti
how do I find the position of the element in the array? based on the value that is passed? if there a funtion for this or do I manually have to get this value? -Original Message- From: Dennis Sterzenbach [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 1:16 PM To: [EMAIL PROTECT

RE: [PHP] Variables not passed on localhost setup

2003-10-02 Thread Angelo Zanetti
with regard to register_globals being off, what kind of security implications are there? And what would you define as badly/poorly written php code? brush your teeth?? =) -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 7:06 PM To: [E

[PHP] array_diff

2003-10-02 Thread Angelo Zanetti
should return [123] and [44]. What is the reason for it being blank?? Angelo Zanetti Cell No: +27 72 441 3355 Tel No: +27 21 464 1363 Fax No: +27 21 464 1371 e-Mail: [EMAIL PROTECTED] Z Logic e-Business Centre Cape Technikon P.O. BOX 652 Cape Town South Africa 8000 -- PHP General Maili

RE: [PHP] array_diff

2003-10-02 Thread Angelo Zanetti
values out the $arrayResult. TIA. -Original Message- From: Eugene Lee [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 11:09 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] array_diff On Thu, Oct 02, 2003 at 10:44:15AM +0200, Angelo Zanetti wrote: : : I am getting some weird results

RE: [PHP] array_diff [SOLVED]

2003-10-02 Thread Angelo Zanetti
-Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 11:28 AM To: Eugene Lee; [EMAIL PROTECTED] Subject: RE: [PHP] array_diff thanx Eugene, I know what the problem was, firstly that when doing an array_diff the keys are preserved

RE: [PHP] session control query

2003-10-03 Thread Angelo Zanetti
thats pretty much a golden rule of sessions =) -Original Message- From: Veniamin Goldin [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 12:41 PM To: STONE Steven Cc: php mailing list Subject: Re: [PHP] session control query Hi, session_start(); must be a very first line of s

[PHP] open source/php research software

2003-10-24 Thread Angelo Zanetti
Hi all. I have heard about open source software that is used in tertiary institutions and other research institutions that handles all the management of the research articles. In other words, administrating the research articles -> adding, editing, deleting, searching, etc... something similiar to

RE: [PHP] How to search the database?

2004-01-19 Thread Angelo Zanetti
you should try to figure parts of it out before just asking. By us just giving you the answer means that you aren't going to learn anything. TRy and battle but when you get it working you will feel as if you've accomplished something rather than cut and paste someone else's code!! -Origin

FW: [PHP] date fiedl

2004-01-19 Thread Angelo Zanetti
I have a feeling that saving it as a numeric field would be quicker. Numeric fields are generally quicker than alphanumeric fields and the date field in mySQL has the format of -mm-dd, so it probably does some error checking/validation to see the format is correct and also it contains alphanu

RE: [PHP] Please help me as fast as possible.. very important!!

2004-01-20 Thread Angelo Zanetti
Im not sure about php but if you are desperate then you could also do it in VB with a timer control. -Original Message- From: Radwan Aladdin [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 11:45 AM To: [EMAIL PROTECTED] Subject: [PHP] Please help me as fast as possible.. very imp

RE: [PHP] dreaded sessions

2004-01-20 Thread Angelo Zanetti
just out of interest sake why do you use INNODb? cant you use the normal (no transaction support) MySQL DB?? -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 2:04 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] dreaded sessions -BEGIN PGP S

RE: [PHP] Sorry the attachement was not received!! I put the codes here.

2004-01-20 Thread Angelo Zanetti
try figure it out for yourself and not rely on us to supply you with the answer. you might want to read about etiquette when posting to mailing lists/user groups -Original Message- From: Radwan Aladdin [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 3:12 PM To: [EMAIL PROTECTED]

[PHP] php document management systems

2004-01-22 Thread Angelo Zanetti
Anyone know of any php document management systems? if its open source that would be even better. TIA Angelo Disclaimer This e-mail transmission contains confidential information, which is the property of the sender. The info

RE: [PHP] Importing Text into Database - Can you recommend a tutorial?

2004-01-23 Thread Angelo Zanetti
there is a program that is called mySQL Front it has a fucntion to import CSV (comma delimited) files into a DB. Just google for it. HTH Angelo -Original Message- From: Freedomware [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 2:42 PM To: [EMAIL PROTECTED] Subject: [PHP] Import

[PHP] Calling a function at a certain time of day.

2004-07-30 Thread Angelo Zanetti
HI, Im slightly in the dark as to do the following. What I need is a thread of some sort that runs and when the time is midnight, it automatically calls a script that does something. Can anyone point me in the right direction as to where to start. Thanks Angelo --

[PHP] sessions not working when page redirects

2004-08-10 Thread Angelo Zanetti
Hi all, Im having a slightly weird problem with my session variables. when on a certain page call it "A", I register a session variable and assign it a value. I then test if it is registered successfully and has the correct value on the same page, that works no problem. After that page "A" redire

[PHP] Re: sessions not working when page redirects

2004-08-10 Thread Angelo Zanetti
I do do that on all pages... >>> pete M <[EMAIL PROTECTED]> 8/10/2004 2:15:21 PM >>> u need to start the session at the top of each page sesion_start(); Angelo Zanetti wrote: > Hi all, > > Im having a slightly weird problem with my session variables. when o

[PHP] weird error, might be javascript?

2004-08-11 Thread Angelo Zanetti
Hi all, FIrstly apologies if this is slightly OT, but it is relevant to PHP. I have been working on a pretty big project over the last couple of months and then all of a sudden I started getting errors in my browser, the error in the bottom left corner with the yellow icon. anyway Im not sure what

Re: [PHP] weird error, might be javascript?

2004-08-11 Thread Angelo Zanetti
yes but even If I take the page source, its not anywhere near 597 lines long...any other ideas? Sorry forgot to mention it in initial post. >>> John Holmes <[EMAIL PROTECTED]> 8/11/2004 12:44:25 PM >>> Angelo Zanetti wrote: > I have been working on a pretty big proj

Re: [PHP] weird error, might be javascript?SOLVED

2004-08-13 Thread Angelo Zanetti
rras People www.arraspeople.co.uk - "John Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Angelo Zanetti wrote: > > I have been working on a pretty big project over the last couple of > > months and then all of a sudden I start

[PHP] problems with sessions!!AAH

2004-08-16 Thread Angelo Zanetti
Hi, Im running a win2k with apache and PHP 4.3.4 and I have gone through the installation readme for PHP. I have copied the necessary files to the correct directories. I have also set register_globals= Off (default) I have set my session path (it exists). Now my problem is that I cant get my se

Re: [PHP] System Tray Icon

2004-08-16 Thread Angelo Zanetti
I think VB or some MS dev tool will do the job. >>> John Nichel <[EMAIL PROTECTED]> 8/16/2004 3:48:11 PM >>> Harlequin wrote: > Hi all. > > I just wanted to throw this message in here and get some opinions before I > go off developing something So will post in the correct newsgroup later > (when

RE: [PHP] problems with sessions!!SOLVED!!

2004-08-16 Thread Angelo Zanetti
thanks MATT it appears that the isset function worked! >>> "Jay Blanchard" <[EMAIL PROTECTED]> 8/16/2004 4:46:16 PM >>> [snip] Ok here is what I do: $_SESSION['login']="true"; if (session_is_registered($_SESSION['login'])) echo("seesion is reg"); else

RE: [PHP] problems with sessions!!AAH

2004-08-16 Thread Angelo Zanetti
ok I thought the problem was fixed but its not. The session variable gets registered correctly however when I go to the next page and too see if its still registered using the isset() function its not registered anymore. I do have session_start(); at the top of the new page. I cant think why its n

Re: [PHP] problems with sessions!!AAH

2004-08-16 Thread Angelo Zanetti
reason? Or have i misconfigured something? TIA >>> "Matt M." <[EMAIL PROTECTED]> 8/16/2004 5:59:26 PM >>> On Mon, 16 Aug 2004 17:39:21 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote: > ok I thought the problem was fixed but its not. The session variable

Re: [PHP] problems with sessions!!AAH

2004-08-16 Thread Angelo Zanetti
cache session.cache_expire = 180 is there anything else that I am missing or is anything set incorrectly? thanks guys, really appreciate it. >>> "Torsten Roehr" <[EMAIL PROTECTED]> 8/16/2004 6:00:01 PM >>> "Angelo Zanetti" <[EMAIL PROTECTED]> wrote in message news

[PHP] Sessions nightmare continue...

2004-08-17 Thread Angelo Zanetti
Hi all, Still no luck with sessions. I have installed an older version: 4.3.1 and have register_globals=Off I have 2 test pages a1.php and a2.php All I want to do is register a session variable, set a value for it and then in a2.php check that it is still registered and view the session's value

[PHP] Re: Sessions nightmare continue...SOLVED

2004-08-17 Thread Angelo Zanetti
session variable NOT set"); }else{ echo("session variable set"); } echo("session ID: " . session_id()); echo("session value: " . $_SESSION["login"]); ?> == Works fine now. HTH Craig "A

[PHP] Re: oop too slow

2004-08-19 Thread Angelo Zanetti
maybe you can rewrite your SQL statements in a way that will improve retrieval time. Google for it. things like select * from ... when you are not using all fields is bad practise. there are many others. Angelo >>> Thomas Seifert <[EMAIL PROTECTED]> 8/19/2004 11:33:05 AM >>> On Thu, 19 Aug 2004 1

[PHP] fatal error undefined call to mysql_connect

2004-08-25 Thread Angelo Zanetti
Hi all, I have installed my php scripts on a new server (linux) and when attempting to run them I get this error. Is this error a configuration issue in my PHP.ini file or is it a user issue with mysql and connecting to the database? thanks in advance Angelo

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-25 Thread Angelo Zanetti
so to include the mysql extensions to I have to reinstall PHP or can I simply just change the values in the PHP.ini file for the mysql entries? Thanks to those who responded >>> ramil <[EMAIL PROTECTED]> 8/25/2004 4:21:14 PM >>> On Wed, 25 Aug 2004 16:12:53 +0200

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-25 Thread Angelo Zanetti
I never installed it so... here is my next question. how would I find out how it was installed? >>> John Nichel <[EMAIL PROTECTED]> 8/25/2004 4:44:18 PM >>> Angelo Zanetti wrote: > so to include the mysql extensions to I have to reinstall PHP or can I > simply

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-26 Thread Angelo Zanetti
Ok I found out that php is installed as an RPM so do activate mysql? thanks Angelo Zanetti Z Logic [c] +27 72 441 3355 [t] +27 21 464 1363 [f] +27 21 464 1371 www.zlogic.co.za >>> John Nichel <[EMAIL PROTECTED]> 08/25/04 4:44 PM >>> Angelo Zanetti wrote: > so to includ

[PHP] IIS 4 vulnerabilities

2004-09-15 Thread Angelo Zanetti
Hi guys, A client of mine is running PHP on a windows box (SErver) with IIS 4 installed. I am definitely not a favourite of it being a windows box and secondly IIS version 4. I have heard many things about security breaches in IIS version 4. A question I want to ask you all is it still safe for t

[PHP] Weird characters output

2004-09-20 Thread Angelo Zanetti
Hi all, I have recently moved a site over to a new server. Now certain characters are being replaced by weird characters. EG: the ' single quote is being replaced by a question mark and other characters are also affected. the information that contains these characters is inside a mysql database.

[PHP] spaces in select

2004-10-11 Thread Angelo Zanetti
Hi all, I have a select/option that gets populated with countries. The value of these option are also set to the country name. The problem i have is that some countries have spaces in them eg: United States of America. When the form is posted and I echo the country variable out that has been po

Re: [PHP] spaces in select-SOLVED

2004-10-11 Thread Angelo Zanetti
ok thanks to those who responded: this is how i got it working: echo("" . trim($row['location']) . ""); Angelo >>> Dan Joseph <[EMAIL PROTECTED]> 10/11/2004 4:43:56 PM >>> > I have a select/option that gets populated with countries. The value of > these option are also set to the coun

[PHP] PHP tp PDF

2004-10-13 Thread Angelo Zanetti
Hi all, Im sure this has been asked before. Im about to start development of an export section of an intranet where the invoices generated are exported to a PDF. I have looked at PDFlib, however I do not wish to pay for the licence cost, so Im looking for a free alternative, I've found FPDF whic

[PHP] checkbox arrays and validation

2004-10-05 Thread Angelo Zanetti
Hi all, this might be slightly off-topic in a way but Im looking for help not flaming. Ok I have a checkbox array that I populate from a DB using php: while ($row = mysql_fetch_array($result)) echo("" . $row['models_type'] . ""); So when I want to see each variable in the array I use:

Re: [PHP] checkbox arrays and validation

2004-10-05 Thread Angelo Zanetti
its the only form on the page... Based on the other responses I will have to use chkmodels[] and need to get the javascript working. Is it not possible to use the forms name when referencing the array? thank again. Angelo >>> Marek Kilimajer <[EMAIL PROTECTED]> 10/5/2004 1:52:0

Re: [PHP] checkbox arrays and validation

2004-10-05 Thread Angelo Zanetti
limajer <[EMAIL PROTECTED]> 10/5/2004 2:19:26 PM >>> Angelo Zanetti wrote: > its the only form on the page... > > Based on the other responses I will have to use chkmodels[] and need to > get the javascript working. Is it not possible to use the forms name > when

RE: [PHP] checkbox arrays and validation

2004-10-05 Thread Angelo Zanetti
thanks Mike, worked like a charm!! and thanks to the others who replied! >>> "Ford, Mike" <[EMAIL PROTECTED]> 10/5/2004 3:09:32 PM >>> On 05 October 2004 13:55, Angelo Zanetti wrote: > Hi Marek, > > I try to access the array like thi

[PHP] reading XML

2008-11-20 Thread Angelo Zanetti
Hi all, I have a script that I call with CURL and get an XML response with a few parameters. I need to be able to read that XML but not sure how to. I know of simpleXML but the server is php4. Would xml_parse be the thing to look at? What is the simplest way to accomplish this

[PHP] Last working day of a month

2008-12-04 Thread Angelo Zanetti
Hi all, I am busy trying to figure out how to get the last working day in a month. I was wondering if there was a script already written, but this is what I imagine should work: Get the current day and see if it's the last day of the month. If its true check if it's a Saturday or Sunday if it's

[PHP] Extract code from XML

2009-01-30 Thread Angelo Zanetti
I know you can use an @ sign but I am not 100% sure. Thanks in advance. Kind regards, Angelo Zanetti Application Developer _ Telephone: +27 (021) 552 9799 Mobile: +27 (0) 72 441 3355 Fax:+27 (0) 86 681 5885 Web: http://www.elemental.co.za E-Mail: ang...@elemental.co.za

RE: [PHP] Extract code from XML

2009-01-30 Thread Angelo Zanetti
-Original Message- From: Per Jessen [mailto:p...@computer.org] Sent: 30 January 2009 11:53 To: php-general@lists.php.net Subject: Re: [PHP] Extract code from XML Angelo Zanetti wrote: > Hi all, > > I have the following snippet of XML: > > Code: > > > >

[PHP] Forms validation and creation- easier solution?

2009-05-20 Thread Angelo Zanetti
Hi all. We have done quite a few projects and we are looking to find better ways to implementing forms. Forms seem to be quite time consuming and repetitive. Generally are there any classes or libraries that will assist with: 1. Easy creation of forms (fields and layout) 2. V

RE: [PHP] Forms validation and creation- easier solution?

2009-05-20 Thread Angelo Zanetti
_ From: Olexandr Heneralov [mailto:ohenera...@gmail.com] Sent: 20 May 2009 09:08 To: Angelo Zanetti Cc: php-general@lists.php.net Subject: Re: [PHP] Forms validation and creation- easier solution? Hi! Zend framework has a wonderful solution to solve this task. You can download

RE: [PHP] Forms validation and creation- easier solution?

2009-05-20 Thread Angelo Zanetti
-Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: 20 May 2009 16:09 To: php-general@lists.php.net Subject: Re: [PHP] Forms validation and creation- easier solution? On Wed, May 20, 2009 at 10:08:12AM +0300, Olexandr Heneralov wrote: > > 2009/5/20

RE: [PHP] Forms validation and creation- easier solution?

2009-05-22 Thread Angelo Zanetti
-Original Message- From: Manuel Lemos [mailto:mle...@acm.org] Sent: 22 May 2009 09:56 To: Paul M Foster Cc: php-general@lists.php.net; Angelo Zanetti Subject: Re: [PHP] Forms validation and creation- easier solution? Hello, on 05/20/2009 11:09 AM Paul M Foster said the following

[PHP] Object of class could not be converted to string

2009-06-18 Thread Angelo Zanetti
Dear all, We are experiencing this error: "Object of class xxxClass could not be converted to string" I have searched google a lot mostly the results are for Drupal or badly coded sites. I have further found out that the issue is with PHP 5.2 version. There isn't a problem with the script as

[PHP] Extract an element from XML

2009-07-31 Thread Angelo Zanetti
Hi all, I have the following segment of XML: 165432 Now I want to get the value of the BookingReference where the ReferenceSource = "api". In other words I want to get the value 165432. I have the following code: $ItemConfirmationReference2 = $xpath->query('BookingReference ReferenceSource'

[PHP] SESSIONS lost sometimes

2009-08-19 Thread Angelo Zanetti
Dear all, We have a server with a site that does some XML calls. After lots of testing I have found that the server is losing session variables. However sometimes it isn't losing them so I don't think it's a code thing rather a server issue. The strange thing is that its not consistent. Things t

[PHP] SESSIONS lost sometimes

2009-08-19 Thread Angelo Zanetti
Dear all, We have a server with a site that does some XML calls. After lots of testing I have found that the server is losing session variables. However sometimes it isn't losing them so I don't think it's a code thing rather a server issue. The strange thing is that its not consistent. Things t

RE: [PHP] SESSIONS lost sometimes

2009-08-19 Thread Angelo Zanetti
-Original Message- From: Ben Dunlap [mailto:bdun...@agentintellect.com] Sent: 19 August 2009 08:18 PM To: Angelo Zanetti Cc: php-general@lists.php.net Subject: Re: [PHP] SESSIONS lost sometimes > We have a server with a site that does some XML calls. After lots of testing >

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Angelo Zanetti
Hi Leon and all. LEON you are misunderstanding how the sessions work. Also please start your own thread and don't hijack mine. To the rest that replied. Thanks, I am still stuck with the problem I have asked the hosting company to check the storage capacity and also any other issues with the SESS

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Angelo Zanetti
: RE: [PHP] SESSIONS lost sometimes Hi Angelo, No need to be nasty and touchy. If you have done trouble to read I have closed the discussion in a prior listing and referred back to your original thread. thanks -Original Message- From: Angelo Zanetti [mailto:ang...@zlogic.co.za] Sent: 20

RE: [PHP] SESSIONS lost sometimes

2009-08-24 Thread Angelo Zanetti
-Original Message- From: Nitebirdz [mailto:nitebi...@sacredchaos.com] Sent: 20 August 2009 02:58 PM To: php-general@lists.php.net Subject: Re: [PHP] SESSIONS lost sometimes On Thu, Aug 20, 2009 at 02:34:54PM +0200, Angelo Zanetti wrote: > Hi Leon, > > No harm intended :) Jus

RE: [PHP] SESSIONS lost sometimes - SOLVED

2009-08-26 Thread Angelo Zanetti
-Original Message- From: Angelo Zanetti [mailto:ang...@zlogic.co.za] Sent: 24 August 2009 04:30 PM To: 'Nitebirdz'; php-general@lists.php.net Subject: RE: [PHP] SESSIONS lost sometimes -Original Message- From: Nitebirdz [mailto:nitebi...@sacredchaos.com] Sent: 20 A

[PHP] help with \n\r in strings

2006-12-29 Thread Angelo Zanetti
dvance. Angelo -- -------- Angelo Zanetti Systems developer *Telephone:* +27 (021) 469 1052 *Mobile:* +27 (0) 72 441 3355 *Fax:*+27 (0) 86 681 58

Re: [PHP] Re: PHP IMAP with Attachments!?

2007-01-24 Thread Angelo Zanetti
coding:] => base64 [content-disposition:] => attachment; filename="attachment.txt" ) [Parts] => Array ( ) [BodyPart] => 5 [BodyLength] => 64 ) ) ) Its pretty confusing and not too sure where to start. any assistance would be greatly appreciated. kind regards -- ---

[PHP] which package to use for unzipping zipped files with PHP

2007-01-29 Thread Angelo Zanetti
TIA. regards -- Angelo Zanetti Systems developer *Telephone:* +27 (021) 469 1052 *Mobile:* +27 (0) 72 441 3355 *Fax:*+27 (0) 86 681

Re: [PHP] which package to use for unzipping zipped files with PHP

2007-01-29 Thread Angelo Zanetti
on't know), but I can tell it works reliably. :-) jon Angelo Zanetti wrote: Dear all. I have been googling to find out which is the best way to use PHP to unzip a zip file I have found the following: zziplib and pclzip but still can't really decide without doing alot of tes

[PHP] reading in XML document and getting attribute values in PHP4

2007-02-08 Thread Angelo Zanetti
there any pointers to the correct way of doing it? I have been looking also at DOM XML functions that seems to be suitable but am still investigating. Thanks in advance. -- Angelo Zanetti Systems developer

[PHP] SOLVEDRe: [PHP] reading in XML document and getting attribute values in PHP4

2007-02-08 Thread Angelo Zanetti
DOM XML functions are the way to go for PHP4 Angelo Zanetti wrote: Dear all, I have been searching the web and manual for solutions for receiving an XML document and getting the values for the attributes out. I found that PHP5 handles it well but in PHP4 there are many scripts people

[PHP] is_dir reading a folder with a space in the name?

2007-02-08 Thread Angelo Zanetti
. -- Angelo Zanetti Systems developer *Telephone:* +27 (021) 469 1052 *Mobile:* +27 (0) 72 441 3355 *Fax:*+27 (0) 86 681 5885 * Web:* http

Re: [PHP] is_dir reading a folder with a space in the name?

2007-02-08 Thread Angelo Zanetti
its running on a linux server PHP 4.3.x What i mean is that the directory name has a space in it eg: srv/www/htdocs/site/Broker details/ T.Lensselink wrote: OS? PHP version? Tested with PHP4 on Win and *nix : works On Thu, 08 Feb 2007 16:47:26 +0200, Angelo Zanetti <[EMAIL PROTEC

  1   2   3   4   >