[PHP] using curl to peform post

2005-12-04 Thread Brent Clark
Hi all I have need to simulate the role of a web browser by submitting the following code. GREENc Heres my PHP code that got from the curl function. Any assistant would gratefully be appreciated. Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] php training tips

2004-07-07 Thread Brent Clark
some of the other wonderful sites (PHPClasses etc), basically teach the people to think for themselves and where the resources are if they hit a stumbling block. Just my 2c for the day Kind Regards Brent Clark - Original Message - From: "Jaskirat Singh" <[EMAIL PROTECTED]

RE: [PHP] file locking over NFS?

2004-07-05 Thread Brent Clark
Hi there If i am not mistaken, that is a standard part of the nfs suite. All you need to make sure is that your export is correct, and the you are not using the -nolock option. Other than that if its PHP you more interested in, look at the flock() function. Kind Regards Brent Clark

[PHP] php functions avail ?

2004-07-01 Thread Brent Clark
Hi I would like to know if these functions (for php 5)are already uploaded, available on the php.net sites, in terms of research and or support. http://zend.com/php5/whats-new.php Kind Regards Brent Clark MSN: [EMAIL PROTECTED] eMail: [EMAIL PROTECTED] Cell: +27 82 701 7827 Work No: +27 21 683

[PHP] file locking question

2004-06-21 Thread Brent Clark
Hi all I have this script whereby I use the php function file(). Just a quick question, do I need to implement file locking. if so, can I just use something like flock( file("/path/file.ext") ); Kind Regards Brent Clark MSN: [EMAIL PROTECTED] eMail: [EMAIL PROTECTED] Cell:

[PHP] html problem

2004-06-17 Thread Brent Clark
Hi all When ever I do echo on my variable I get the following out: Business%20Class is there a way to strip the %20, or what ever be displaying if the future. If someone could assist, it would be most appreciated. Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] PHP

2004-06-14 Thread Brent Clark
hi is this a joke -Original Message- From: Cheung Pui Pan [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 11:03 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP Dear Sir/Madam, I would like to make a page on which people may add records to a table and view them (As my web server do

[PHP] Array problem

2004-06-14 Thread Brent Clark
s what I was going with. foreach($ff as $qaz=>$wsx){ $ffile[substr($qaz[0],1)]=$qaz[0]; } If anyone could assist, it would really be appreciated. Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Cant right click

2004-05-31 Thread Brent Clark
ght click on the pic Weird Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] BUTTONS

2004-05-31 Thread Brent Clark
Hi all I came across this on freshmeat, I thought I must share it http://phpbutton.sourceforge.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] want to buy second hand books online - cant remember site

2004-05-21 Thread Brent Clark
appreciated. Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Distance and info

2004-05-19 Thread Brent Clark
its pretty acurrate. Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML problem

2004-05-18 Thread Brent Clark
.zend.com/zend/tut/index.php Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] between date

2004-05-18 Thread Brent Clark
Hi Sorry, I should have copied and pasted the table structure before, sending the mail. (Sorry for the scewness) Kind Regards Brent Clark ++---+++++ | id | user | ref_id | stage | files_captured | time

[PHP] between date

2004-05-18 Thread Brent Clark
Hi all I have a table whereby I use the php date() and time() function. I retrieve the data etc, no problem. but I now need to perform a query of between dates. Is there a function or method to perform this. Kind Regards and thank you in advance Brent Clark -- PHP General Mailing List

[PHP] Select box

2004-05-18 Thread Brent Clark
Hi all For the likes of me I cant seem to figure out how to have a select drop down box , and have it so, that when I click the submit button, the page displays the correct content (which is what it does) but at the same time I need the select box to be at the option of the query. Below is part o

[PHP] thought I should share this

2004-05-17 Thread Brent Clark
http://developers.slashdot.org/article.pl?sid=04/05/16/1631212&mode=thread&tid=126&tid=169&tid=172 Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Not sure

2004-05-14 Thread Brent Clark
e="frow" But then my PHP does not work, and the Javascript does work (Selects all the checkboxes with a tick) I can determine if this is a javascript fault or a php fault. Im stumped If know of a solution, it would be most appreciated Kind Regards Brent Clark -- PHP General Mailing L

[PHP] LAMP - Thanks

2004-05-07 Thread Brent Clark
Hi Thank you And yes, I feel like a dork, for not knowing this. LOL Enjoy the weekend, where ever you may be. Brent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] LAMP

