Re: [PHP] Command line PHP

2011-01-07 Thread Nicholas Kell
On Jan 7, 2011, at 1:34 PM, TR Shaw wrote: > > On Jan 7, 2011, at 12:08 PM, Nicholas Kell wrote: > >> >> On Jan 7, 2011, at 11:01 AM, Joshua Kehn wrote: >> >>> On Jan 7, 2011, at 11:55 AM, la...@garfieldtech.com wrote: >>> >>>> Hi fol

Re: [PHP] Exec Script in the background, don't wait till it finishes

2011-01-14 Thread Nicholas Kell
On Jan 14, 2011, at 10:56 AM, Kai Renz wrote: > Hi there, > > i'm currently working on a socket project. It consists of two scripts. > The first script (socket1.php) creates a socket on a specified port > and waits for a client to connect. If a client connects, they exchange > some informations,

Re: [PHP] Exec Script in the background, don't wait till it finishes

2011-01-14 Thread Nicholas Kell
On Jan 14, 2011, at 12:41 PM, Kai Renz wrote: > Hi guys and thanks for your answers... > > @Nicholas: > Yes, you are right. The first socket is only used if a new clients > connects, thats why the script generates a new port so the client can > connect to the new socket.

Re: [PHP] Exec Script in the background, don't wait till it finishes

2011-01-14 Thread Nicholas Kell
On Jan 14, 2011, at 12:41 PM, Kai Renz wrote: > Hi guys and thanks for your answers... > > @Nicholas: > Yes, you are right. The first socket is only used if a new clients > connects, thats why the script generates a new port so the client can > connect to the new socket.

Re: [PHP] Parse question

2011-01-21 Thread Nicholas Kell
On Jan 21, 2011, at 6:52 PM, Ron Piggott wrote: > > Would someone write me a syntax so all the web site addresses in $data turn > into links > > $data = “Visit our web site http://www.site.com, http://www.secondsite.org > and http://www.thirdsite.info.”; > > My desired results for what I am

Re: [PHP] odd list bounces

