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
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
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
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
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
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
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
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://
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 !== '..')
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
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/)
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
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
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
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
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
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
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
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/)
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
20 matches
Mail list logo