2004-05-07 Thread Brent Clark
Hi Anyone know what LAMP stand for Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Active PHP Sessions

2004-05-07 Thread Brent Clark
te. > > How can I do this? Hi Are we talking about smb shares for linux. If so, why dont you just ask your admin to create a share to "/tmp" or create via php a web page that looks at /tmp and displayes the file. Remember, there are many ways to skin a cat. >Copied and pasted f

[PHP] gifs, icons etc

2004-05-06 Thread Brent Clark
Hi all I would like to know if any body has a url for free some icons and, or small pics that can be used in a site \ page development. I was looking at a project call dotproject. And I noticed a lot of kewl small pics. I dont want to infringe on any licenses etc Kind Regards Brent Clark

Re: [PHP] protecting web page

2004-05-05 Thread Brent Clark
ore a class or > function to prevent for printing. Hi No disrespect Whats wrong in sharing your code believe in open source hmmm! Just something I was wondering Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] passing the file back

2004-05-03 Thread Brent Clark
the source, but my OO skills is very much lagging. > > I basically want a file to be passed back to me, via a web front end > > > > Kind Regards > > Brent Clark > > not sure what you're after here as mambo gives you an option to download the > file to the local co

[PHP] passing the file back

2004-04-30 Thread Brent Clark
basically want a file to be passed back to me, via a web front end Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Hope this helps someone

2004-04-30 Thread Brent Clark
http://www.hk8.org/old_web/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] Button ???

2004-04-23 Thread Brent Clark
> Agreed, but he didn't know it was JavaScript causing it (as was > obvious from his first post). I'm all for keeping "on topic" - but > really, you have to cut some people some slack sometimes. Hi Its kewl I should have known better and investigated it more proper

Re: [PHP] Button ???

2004-04-23 Thread Brent Clark
> This has nothing to do with PHP. > > Its javascript, http://www.jguru.com/faq/view.jsp?EID=280434 > Please keep to topic. Your right and I apologies Thanks for the link Much appreciated Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Button ???

2004-04-23 Thread Brent Clark
> Something like this: > > Hi Yes this is correct But how do you get it from an active to disabled state Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Button ???

2004-04-23 Thread Brent Clark
and be so kind as to share your code \ idea, that would be most appreciated Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP vs PERL? HOPE THIS HELPS

2004-04-22 Thread Brent Clark
>That's a really interesting link. Thanks! No problem, my pleasure I was quite shocked to see how PHP performed gcc still rocks though Brent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP vs PERL? HOPE THIS HELPS

2004-04-22 Thread Brent Clark
http://www.bagley.org/~doug/shootout/index2.shtml http://www.bagley.org/~doug/shootout/bench/ary3/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] JScript

2004-04-22 Thread Brent Clark
Hi sorry I figured it out here is my example Kind Regards Brent Clark echo"$var"; I add this part after the jscripts ") opener=self;return false;" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] JScript

2004-04-22 Thread Brent Clark
Regards Brent Clark echo"$va r"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Text Box question

2004-04-21 Thread Brent Clark
>You can use javascript to perform this... Do the following: > > document.formName.boxName.focus(); // set the focus to the box > Thank you Worked like charm Much appreciated Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] A good search tutorial

2004-04-21 Thread Brent Clark
(mysql) is big or anything, and I only work with a very selected columns I just normally use LIKE in my query. E.g. SELECT abc FROM def WHERE LIKE '%string%'; Depending on what you what. I place the % before, after and in this example before and after. Kind Regards Brent Clark -- PHP G

[PHP] Text Box question

2004-04-21 Thread Brent Clark
Hi all I have a problem where, when I click on a link and when the page is finish loading I would like for the cursor to ready in the correct html text box. I cant seem to find a solution If anyone could help, that would be most appreciated Kind Regards Brent Clark -- PHP General Mailing List

Re: [PHP] Search for a *

2004-04-20 Thread Brent Clark
> preg_match('/\*/', $var); Thanks, worked like charm Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Search for a *

2004-04-20 Thread Brent Clark
Hi all how do you search for a * in preg_match Kind Regards Brent Clark

Re: [PHP] FW: Resizing Pictures

2004-04-20 Thread Brent Clark
. > Alternatively phpgallery - http://www.giffin.org/phpgallery.php > has a similar set of functions but you will need to scout them out. > ( Isn't open source great - just borrow what you want :) ) Indeed it is There is real nice one called phpix. This is non OO project. Might be easier to

[PHP] C or C++