2011-01-31 Thread Nicholas Kell
On Jan 31, 2011, at 4:47 AM, Ashley Sheridan wrote: > Hiya, > > Is anyone else getting odd bounce messages? I just received one from the > list about a message that was returned as a bounce from my email > address. The fact that I was able to read an email about an email that > bounced from me s

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Nicholas Kell
On Feb 15, 2011, at 10:51 AM, tedd wrote: > At 8:26 PM -0500 2/14/11, Brian Waters wrote: >> Hi everyone! I'm just starting out with PHP so I'm looking for a good >> place to ask some questions, have my code critiqued (read: visciously >> ripped apart), and generally BS about PHP and programming

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Nicholas Kell
On Feb 15, 2011, at 11:52 AM, tedd wrote: > At 11:37 AM -0600 2/15/11, Nicholas Kell wrote: >> On Feb 15, 2011, at 10:51 AM, tedd wrote: >> > At 8:26 PM -0500 2/14/11, Brian Waters wrote: >> >> (if that's OK). I know that PHP sometimes has a reputation for h

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Nicholas Kell
On Feb 15, 2011, at 1:20 PM, Mujtaba Arshad wrote: > I would say all languages have their 'lousy developers', however, since very > few schools focus on teaching the 'proper coding style' for PHP it leads to > people learning from a variety of resources available online, and this leads > to them

Re: [PHP] iVery payment integration help

2011-02-16 Thread Nicholas Kell
On Feb 16, 2011, at 3:34 PM, Mujtaba Arshad wrote: > Here you go: > http://lmgtfy.com/?q=how+to+integrate+the+iVeri+payment+gateway+in+a+wordpress+site > > On Wed, Feb 16, 2011 at 4:27 PM, Michael Simiyu > wrote: > >> hello, >> >> i need some quick help integrating the iVery payment gateway i

Re: [PHP] > 2gb file issues

2011-02-17 Thread Nicholas Kell
On Feb 17, 2011, at 3:29 PM, Steve Staples wrote: > Is there a workaround for 32bit systems wanting to use > fopen() > is_file() > filesize() > > and i am sure there are others.. on files that are > 2gb? > > My development box is win visat 64bit, and i dont have any issues, when > i ported it

[PHP] MySQL Unbuffered Query Behavior Change

2011-03-16 Thread Nicholas Williams
I was previously on PHP 5.1.6 and was using the following code: $dbr = mysql_unbuffered_query($query, $this->con); while($row = mysql_fetch_array($dbr, $assoc ? MYSQL_ASSOC : MYSQL_NUM)) $this->result[] = $row; $this->rows = mysql_num_rows($dbr); It worked properly. The documentation at htt

[PHP] If Statements Array and Notice Undefined Index

2011-03-31 Thread Nicholas Cooper
cing a number of "if isset" statements. if ($arrayA['id'] == $arrayB['id'] || $arrayC['id'] == $arrayB['id']) { } I have notices switched off, but I want to know the right way to do this. There's probably a number of different right ways to solve this, how would you do it? Best Regards, Nicholas

Re: [PHP] If Statements Array and Notice Undefined Index

2011-03-31 Thread Nicholas Cooper
On 31 March 2011 15:53, Stuart Dallas wrote: > On Thursday, 31 March 2011 at 15:45, Nicholas Cooper wrote: > Good day, > > > > I have three arrays A, B and C. Anyone of them might not have the 'id' > key > > set which will give the Notice "Undefined inde

[PHP] Reading only RGB portion of an image, file_get_conents minus file headers etc

2012-01-23 Thread Nicholas Cooper
nyway to access only the useful image bits, those 48 numbers? Thank you, Nicholas Cooper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reading only RGB portion of an image, file_get_conents minus file headers etc

2012-01-23 Thread Nicholas Cooper
On 23 January 2012 13:26, Matijn Woudt wrote: > On Mon, Jan 23, 2012 at 1:51 PM, Nicholas Cooper > wrote: >> Hi everyone, >> >> I've created an image in RGB from ImageMagick, it's 4 by 4 so I'm >> expecting 48 numbers (4*4*3). [width*height*(R,

Re: [PHP] Reading only RGB portion of an image, file_get_conents minus file headers etc

2012-01-23 Thread Nicholas Cooper
On 23 January 2012 14:34, Matijn Woudt wrote: > On Mon, Jan 23, 2012 at 3:26 PM, Nicholas Cooper > wrote: >> On 23 January 2012 13:26, Matijn Woudt wrote: >>> On Mon, Jan 23, 2012 at 1:51 PM, Nicholas Cooper >>> wrote: >>>> Hi everyone, >>>&

[PHP] Ftp a file-->errors in rendered page, Ftp the file again-->works fine. Huh?

2006-11-23 Thread Nicholas Crosby
Hello: I would appreciate any help on this that someone might have. A student of mine found this issue. He ftp's a file to a server and looks at it through a browser, there are errors. He uploads the file again, it works fine. I am stumped. Any ideas? Here is the text of the file that he is upload

[PHP] [How-to]flatfile New system with comments

2006-02-23 Thread Nicholas Couloute
How would I make a flatfile new systen with the ability for users to comment on the news selection (no login required)? ~Nick Couloute co-owner/Web Designer Sidekick2Music.Com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [How-to]flatfile New system with comments

2006-02-23 Thread Nicholas Couloute
LOL. I see the point your trying to make! I have made a news script before but how would I add coments to each individual new article! How would I keep it all together! and also to show only the lastest news articles! On Thu, 23 Feb 2006 3:04 pm, Jay Blanchard wrote: [snip] How would I make

[PHP] What is best way to do handle audio files?

2006-04-08 Thread Nicholas Couloute
On my website http://www.sidekick2music.com ! I use scandir() [php 5.0] to fetch all the files which are all in subfolders of this one folder. like this: public_html/amrs/$cat/$author/*.amr $cat = different catergoried of music $author = Authors of the particular catergory This way isn't fast

[PHP] What is best way to do handle audio files?

2006-04-08 Thread Nicholas Couloute
On my website http://www.sidekick2music.com ! I use scandir() to fetch all the files which are all in subfolders of this one folder. like this: public_html/amrs/$cat/$author/*.amr $cat = different catergoried of music $author = Authors of the particular catergory This way isn't fast when you ha

Re: [PHP] What is best way to do handle audio files?

2006-04-09 Thread Nicholas Couloute
s are constantly changing, scandir is probably as fast as it gets... If you rarely alter the files, do scandir once and store the results in, say, MySQL and you can search/sort MUCH faster. On Sat, April 8, 2006 11:01 am, Nicholas Couloute wrote: On my website http://www.sidekick2music.com ! I use sc

[PHP] serialize() function

2006-04-13 Thread Nicholas Couloute
Are there any tutorials and uses for serialize() ? I went to php.net and it isn't well documented as I would hope! ~Nick Couloute co-owner/Web Designer Sidekick2Music.Com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Missing Var

2004-01-29 Thread Nicholas Fitzgerald
Running Red Hat Fedora 1, latest updates. MySQL 3.23.58 PHP 4.3.4 Apache 2.0.48. Uploaded file info not showing up where it's supposed to. Here's the scenario: Here is my "form header": Here is the input field where it gets the filename: Here is the PHP code that execute

Re: [PHP] [php] search.php

2004-01-29 Thread Nicholas Fitzgerald
Try Axel Search at http://www.geocities.com/nfzgrld [EMAIL PROTECTED] wrote: hi, ASP seek is not ASP i doubt if the author of ASPSeek has ever written a single line of code in ASP. he is a damn good c programmer though. (btw aspseek is based on mnogo anyway) mnogo has a PHP api. and there is n

[PHP] any good tutorials on how to create an online shop?

2006-01-07 Thread Nicholas Couloute
I need to make an online shop that lets the user select multiply files up to 6mbs then they would all send to the users email address! I need help with the online shop part! it won't involve money so no need for sequirity! ay tutorials? ~Nick -- PHP General Mailing List (http://www.php.net/) T

[PHP] need help arranging files!

2006-01-16 Thread Nicholas Couloute
I need to know how to arrange files alphabetically in my directory when I display it on the browser! I have it display the filename foreach that exist is there a way to arrange by alphabet? ~Nick Couloute co-owner/web Designer SiDEkiCk2MuSiC.CoM -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] need help arranging files!

