Re: [PHP] Form Validation Issues

2007-05-28 Thread Greg Donald
On 5/24/07, Robert Cummings <[EMAIL PROTECTED]> wrote: *lol* You must have missed the other thread... hence the wink on the end :) I'm guessing not everyone uses a threaded email client. And some people always feel the need to post their 'thoughts' no matter how well the question has already b

Re: [PHP] Unknown number of check boxes?

2007-05-28 Thread Jim Lucas
Søren Neigaard wrote: Hi I would like to have a unknown number of generated check boxes like this: Then one the processor page, have it grab the "array" of indexed results being submitted. if (isset($_REQUEST['chk']) && is_array( $_REQUEST['chk']) && count(

Re: [PHP] Uploading Files into MySQL

2007-05-28 Thread Greg Donald
On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I am working on a script to upload files into MySQL db. The following script uploads to a file system how do I go about uploading the file into the DB? Where do I put the SQL statement in the code below? move_uploaded_fil

Re: [PHP] php and Ajax problem

2007-05-28 Thread Jim Lucas
Richard Kurth wrote: I can not figure out way this is not working can somebody help? Untitled function createRequestObject() { var req; if(window.XMLHttpRequest){
  // Firefox, Safari, Opera...
  req = n

Re: [PHP] exec dont work for svn

2007-05-28 Thread Greg Donald
On 5/28/07, Manolet Gmail <[EMAIL PROTECTED]> wrote: but this doesnt work: exec("svn update",$out); foreach($out as $line)echo"$line\n"; dont print anything... dont update the files Is it possible you need to provide some type of authentication? `svn update` may be asking for input your exec

Re: [PHP] php execute command on server

2007-05-28 Thread Greg Donald
On 5/28/07, Jody Gugelhupf <[EMAIL PROTECTED]> wrote: or does the www-data (apache) user needs special user permissions to access the devices /dev/video0 /dev/dsp ? i have no clue, is there a way to see some output? thx for the help :) You can become the user you want to test permissions for

Re: [PHP] Client does not support authentication protocol...

2007-05-28 Thread Chris
Firstly always CC the mailing list - others can learn from the info as well. Ing. Tomás Liendo wrote: Yes, but the solutions that figure in the Web are only applicable if one has access like administrator to the server. I can't make things like upgrade versions or configure MySQL or PHP. What I

[PHP] Streaming download to IE doesn't work

2007-05-28 Thread Daniel Kasak
Hi all. I'm streaming a file ( location of which is to be hidden from clients, hence the need to stream ). Basically I'm doing: --- session_start(); // some authentication stuff and figuring out the path goes here // ... // ... $source = "/accounts_reports/" . $_GET['id'] . ".bin"; header( "Cont

Re: [PHP] Client does not support authentication protocol...

2007-05-28 Thread Chris
Tom wrote: Hi, as always, I'm trying to connect to a MySQL database in the following way: mysql_connect('host','user','password'); In my local PC this Works perfectly, but in the server I receipt the following error: mysql_connect(): Client does not support authentication protocol requested

[PHP] Client does not support authentication protocol...

2007-05-28 Thread Tom
Hi, as always, I'm trying to connect to a MySQL database in the following way: mysql_connect('host','user','password'); In my local PC this Works perfectly, but in the server I receipt the following error: mysql_connect(): Client does not support authentication protocol requested by server; c

[PHP] Re: a question on session ID and security

2007-05-28 Thread Jared Farrish
1. script for login process is located on a SSL-enabled server, so usernames and passwords are encrypted. https:// is an envelope encryption, so POST data, which is a part of the packet data, not packet headers, is encrypted. As long as you POST or COOKIE data that needs encryption, you're fine.

[PHP] a question on session ID and security

2007-05-28 Thread Davis Chan
Hi! I am developing a site with some authenticated users only features. I would like to know if the following is true: 1. script for login process is located on a SSL-enabled server, so usernames and passwords are encrypted. 2. upon successful login, user is relocated to a non-SSL-enabled serve

[PHP] php execute command on server

2007-05-28 Thread Jody Gugelhupf
hi ppl :) i run apache 2 on ubuntu feisty with php 5, i have website on which i have 2 links, the first is a php which should start a vlc stream server on my server (see below), streaming from my tvcard, the vlc command itself executed on my machine from the console shows that the command works

[PHP] Re: Web Application Design Literature

2007-05-28 Thread Jared Farrish
I'm looking for recommendations on literature which will give me ideas on best practices for design and implementation of web applications, with if possible, PHP as its core reference language. Syntax has never been the challenge for me, like for most, it's always been the most practical and inte

[PHP] exec dont work for svn

2007-05-28 Thread Manolet Gmail
hi, i want to do a svn update (subversion) from php using exec (or system) now, this works: exec("ls; pwd",$out); foreach($out as $line)echo"$line\n"; and this also works and print me the help from subversion: exec("svn help",$out); foreach($out as $line)echo"$line\n"; but this doesnt work:

[PHP] Web Application Design Literature

2007-05-28 Thread Steve Finkelstein
Hello - I'm looking for recommendations on literature which will give me ideas on best practices for design and implementation of web applications, with if possible, PHP as its core reference language. Syntax has never been the challenge for me, like for most, it's always been the most practical

[PHP] Tuning LAMP systems: Optimizing Apache and PHP

2007-05-28 Thread Daevid Vincent
I saw this on article on Digg. Reposting here in case anyone is interested or missed it being a holiday today and all... http://digg.com/programming/Optimize_PHP_and_Accelerate_Apache Direct links: http://www.ibm.com/developerworks/linux/library/l-tune-lamp-1/index.html http://www.ibm.com/develo

Re: [PHP] Upload a ppt file

2007-05-28 Thread Tijnema
On 5/28/07, tedd <[EMAIL PROTECTED]> wrote: Hi Gang: I can upload a text file and an image file via a html form, but I am having problems uploading a PowerPoint file. Apparently, that's a different critter. Does any have any references or an example to show me? Thanks, Cheers, tedd It shou

[PHP] Re: Unknown number of check boxes?

2007-05-28 Thread Jared Farrish
On 5/28/07, Jared Farrish <[EMAIL PROTECTED]> wrote: $tr = $i % 5 === 0 ? Array('','') : Array('',''); Ignore this line, it was from an earlier iteration of that function. -- Jared Farrish Intermediate Web Developer Denton, Tx Abraham Maslow: "If the only tool you have is a hammer,

[PHP] Re: Unknown number of check boxes?

2007-05-28 Thread Jared Farrish
Stephen Neigaard wrote: I would like to have a unknown number of generated check boxes like this: And the name will be generated "chk01 to chk99", but how do I make the receiving PHP script that "scans" for post variables that are sent, so that I can work on this information? Inspect this

Re: [PHP] php and Ajax problem

2007-05-28 Thread Tijnema
On 5/28/07, Richard Kurth <[EMAIL PROTECTED]> wrote: I can not figure out way this is not working can somebody help? Untitled function createRequestObject() { var req; if(window.XMLHttpRequest){ // Firefox, Safari, Opera... req = new XMLHttpRequest(); } else if(window.Activ

Re: [PHP] php and Ajax problem

2007-05-28 Thread Stut
Not even slightly a PHP question, but since it's a bank holiday I seem to temporarily be in a more helpful mood. Richard Kurth wrote: $event['deleteevent']=' href="javascript:sendRequest(delete,32423434234234234324)">Delete this event'; echo $event['deleteevent']; ?> I'm thinking you need

[PHP] Re: Upload a ppt file

2007-05-28 Thread Jared Farrish
Does any have any references or an example to show me? Well, I think we need a description of the error or the invalid response you're having. It could be a file-size issue (your php.ini configuration won't allow file sizes > 8mb's, for instance). Have you googled it? -- Jared Farrish Intermed

Re: [PHP] Unknown number of check boxes?

2007-05-28 Thread Stephen
Søren Neigaard wrote: I would like to have a unknown number of generated check boxes like this: And the name will be generated "chk01 to chk99", but how do I make the receiving PHP script that "scans" for post variables that are sent, so that I can work on this information? The form pos

[PHP] Upload a ppt file

2007-05-28 Thread tedd
Hi Gang: I can upload a text file and an image file via a html form, but I am having problems uploading a PowerPoint file. Apparently, that's a different critter. Does any have any references or an example to show me? Thanks, Cheers, tedd -- --- http://sperling.com http://ancientston

[PHP] Unknown number of check boxes?

2007-05-28 Thread Søren Neigaard
Hi I would like to have a unknown number of generated check boxes like this: And the name will be generated "chk01 to chk99", but how do I make the receiving PHP script that "scans" for post variables that are sent, so that I can work on this information? Best regards Søren smime.p

[PHP] php and Ajax problem

2007-05-28 Thread Richard Kurth
I can not figure out way this is not working can somebody help? Untitled function createRequestObject() { var req; if(window.XMLHttpRequest){ // Firefox, Safari, Opera... req = new XMLHttpRequest(); } else if(window.ActiveXObject) { // Internet Explorer 5+

Re: [PHP] Tracking exit links with php?

2007-05-28 Thread Tijnema
On 5/28/07, Merlin <[EMAIL PROTECTED]> wrote: Hi there, I am wondering if it is possible to track links on for example google adsense as exit URLs with PHP. You can track referers, I know, but what about the adsense banner on your pages. Did you ever wonder which page exactly leads to a click?

[PHP] Tracking exit links with php?

2007-05-28 Thread Jared Farrish
Any ideas on how to track that? Two things: 1) This is probably going to have to some kind of javascript spy that reports to a (php/asp/python/ruby) page for recording onUnload(). 2) You might read the Google AdSense legalese to see if they allow it, or if they provide it (maybe for a fee). Wha

[PHP] Re: PHP5 oop question...

2007-05-28 Thread Jared Farrish
When in-scope and using static functions, use self: class Static_Ex { private static $variable = 'This is a static variable'; public static function tryStatic() { return self::$variable; } } echo Static_Ex::tryStatic(); If you think about it, there is no $this in a static fun

[PHP] Tracking exit links with php?

2007-05-28 Thread Merlin
Hi there, I am wondering if it is possible to track links on for example google adsense as exit URLs with PHP. You can track referers, I know, but what about the adsense banner on your pages. Did you ever wonder which page exactly leads to a click? I would like to track which adsense link th

[PHP] [TEST] LINKS EXCHANGE

2007-05-28 Thread Marco Sottana
i would like to test www.3viso.com/addurl try to input your link and categories and tell me what you think about it thank a lot

Re: [PHP] PHP5 oop question...

2007-05-28 Thread Andrei
Stut wrote: > Andrei wrote: >> Hi list, >> >> I have a class which I use to parse simple bbcode inside some >> comments. >> I noticed on PHP5 that scope of preg_replace function is changed >> when function is called inside a class. To the point: >> >> [CODE] >> class PHS_editor >> { >>

Re: [PHP] alert pcinfinity

2007-05-28 Thread Stut
Heiko Sudar wrote: does someone ever hear of an internet explorer alert "pcinfinity"? I really didn´t find anything in forums and search engines, so maybe somebody in this list knows better... I'm not sure what you mean by "internet explorer alert", but it sounds like either advertising or you

Re: [PHP] PHP5 oop question...

2007-05-28 Thread Stut
Andrei wrote: Hi list, I have a class which I use to parse simple bbcode inside some comments. I noticed on PHP5 that scope of preg_replace function is changed when function is called inside a class. To the point: [CODE] class PHS_editor { ... function parse_content( $str =

[PHP] alert pcinfinity

2007-05-28 Thread Heiko Sudar
hi all, does someone ever hear of an internet explorer alert "pcinfinity"? I really didn´t find anything in forums and search engines, so maybe somebody in this list knows better... thanks for answers heiko --- „lernen ist wie rudern gegen den strom –

[PHP] Re: Protected Mail Request

2007-05-28 Thread nlopess
Forwarded message is available. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php