2004-04-19 Thread Brent Clark
Hi All Just a quick question, is PHP written in C or C++. Kind Regards Brent Clark

[PHP] restart a function

2004-04-16 Thread Brent Clark
; If someone knows of an elegant why to perfect this, that would be most appreciated. Kind Regards Brent Clark if(is_dir($batch_dir)){ $fd = opendir($batch_dir); while(($part = readdir($fd)) == True

[PHP] Getting the barcode

2004-04-13 Thread Brent Clark
o get this it an array or do a grep on this. There can be many lines that begin with Code 39-> If somone can assist that would be most appreciated. Im out of ideas on this one Kind Regards and thank you Brent Clark

[PHP] Javascript help

2004-04-13 Thread Brent Clark
finished Anyone know of a javascript mailing list, that what I would not have to post the wrong thread to this mailing list. Kind Regards and thank you Brent Clark

[PHP] SsH

2004-04-13 Thread Brent Clark
Does anybody know if theirs a function or something for php that when I click a button it automatically sshes into a box runs a script and then exits? Ive seen it been done in java but php would be better. Kind Regards Brent Clark

[PHP] Ncurses example @ zend

2004-04-08 Thread Brent Clark
Hi all a while ago I posted a request for if someone knew anything or know of example etc about ncurses etc I found this http://www.zend.com/zend/tut/tut-degan.php Kind Regards Brent Clark

[PHP] header problems

2004-04-08 Thread Brent Clark
/html/convert_tif2pdf.php"); header("Location: capture.php"); exit; } Kind Regards and thank you Brent Clark

[PHP] Executing PHP shell script in PHP

2004-04-06 Thread Brent Clark
Hi Does anyone know of how to execute a php shell script in a php file. Kind Regards Brent Clark

[PHP] Ncurses

2004-04-02 Thread Brent Clark
Hi all I was browsing the list of functions for PHP and I saw a whole range of ncurses functions. I was wondering if anyone knows of a site that has any demos or examples and or where it can be used Kind Regards Brent Clark

[PHP] tiff to pdf conversion

2004-04-02 Thread Brent Clark
Hi all anyone know of a quick way to convert a tiff file to a pdf format file. I was thinking of a shell script. Kind Regards Brent Clark

[PHP] Regex

2004-03-31 Thread Brent Clark
Hi all does anyone know of a regex expression to get only the number number from after the Code 39 Kind Regards Brent Clark 1 barcodes found Code 39->10005215 This is the search1 barcodes found 2 barcodes found Code 39->10005216 Datalogic 2 of 5->4 This is the search2 barcode

[PHP] Grabbing the STDOUT

2004-03-30 Thread Brent Clark
found I basically need to grab this output. Does anyone know how to send this to an array or varible. I too have tried the passthru function. Kind Regards and thanks to anyone that can help Brent Clark $key){ system("/usr/sbin/readbar $key 2>%1"); } ?>

[PHP] Java script prompt - help

2004-03-23 Thread Brent Clark
and thank you Brent Clark

[PHP] Mysql look up and then rename

2004-03-19 Thread Brent Clark
present. then make it 10006547A.pdf else if does exist, make it 10006547B.pdf for some reason I cant seem to pull this off, add I honestly thought is would be a simple function. If anyone knows of a URL or can help in anyway I really would appreciate it Kind Regards Brent Clark

[PHP] Letter incrementing

2004-03-18 Thread Brent Clark
Hi all Does anyone know how, or even if it is possible to increment a letter from the alphabet. I know that if you use e.g $o = 1; $o++; will result in $o == 2,. But I need to do a $variable = "B"; and then do a $variable++ that will result in $variable == "C" Kind Regards Brent Clark

[PHP] Regex help - PLease

2004-03-16 Thread Brent Clark
Sorry I to should have added this this is what im going with so far preg_match(/\d100.*/); Kind Regards Brent Clark

[PHP] Regex help - PLease

2004-03-16 Thread Brent Clark
Hi there im in desperate need of help for a reg expression to ONLY allow 8 NUMBERS to start with 100 and may not have any other kind of letters or characters. Only numbers for example 10064893 Kind Regards And thank you Brent Clark

[PHP] Presence of a program (PHP)

2004-03-15 Thread Brent Clark
browser. I was thinking of trying to do a find the adobe.exe file, but I dont think that to smart solution. Kind Regards Brent Clark

[PHP] Listing for a specific list of files

2004-03-10 Thread Brent Clark
way. That would be most appreciated Kind regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php