2006-01-16 Thread Nicholas Couloute
can any one help me out? plz ~Nick Couloute co-owner/web Designer SiDEkiCk2MuSiC.CoM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] need help arranging files!

2006-01-16 Thread Nicholas Couloute
I figured it out! it runs on my pc but not on the web! $fileroot = "amrs/$cat/"; foreach ($author = scandir($fileroot); as $author){ echo "$author"; } ??? ~Nick Couloute co-owner/web Designer SiDEkiCk2MuSiC.CoM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] need help arranging files!

2006-01-17 Thread Nicholas Couloute
Weberdev.com is a nice site! On Tue, 17 Jan 2006 11:34 am, Richard Correia wrote: You can locate a good directory reading script at http://www.weberdev.com/get_example-1456.html Thanks, Richard On 1/17/06, Nicholas Couloute <[EMAIL PROTECTED]> wrote: I need to know how to arrange

[PHP] Search files in a directory!

2006-01-23 Thread Nicholas Couloute
I want to setup a search box that will search all the filenames in a given directory for the keyword provided by the user and display all the files that have that keyword? how would I do this? at least the searching part? ~Nick Couloute co-owner/Web Designer Sidekick2Music.Com -- PHP General

Re: [PHP][SOLVED] Re: Search files in a directory!

2006-01-23 Thread Nicholas Couloute
thank you barry! function substr_count() does what I need! On Mon, 23 Jan 2006 9:13 am, Barry Krein wrote: Nicholas Couloute wrote: What would I do to the variable each tome to compare it to the query? ~Nick Couloute co-owner/Web Designer Sidekick2Music.Com use substring count or any other

[PHP] How would u strip the path?

2006-01-24 Thread Nicholas Couloute
how would u strip the path off of a variable? say that: $bob = "/home/s2music/b/bob.mp3"; I want bob just to be "bob.mp3"! how would I do that? ~Nick Couloute co-owner/Web Designer Sidekick2Music.Com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: [PHP][SOLVED] How would u strip the path?

2006-01-24 Thread Nicholas Couloute
Thanks that is just what I needed! On Tue, 24 Jan 2006 4:08 am, Paul Scott wrote: On Tue, 2006-01-24 at 04:01 -0500, Nicholas Couloute wrote: how would u strip the path off of a variable? say that: http://za2.php.net/manual/en/function.basename.php basename it! --Paul ~Nick Couloute co

[PHP] Counting files in directory and subdirectory!

2006-01-25 Thread Nicholas Couloute
I want a script where it will count all the amrs in a folder and it's sub folders like this setup: amrs > 50 cent > amrs nitty > amrs bob > amrs How would I do this? ~Nick Couloute co-owner/Web Designer Sidekick2Music.Com -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Counting files in directory and subdirectory!

2006-01-25 Thread Nicholas Couloute
I have used these functions but how would I count them! here is my attempt that doesn't work!: $count = 0; $dir = "/amrs"; $files1 = scandir($dir); if ($files1 !== '.' && $files1 !== '..') { foreach ($files1 as $files2){ $dir2 = "/amrs/$files2"; $files3 = scandir($dir2); if ($files3 !== '.' && $f

Re: [PHP] Counting files in directory and subdirectory!

2006-01-25 Thread Nicholas Couloute
here is what I tried but it doesn't work! any advice suggestions or something? $count = 0; $dir = "/amrs"; $files1 = scandir($dir); if ($files1 !== '.' && $files1 !== '..') { foreach ($files1 as $files2){ $dir2 = "/amrs/$files2"; $files3 = scandir($dir2); if ($files3 !== '.' && $files3 !== '..')

