hmmdo again as:
//elias!
"Brad Wright" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
> i want to have a submit button on a page that has a php function (on the
> same page) as the action.
>
> ie.
>
>
>
>
>
>
> so when the 'Us
On Tuesday 10 July 1979 12:39 am, [EMAIL PROTECTED] wrote:
> on 7/10/01 12:30 AM, John Weaver at [EMAIL PROTECTED] wrote:
> > Sorry, I should have been more clear. If you write modular code, your
> > included file will be nothing but a group of functions. Call a file with
> > nothing but functio
On Tuesday 10 July 1979 12:55 am, [EMAIL PROTECTED] wrote:
> on 7/10/01 1:01 AM, Navid A. Yar at [EMAIL PROTECTED] wrote:
> > Hmmm, I was wondering about security of PHP also. Does anyone know the
> > general issues of security within PHP documents? My thought is that PHP
> > cannot be seen when y
I guess this is just one of those things where everyone's opinions runs in
different directions, yet everyone is entitled to their own. I myself try to
respect the standard because of the browser war years which made everyone
uncomfortable. Now most browsers are trying to merge into a single stand
Hi all,
I hope I haven't missed it if it exists...i've looked through the
docs...i'm trying to find something that does the same trick shown at
php.net for getting the table, array_flip()'ing it, then using strtr to
translate things like What about others like &146; etc...it'd be
really useful
Fatal error: PDFlib error: Beta expired - retrieve new version from
www.pdflib.com in c:\phpdev3\www\pdf\test.php on line 2
hahahahha
- Original Message -
From: ReDucTor <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 4:22 PM
Subject: Re: [PHP] PDF Problems
> Shi
Hi Brian,
>* Persuade someone at Zend to modify PHP so that a filter function can
> be specified which all output text is passed through - would have the
> same restrictions as the "header" function
You can already achieve this by using the built-in output buffering
function. Read
Shit i only have 4.0 ):
- Original Message -
From: David Robley <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 4:18 PM
Subject: Re: [PHP] PDF Problems
> On Tue, 10 Jul 2001 15:40, ReDucTor wrote:
> > I get undefined func on pdf_new
On Tue, 10 Jul 2001 15:40, ReDucTor wrote:
> I get undefined func on pdf_new but on all the other pdf functions they
> work, but i first need the pdf_new then i tried cpdf, all works, but i
> can't seem to get text onto a page...HELP ME - James "ReDucTor"
> Mitchell
That function wasn't introduce
I get undefined func on pdf_new but on all the other pdf functions they work, but i
first need the pdf_new then i tried cpdf, all works, but i can't seem to get text onto
a page...HELP ME
- James "ReDucTor" Mitchell
"Jack" <[EMAIL PROTECTED]> wrote in message
020801c108af$36dc70c0$[EMAIL PROTECTED]">news:020801c108af$36dc70c0$[EMAIL PROTECTED]...
Hi all
I am new to php class, basically never use class before. Now I try to use a
credit card class from Zend, the class name is credit_card.pkg. How do I
create th
From: "Maxim Maletsky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 1:05 AM
Subject: RE: [PHP] stripping white space?
> I think it IS a good practice
> if you only practicing HTML to be outputted by PHP.
Why, if you know that it's illegal XHTML a
This sounds like that could be done in PHP - but it would be an AWFUL lot
of work and
fiddle to get right.
I personally wouldn't even consider it unless you had way to hook in
to the final output of PHP.
Possibilities ( not all of them sane ):
* Modify PHP. Add an INI var for turning the fea
hi:
i hope access CORBA client implemented with MICO in php,is there any
existed extension for mico or for other corba implementation?
Thanks for any hints,ideas.
hubl
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
If you do this then those who will want to eventually convert their projects
over to XML or XHTML format will have a hard time doing so, because the
double quotes around the values of the attributes are required. Also, it's
not good code practice. Just something for future reference...
-Origi
Well, you can simply look for a closing bracket (>) followed by only white
space characters (space, tab, return) followed by an open bracket (<) and,
if there's a match, strip out the white space in between them. That would
turn:
into just
You'd have to check for a bit more, such as an
Hi all,
i want to have a submit button on a page that has a php function (on the
same page) as the action.
ie.
so when the 'Use functionA' button is pressed, the function 'functionA() '
is called (using php variables already defined before the form.)
Thanks
Brad
--
PHP General Mail
On Tue, 10 Jul 2001 14:37, Richard Kurth wrote:
> What am I missing hear all I what to do is see if the domaname is
> in the database and if it does print the error message if does not then
> just move on without doing anything
>
>
> $db = MYSQL_CONNECT($roothostname,$rootusername, $rootpassword)
On 09-Jul-01 Steve Edberg wrote:
> Here's one way:
>
>
> $dir = opendir('.');
> unset($FileList);
>
> while ($file=readdir($dir)) {
>
> if($file!= '.' && $file != '..')
> {
> $FileList[] = $file;
> }
>
> }
>
> sort $FileList;
> reset($FileList);
>
> while(list(, $F)
um...I believe your query will return results if there is a match, but your
error message will only display if there is no match. !$result will only be
true if there are no records returned on your query, meaning that the domain
name doesn't exist. From your error message, I'd say that's not wha
What am I missing hear all I what to do is see if the domaname is
in the database and if it does print the error message if does not then
just move on without doing anything
$db = MYSQL_CONNECT($roothostname,$rootusername, $rootpassword) OR DIE("Unable to
connect to database");
mysql_select_db(
nope -- I want to completely suppress any extraneous white space characters
(tabs, spaces, etc.) in the HTML as it's being delivered to the client. So,
where your source file might look like:
Hello World!
The client will receive the HTML as:
Hell
You can't do that...deleting ALL spaces will screw up your content...
Try str_replace("\n","",$var) to strip newlines, then a
preg_replace("/\s+/"," ",$var) to strip all multiple spaces down to
one...
Haven't tested this syntax, but should be about right...
jack
-Original Message-
From:
on 7/10/01 1:01 AM, Navid A. Yar at [EMAIL PROTECTED] wrote:
> Hmmm, I was wondering about security of PHP also. Does anyone know the
> general issues of security within PHP documents? My thought is that PHP
> cannot be seen when you view a source anyway, so isn't it secure enough
> (besides the
Hi,
I take that you simply want to remove ALL whitespaces
from a data block (variable).
you could simply use str_replace(" ", "", $var);
--- Kurt Lieber <[EMAIL PROTECTED]> wrote:
> Is there a way using PHP to easily strip white space
> out of an html page as
> it's being sent to the client.
Is there a way using PHP to easily strip white space out of an html page as
it's being sent to the client. That is to say, the page that we as
developers work on is nicely formatted, indented, etc. but when it's sent
out to the client, PHP will remove all the extra white space both to
obfuscate t
Hmmm, I was wondering about security of PHP also. Does anyone know the
general issues of security within PHP documents? My thought is that PHP
cannot be seen when you view a source anyway, so isn't it secure enough
(besides the basic firewall and system security)?
-Original Message-
From:
on 7/10/01 12:30 AM, John Weaver at [EMAIL PROTECTED] wrote:
>
> Sorry, I should have been more clear. If you write modular code, your
> included file will be nothing but a group of functions. Call a file with
> nothing but functions in it and you get; . I can't
> see the security problem you
On Tuesday 10 July 2001 12:02 am, Rasmus Lerdorf wrote:
> > > I come for advice once again. Say i have a file dbconnect.inc which
> > > connects to my database. Now if this file is located in a directory
> > > accessible for to the web is there anyway that if someone types in that
> > > file i
I usually have a directory called html where all my php files are and
secure where any secure stuff (like db connects) reside. Then, all I do
is include the file
require('../secure/secure.inc');
Obviously html maps to a web server path but secure doesn't.
Mark
John Weaver wrote:
>On Mond
> > I come for advice once again. Say i have a file dbconnect.inc which
> > connects to my database. Now if this file is located in a directory
> > accessible for to the web is there anyway that if someone types in that
> > file i can detect it being accessed, instead of included, and redirect
On Monday 09 July 2001 06:11 pm, Noah Spitzer-Williams wrote:
> Hey guys,
>
> I come for advice once again. Say i have a file dbconnect.inc which
> connects to my database. Now if this file is located in a directory
> accessible for to the web is there anyway that if someone types in that
> fi
Hi,
It's not really very trivial. But since I don't PHP
sessions that much I might be incorrect, however if
you're not wanting to use WDDX, you'll probably have
to dawn some light on the raw sessions.
Shifting control across processes is fairly simple, in
the UNIX environment, and executing anot
> 2. I don't like to mess with working applications (other
> session-enabled PHP apps on the server).
Well, you can set it on a per-directory basis in your httpd.conf file.
> 4. WDDX as a session serializer is likely significantly less tested
> than the native serializer, and this is not the t
Hi,
I want to develop one payment site, where people will pay their tax. The
payment is made through the payment gateway. But database entries are on
local machine. From these database entries I am generating reports which
need to encrypt and send it through mail or keep for download (which on
I thought of this, but have the following reservations:
1. It seems cleaner to implement this on the Perl side since it will be
a fairly uncommon requirement.
2. I don't like to mess with working applications (other
session-enabled PHP apps on the server).
3. I have as yet been unsuccessful
Tyrone,
> Make an MD5 hash using the session variable. Make it again (with the same
> seed) before using it, if the hashes don't match, it's been messed with.
I'm sorry, I'm not sure what an MD5 hash is. Could you elaborate and/or
point me towards some documentation.
Thanks,
Brad
--
PHP Ge
> Is there a published spec of the format of the session data string?
>
> It would greatly simplify one of my applications if I could share data
> between PHP and Perl using sessions. Since I use MySQL to store session
> information, it would be trivial for me to make a call to a Perl script
> wi
Is there a published spec of the format of the session data string?
It would greatly simplify one of my applications if I could share data
between PHP and Perl using sessions. Since I use MySQL to store session
information, it would be trivial for me to make a call to a Perl script
with a ses
Dear all,
If i want to use id field in Oracle database, how can i do?
For example, in MySQL
create table test (
id int not null auto-increment primary key,
ten char(10));
So that, when i insert a new row into MySQL database, id increases by 1.
But in Oracle i couldn't use as that.
Somebody could
Make an MD5 hash using the session variable. Make it again (with the same
seed) before using it, if the hashes don't match, it's been messed with.
You can store the hash in a MySQL DB, pass it on the URL, write it out to a
local file, all kinds of things...
-Original Message-
From: Brad
i have attached the below script to stop the html being parsed
is there another way around this?
At 11:01 10/07/01 +1000, Nick O'Reilly wrote:
>the way i would do this is to have the form validation on the same page as
>the form
>and when user input has been validated the require another scrip
$session_id + 1 before passing it, and then
$session_id - 1 before using it on the next screen
... thats the security through obscurity way :)
you could put the session_id in a mysql db and then select
password(session_id)
that would return something really obscure
and then select session_id w
Hi all,
Is there a simple way to encrypt session variables. If so, is there a method
to 'decode' the encrypted session variable when required?.
Thanks in advance,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
the way i would do this is to have the form validation on the same page as
the form
and when user input has been validated the require another script (keeps
global variables)
you could try something like this
user_input must = ok ";
}
?>
hope this helps
nicko
At 05:10 9/
Hello all,
I am writing an app using PHP that sets two cookies - a username and
password cookie to control a user's session. These cookies are set
every time a page is loaded and expire after a period of time (half an
hour at the moment). Some pages that are displayed contain sensitive
info
On Thu, 1 Jan 1970 09:30, [EMAIL PROTECTED] wrote:
> >I come for advice once again. Say i have a file dbconnect.inc
> > which connects to my database. Now if this file is located in a
> > directory accessible for to the web is there anyway that if someone
> > types in that file i can detect i
To prevent locking issues and general db clogging. Any table that stores
votes or hits or anything that may do several transactions / second...
INSERT the data into a temporary table, and then put in a cron job which
will UPDATE your actual table with a count of whats in your temp table.
So for
Hi,
I'm doing a polling side and I'm wandering what way I should save the
result, should I save each record in MySQL or should I save only the
total value in a text file each time I get vote? So, can anyone of you
experts advice me what way I should go? The traffic is only 100-500 hits
per day.
Why just not use seperate fields that you fill from individual form
elements?
- Original Message -
From: "James Greene" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 7:35 PM
Subject: [PHP] Parsing a message
> Hi All,
> I am creating a page which a user enter
I have a form that requires a user to enter various information (name,
address, phone number, etc...). When they submit this form, the next PHP
page checks to make sure that the required fields were filled in. What I
would like to do is check to see if the required fields are all filled in
and i
I just found out :P
I used command and it worked! :)
Ajuco <[EMAIL PROTECTED]> escreveu nas notícias de
mensagem:[EMAIL PROTECTED]
> hi!
>
> Is there a way to 'include' a perl script in a php page??
> example..
> I have a php page that executes another php script (poll).. to make that I
> used t
How about DVDs? Unfortunatly, sitting at work right now, i'm not able to
pick up a stack of dvd's and look for a unique number.. Do they have ISBN?
is there a central repository to search for pertinant info (and parse it)?
just wondering,
Aaron
- Original Message -
From: "Chris Lott" <[EMA
ok, so it may be weak, but that's not really my question. If you think it's
not so good, what steps have you taken beyond just the basic fusebox code
architecture, and what OTHER methods would you think of using if you were in
my situation.
I figured it would make sense to have all functions on o
Try this:
first test to see if the query contain quotes, if it
does, go to a seperate routine that splits the string
into an array, first however, you must make sure there
is a space before the query and one after the query (
you add these) *then* split the string into an array,
explode on the qu
Hi All,
I am creating a page which a user enters an e-mail message in, then the
message is stored in a field of a database. I need to parse some
information from that message first, like the To line and such. Anyone got
any snippet of code for doing this ? Thanks
JG
--
PHP General Mailin
if you just want to run the script
system("/path/to/whatever");
if you want its output
fopen ("/cgi-bin/whatever.cgi");
if you want the perl script to set variables or anything you'll have to
write something that reads the output from fopen and assigns them. Or if
you trust this server (dont d
hi!
Is there a way to 'include' a perl script in a php page??
example..
I have a php page that executes another php script (poll).. to make that I
used the command.. Is there a command or something that
makes that php page execute a perl script (.cgi) ??
thanks!
--
PHP General Mailing List
on 7/9/01 6:00 PM, JCampbell at [EMAIL PROTECTED] wrote:
> Hey Everyone.
>
> This isn't a request for code or help, just thoughts and ideas.
>
> I've recently been asked to bring along some code examples for a job
> interview I will be heading to this week. This was the exact request "The
> sam
Ok, heres one for y'all
I have the user entering a free formed string (such as a search engine
query).. and i want to parse that string into an array of string elements...
If the user enters elements within double quotes, that would appear as one
entity.. for each word outside of containing q
Someone yesterday also suggested putting them in a
web-accessible location, but having lynx come by and run
them.
That seemed pretty cool =>
Good luck,
Ben
Quoting "Chadwick, Russell" <[EMAIL PROTECTED]>:
>
> You can still run php... I put my cron scripts
> in a directory on the web
> server,
put tags around the file you include, and it
will parse it as PHP =>
I'm doing this now. I have a bunch of files in a subdir
of the published directory, that contain functions and
definitions to do these things, and I include them at
the beginning of each file. But, you do need
tags around th
Have the script dump the envoirnment vars to a file and compare the
variables from a user vs include because some of those variables apache gets
from a browser, off the top of my head REMOTE_ADDR should work, that wont be
set when you include. So just die() if its set. - Russ
-Original Mes
> Thanks for all of your help on this. My host admin have
> informed me that
> php is installed only for the web, and not as a cgi, so that's what was
> going wrong (it wasn't down to my own naievity afterall.)
>
> So, it's time to learn perl (or bash).
If you have disk sp
Hi Noah,
if you make the include file a .php file, then the browser will parse the
code as a blank page whether or not they choose to look at the file, or
try to fopen(etc) it. Problem solved ;) At least I think that's
safe-ish...
James.
"Noah Spitzer-Williams" <[EMAIL PROTECTED]>
You can still run php... I put my cron scripts in a directory on the web
server, just makes sure they are all safe to run multiple times in case
someone finds it
then make a script that for each entry in that directory invokes the script.
mines in python so you just
import urllib
and then for
I've started experimenting with XML, by having my blogging script output the news to
XML [http://php.techno-weenie.com/supasite/xml/supa.xml]. I've tried transforming it
with an XSL stylesheet [http://php.techno-weenie.com/supasite/test.xsl] to get this
output [http://php.techno-weenie.com/sup
Thanks for all of your help on this. My host admin have informed me that
php is installed only for the web, and not as a cgi, so that's what was
going wrong (it wasn't down to my own naievity afterall.)
So, it's time to learn perl (or bash).
Thanks again for all your comments and help.
Jam
>I come for advice once again. Say i have a file dbconnect.inc which
>connects to my database. Now if this file is located in a directory
>accessible for to the web is there anyway that if someone types in that file
>i can detect it being accessed, instead of included, and redirect them
>elsew
You could also bring with you someone else's code :-).
Frankly speaking, if I interview programming candidates, I define a couple
of practical problems to see what kind of background they have, how to solve
it, the thinking process is as important as the final result. If someone
gives a stock ans
I would say get a function or several functions that are indictatiave of
your style and solve a fairly complex problem in an elegant way. I
don't think thousands of lines of code will be necessary.
Michael
JCampbell wrote:
>Hey Everyone.
>
>This isn't a request for code or help, just though
For the most part, anything that is reusable and modular they like. They
also love people who know a buncha languages and would use the best one that
fit the current project so bring a variety.
-Original Message-
From: JCampbell [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 3:0
How do I put my password into an external file?
I have dozens of webpages with the line
mysql_connect (localhost, username, password);
What if I have to change my password? Rather then change dozens of scripts,
I want to put this line into an external file and call it with "include".
The
>In a nutshell, you've just described the 'fusebox' method. Originated
>under Cold Fusion, there are
>movements to port this style to PHP and ASP, and probably other platforms.
>
>It's not bad, but personally, I think it's a bit weak in some cases -
>we've taken it a step further in house,
>b
What's the job position? And the company style? The sample you should
leave depends on the requirements and type of experience needed, and the
company area of work (ie, development of e-commerce sites)
For example if it is a programmer/webdesigner for a company that does a
lot of community we
Hey guys,
I come for advice once again. Say i have a file dbconnect.inc which
connects to my database. Now if this file is located in a directory
accessible for to the web is there anyway that if someone types in that file
i can detect it being accessed, instead of included, and redirect them
Hey Everyone.
This isn't a request for code or help, just thoughts and ideas.
I've recently been asked to bring along some code examples for a job
interview I will be heading to this week. This was the exact request "The
sample does not have to be within any particular language, but something
th
Chris Cocuzzo wrote:
>hey-
>
>I'm writing my band's website mostly in PHP. My original idea was to use a
>switch statement to compensate for all the different functions i would need
>to use, for example a function to stream songs, download songs, display
>links, display shows, etc...
>
>I wanted
i'm geting this error while compiling php
any ideas?
> Making all in TSRM
> /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../main -DMOD_SSL=208104 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
> -DXML_BYTE_ORDER=12 -g -O2 -c TSRM.c
> /bin/sh ../libtool --silent --mo
i wrote a little subroutine to make a directory full of
images into thumbnails...
it'll make thumbnail images of a specified height and width
and properly resize the original image to preserve the
height to width ratio.
the syntax of make_thumbs() is this:
make_thumbs($imagedir, $thumbsdir, $siz
"Chris Cocuzzo" <[EMAIL PROTECTED]> wrote:
> I wanted to have all these functions on one master page called index.php,
> and then have one of the functions within my switch statement be used for
> display each individual page. So this function would include each separate
> php file, and then basic
hey-
I'm writing my band's website mostly in PHP. My original idea was to use a
switch statement to compensate for all the different functions i would need
to use, for example a function to stream songs, download songs, display
links, display shows, etc...
I wanted to have all these functions on
On 09-Jul-01 Andrew Chase wrote:
> Try reading the directory contents into an array, sorting it, *then*
> outputting the contents of the array:
>
> $dir = opendir(".");
>
> $dirlist = array();
> $index = 0;
> while($file = readdir($dir) && $file != "." && $file != ".."){
> $dirlist[$index
Try reading the directory contents into an array, sorting it, *then*
outputting the contents of the array:
$dir = opendir(".");
$dirlist = array();
$index = 0;
while($file = readdir($dir) && $file != "." && $file != ".."){
$dirlist[$index++] = $file;
}
sort($dirlist);
foreach($dirlist
There's a search engine optimization tutorial at Webmonkey:
http://hotwired.lycos.com/webmonkey/01/23/index1a.html?tw=e-business
It mentions doing the Amazon-style search-engine friendly URLs and links to
a page about mod_rewrite for Apache:
http://httpd.apache.org/docs/mod/mod_rewrite.html
-
Yep all done thanks...
Kevin
- Original Message -
From: "scott [gts]" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 1:26 PM
Subject: RE: [PHP] PHP as a shell script
> dont use --with-apxs or --with-apache
>
> ./configure --my-options
> make
> make test
> m
on 7/9/01 2:27 PM, Steph at [EMAIL PROTECTED] wrote:
> Hi all! New to the list and new to PHP. Im trying to create Image thumbnail
> dynamically versus creasting them manually via my graphics program.
There's a nice one here:
http://www.brokenchair.org/projects/snippets/
Susan
--
PHP Gene
dont use --with-apxs or --with-apache
./configure --my-options
make
make test
make install
that should do it.
> -Original Message-
> From: Tyler Longren [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 09, 2001 3:07 PM
> To: Kevin Pratt; [EMAIL PROTECTED]
> Subject: Re: [PHP] PHP as a sh
Not sure if this helps but how about?
array("31","has 1 day holiday"),
February=>array("28","is very cold"));
for($i=0; $i < count($months); $i++) {
while(list($key,$val)=each($months)) {echo $key.' has
'.$val[0].' days, it '.$val[1].' ';}
}
?>
Just don't compile it with apache or some other web server. It should
create the executable then.
Tyler
- Original Message -
From: "Kevin Pratt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 12:01 PM
Subject: [PHP] PHP as a shell script
> Can anyone direct me
Just store each $file into an array ($array[] = $file)
and the sort($array). Works dandy =>
Ben
Quoting kmurrah <[EMAIL PROTECTED]>:
> Greetings.
>
> I need to read the contents of a directory, sort
> it alphabetically, and
> display it
>
> i'm doing find on the reading and displaying,
There are... but I'm not sure what they are. If you
build PHP _without_ any options, I believe you will get
the binary.
Read the documentation that comes with the source. It
will show you the way.
Ben
Quoting Kevin Pratt <[EMAIL PROTECTED]>:
> Is there any special switches I have to pass to
i cannot seem to find any function that's similar to
perl's "caller()" function - to get information about the
file/function that is calling the current function.
for example, the test() function is called from scott.php
scott.php
Hello there
test.php
function test() {
without passing in
The Library of Congress web site is good for that sort of thing. You can
search for an ISBN and have returned a formatted MARC record/etc which is
fairly easy to parse. I don't have code anymore, but I did exactly this at
one time.
c
> -Original Message-
> From: Reuben D Budiardja [mailt
Hi,
I'm doing project using php that will allow me to enter an ISBN number of a
book, and put that book info into my database.
Is there any free book database out there that I can query using ISBN, and
will return me the info such as the title, author, publisher? If I can just
get the title
Is there any special switches I have to pass to the compile of php to create
the php binary?
Kevin
- Original Message -
From: "Ben Bleything" <[EMAIL PROTECTED]>
To: "'Kevin Pratt'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 11:03 AM
Subject: RE: [PHP] PHP as a s
Here's one way:
$dir = opendir('.');
unset($FileList);
while ($file=readdir($dir)) {
if($file!= '.' && $file != '..')
{
$FileList[] = $file;
}
}
sort $FileList;
reset($FileList);
while(list(, $F) = each($FileList)) {
echo "$F\n";
}
If you're using
[EMAIL PROTECTED] (Jack) wrote:
> 1. (*) text/plain
>
> Hi all
> is there anyone know where can I get a good php chat programme?
there are one here:
http://phpwizard.net/projects/phpChat/
and one for irc here:
http://phpwizard.net/projects/phpIRC/
you could also look at php's n
Why don't you add the $file to an array, then do a sort on the array?
sort($array)
Jeff
> -Original Message-
> From: kmurrah [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 09, 2001 2:06 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] sorting results of opendir()
>
>
> Greetings.
>
> I need
When you serialize() an object in PHP, it only stores the properties,
not the methods. This way you can change any of the methods in your
class definitions, or add new properties, and when the data is
unserialize()d, it will fit into the new class definition.
The latest (development) version
1 - 100 of 182 matches
Mail list logo