[PHP] Flatfile forum?

2006-02-12 Thread Nicholas Couloute
I am interested in creating a flatfile database forum! How would I go about doing this. I know it has been done before! I want to make one from the ground up! ~Nick Couloute co-owner/Web Designer Sidekick2Music.Com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP] Upload via email?

2006-02-15 Thread Nicholas Couloute
How would u make a script that uploads files to ur server via email? 1. user emails the server 2. if there is a audio file (amr) attached then add it a folder! Are there any scripts that can do that? ~Nick Couloute co-owner/Web Designer Sidekick2Music.Com -- PHP General Mailing List (http://www

[PHP] Getting ASPELL to work?

2001-02-07 Thread Nicholas Pappas
Is there a secret to get the 'aspell_*' functions to work? I tried running one and got a 'unsupported function' error. :( I am running a RH7.0 system with PHP3. Aspell is installed on the system, but I did not do anything special at compile time (except MySQL support). Is th

[PHP] [sessions] using [sockets]. Very tough!

2003-05-30 Thread Nicholas F. Singh
hink of is, perhaps, the session_start() call in tst2.php sees the HTTP socket from tst1.php as coming from *OUTSIDE* the server (but it really isn't). In such cases, session_start() will not use the ID passed to it (as it should), and will generate a new session. I'm not sure if this is *the* problem, but I think I've exhausted other possibilities. Please contact me via email if you can! I really need this issue resolved. I will be happy to talk you through the problem if you're interested in solving it 8^). Thanks for reading, your help is greatly appreciated! Nicholas Singh [EMAIL PROTECTED] University of Minnesota Institute of Technology

[PHP] passing variables in javascript

2001-02-22 Thread Nicholas W. Miller
I have a text link that is coded to open a PHP file in a popup window: http://www.domain.com/biz/pubs.html#antitrust','email','width=410,height=435')">Emailthis article For some reason the $url variables cuts off the anchor, so I only get this: $url = http://www.dttgfsi.com/ebiz/pubs_eviews.h

Fwd: Re: [PHP] passing variables in javascript

2001-02-22 Thread Nicholas W. Miller
> H ... is there anyway to do this without requiring the page >with the link to use PHP? > >> >>You have to encode each part of the query string on the URL correctly: >> >>> . "&url=" . >>urlencode("http://www.domain.com/biz/pubs.html#antitrust"); >>?>', 'email','width=410,height=435

[PHP] Variables not changing problem...

2001-08-23 Thread Nicholas A. Zukin
I'm using the function below to create a listing of name/value pairs to use in Flash. The first time it runs it works fine, but then after the first time, it uses the originally used variables. So if the URL looks like this: mydomain.com/hum_images.php?hub_section=product&hub_subsect

[PHP] pulling content from a URL

2005-03-04 Thread Nicholas W . Miller
can then parse. The URL will be hard coded into the script, so I don't need a lot of error checking to insure correct URL format, etc. Thanks, Nicholas Miller Intercast Media, Inc. 229 19th Ave. Suite 4 San Francisco, CA 94121 415-379-9500 415-520-9501 (fax) [EMAIL PROTECTED] -- PHP Genera

Re: [PHP] bulk emailer

2005-03-11 Thread Nicholas W . Miller
the browser and the seem to come in batches of a couple hundred at a time, but it will eventually display all of the addresses with some patience. Nicholas Miller Intercast Media, Inc. 229 19th Ave. Suite 4 San Francisco, CA 94121 415-379-9500 415-520-9501 (fax) [EMAIL PROTECTED] -- PHP Genera

[PHP] counting files

2001-02-16 Thread Nicholas W. Miller
I have a web page that displays an image. I would like to randomize which image it displays when the page loads. Every possible image will be the same dimensions and file format. Each image will be named a consecutive number begining with 1. The code I am using is: $number = rand(1, 10); $fi

[PHP] pgp text formatting

2001-02-16 Thread Nicholas W. Miller
I sent this off a couple days ago, but did not see it on the list ... please excuse the traffic if you are seeing this for a second time. I am writing some code (PHP3/4 on Apache) that encrypts some text using PGP and writes it to a log_file. I am having problems getting the line breaks to remai

[PHP] connectivity test

2001-02-19 Thread Nicholas W. Miller
Is it possible to test a user's line speed with PHP? I have a site with a lot of video. Each clip has the standard 28/56/128 speed choice. I would like to offer the user an interface where they can test their line speed and get a suggestion on which file to view. Any experience ... ideas?

<    1   2