r favorite looping construct. You could also easily convert it to an
array at that point, but unless you need each character as an array element
for a later operation it doesn't seem very efficient. I don't think
explode() will let you use a separator of '', but you might
o that you don't need to send a
request to the web server. I figure you know how to write the script and
that it's just a matter of scheduling it. If not please be specific about
the problem. This is asked pretty frequentl on php-general so between the
archives and Google you should find
ntry to alphanumeric characters. I've seen
better JS code to do the same so if it's not suitable keep looking.
http://javascript.internet.com/forms/val-char.html
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or
in a book and playing with one of the more popular open source databases
such as MySQL or PostgreSQL.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o supply those
parameters to the mysql commandline program or other MySQL programs if you
want to login as that default user.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
time or you just need someone who can do the
same via a cron job on one of their boxes. Hope that helps.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p
section all on a single page? Is the text stored in a db? Do you want the
text matching the user's search term to be highlighted? ...
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
es and PHP variables in the
PHP manual and apache.org (assuming you run Apache webserver). I'm sure a
quick search of google or a few Linux / PHP tutorial sites will turn
something up. I don't have any references offhand.
--
Steve Werby
President, Befriend Internet Services LLC
http://www
available since there are many that
are quite useful. Also see parse_url() in the manual since it lets you grab
each of the URL's components separately and you can supply the URL as
$SCRIPT_URI, $SCRIPT_URL or something similar.
--
Steve Werby
President, Befriend Internet Services LLC
ht
t or Flash, not PHP. You'll probably get better help if you
post a URL to the specific chatroom script you're talking about and post to
a list that deals with JavaScript or Flash.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General
ssed the solution in a reply to a poster
with a slightly different problem just a few minutes ago under the subject
"Timed Jobs".
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ord protecting the script so others can't access it. Others accessing
it may not be a security risk, but it could add load you don't want. Both
lynx and wget allow you to pass a HTTP user/password.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com
cts in the date format. It wouldn't
matter what you hardcode them as since it would use the same time of day for
both dates.
http://www.befriend.com/code_gallery/php/get_elapsed_time/
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mai
e time it cracked the password (if it did) your user
would have likely taken their business elsewhere. On a few servers I manage
I run it periodically to check for weak passwords, then I contact the users
with weak passwords and ask that they change them.
John the Ripper: http://www.openwal
entire if statement will evaluate to true.
Not what you want.
It might be easier to edit and follow your code if you rewrite as:
if ( ! in_array( $type, array( 'add', 'edit', 'delete' ) ) )
{
}
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befrie
"Danar Prabandaru" <[EMAIL PROTECTED]> wrote:
>how do I run a shell script from PHP web interface??
>
>assume /path/to/my/script.sh as the path and the owner and group of
>this script are belong to apache
See exec(), system(), etc.
--
Steve Werby
the dedicated hosting forum and then posting to that forum with specific
questions. With thousands of members and tens of thousands of messages
about hosting it's a better place to do your homework.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP Gen
m the source machine to the destination
machine using FTP.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
"Deependra B. Tandukar" <[EMAIL PROTECTED]> wrote:
> How do I display the directory contents using PHP?
See readdir() in the online manual. I'm pretty sure it even has example
code you could paste in.
--
Steve Werby
President, Befriend Internet Services LLC
http://www
Create blank table cells if final row doesn't use all columns.
// You can get away without this on broken browsers like IE, but
// then you'll generate invalid HTML and browsers like NS
// won't display your pages.
if ( $array_count % $columns > 0 )
{
$o .= str_repeat(
options you need in ./configure. You'll get
better bang for your buck searching the archives for cobalt-users and
posting there. After all, *everyone* on that list runs Cobalt servers
whereas probably only a small percentage do on the PHP list. See archives
at marc.theaimsgroup.com and list subs
nstalled PHP countless times on dozens of Cobalt boxes so
it definitely can be done.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
"Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote:
> Steve Werby wrote:
>
> > Exactly. It sounds like you're doing INSERTs so unless you're doing an
> > UPDATE or SELECT that can give unexpected results if another instance of
the
> > script is
u have other scripts accessing the
same files/tables that may run at the same time you're ok. If there are
potential conflicts look at explicit LOCKing in the database. FYI,
potential problems related to database and file writes are not just a
product of piping to a script - the same potential e
be more than one email incoming at the same
> time...while theoretically the MTA only passes them one by one to
> whatever's next in line (whether it's procmail, or any other type of
> program)
I don't think you'll have a problem. Each call to the program should run as
a se
perl for us lazy people so i dont have to use
> commas and enter every variable name in single quotes?
I think you mean PHP not perl, but there is a way.
$required = explode( ' ', 'name address phone' );
The code above turns the space separated list into an array.
--
Steve Werby
ness_Name', CONCAT( Last_Name, ', ',
First_Name ) ) AS mylist
FROM My_Table
ORDER BY mylist
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
mips processor.
Before you do ./configure edit line 105 in the PHP source distro of
ext/standard/crypt.c
and change it to:
php_srand(time(0) * getpid() * (php_combined_lcg() * 1.0));
I've upgraded Apache/PHP/MySQL dozens (maybe hundreds) of times from sourrce
on the RaQ1/2 so if you still h
lude the PHP code necessary to process form1.php. If
that doesn't make sense maybe you can include some code or explain in more
detail what you're trying to accomplish and what the problem you're facing
is. It's late here so maybe I'm just not thinking clearly.
--
"Ryan Christensen" <[EMAIL PROTECTED]> wrote:
> You can do this in a per-page basis w/:
>
> $modified = stat("yourfile.html");
> echo date("l, F dS",$modified[9]);
Also see getlastmod() and filemtime().
--
Steve Werby
President, Befrie
m_parts[1];
Or if it's always going to be a number b/w 0 and 1 then you could use
substr() to get the part you want. You could also use something like
ereg_replace(). Someone else may have a solution that's better.
--
Steve Werby
President, Befriend Internet Services LLC
http://ww
you referenced in your post. It might be a
better idea to ask about the PHP install on cobalt-users (go to
www.cobalt.com to subscribe, after searching the archives of course) since
everyone on that list is running RaQ systems, while my guess is that only a
fraction of the people on this list
"Nikola Karović" <[EMAIL PROTECTED]> wrote:
> how can i send bcc from my php @mail script.
mail( $to, $subject, $message_body, "From: $from_name
<$from_address>\nbcc:[EMAIL PROTECTED]" );
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befr
f the GET method.
Then the variables are not displayed in the query string. If you are
passing across a series of pages, after the first page you'll want to add
the variables you're going to pass to hidden input fields or use session
variables which will make the variables available th
ms do this
> even when they are hosted at remote sites?
Some people just use mailing list programs like majordomo, mailman,
smarlist, etc. and send the newsletter out to the recipients manually...
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General
her. I had
been using since '96 and only started using in the last 2
months because I was under the impression that it was more universally
accepted.If you happen to know of a resource describing ascii
code standards or differences b/w Mac and PC character sets please let me
know on o
started
using that instead of a few months ago b/c I thought it was *more*
universal.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
o str_repeat( ' ', 10 ). If you wanted to create a space within HTML I'd
suggest using " " (some people prefer " "), but if you do that
within the body of a text email it should display the actual characters, not
the text, so that won't get you the desi
m to find the
> sure-to-be simple command to do this on php.net or phpbuilder.com, etc.
Any
> ideas?
See implode().
$fcontents_string = implode( '', $fcontents );
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing L
ialhandlingequipment-bids.com/products/pallet_rack.html
If you want to browse a couple of my side projects you'll see I implement
the same practices there too.
http://www.sexcriminals.com/ (not an adult content site)
http://www.tysonchandler.com/
HTH,
--
Steve Werby
President, Befriend
be able to find it at www.greatbridge.org, but Great Bridge has closed its
operation so you'll probably have to look elsewhere.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
m a
single PHP script by configuring Apache to point requests to this script
using the AliasMatch directive so that the end user and search engines
thinks the content is static and the URLs don't get cluttered with ugly
query strings. However that doesn't improve speed, it actually degr
depends on the configuration
of PHP (I'm thinking magic quotes settings off-hand). From experience I
know that stripslashes() can be needed when retrieving data from a db. Just
today I've had to do so for clients separately using PostgreSQL and MySQL.
YMMV.
--
Steve Werby
P
so we can
help.
SELECT * FROM mysql.user WHERE user = 'yourusername'; SELECT * FROM mysql.db
WHERE user = 'yourusername';
BTW, this is really a purely MySQL problem and is better suited for the
mysql mailing list. See mysql.com if you'd rather take the topic there.
--
page
in the phpMyAdmin session. Or you could reinvent the wheel.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
$row[description]$row[solution]
>
> where would i put the stripslashes function to get the description?
$var = $row[product] . '' .
$row[prob_title] .
'' . stripslashes( $row[description] ) . $row[solution];
--
Steve Werby
President, Befriend Internet Services LLC
http://ww
w has a
single
> quote in it).
Try addslashes() before executing the query and stripslashes() when
retrieving data from the db. See the online manual for more details.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.ph
from $var[], removing each
element after it's selected (more efficient) or adding code to ensure the
same element isn't picked twice (less efficient).
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
ere was a
thread a few hours ago which described how to install and run in this mode.
Just set the script's owner to the desired user and that's who it will run
as.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://ww
having a query that creates a temporary table, then drop it...
No temp table necessary. Use a LEFT JOIN.
SELECT * FROM table_a
LEFT JOIN table_b
ON table_a.id = table_b.id
WHERE table_b.id IS NULL
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP Genera
they
> doesn't seem to work at all for me.
If you're on Linux or another un*x, try calling 'du' using system() or a
similar command.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To
x27;$post[$i]' WHERE
> > ID='$counts'"
If each row has a unique value for ID then it will only update a single row.
When in doubt what is happening store the SQL statement in a var like $sql
and then echo $sql to the screen to check it over, pasting into database
commandl
eed to declare the variables global within each function that access
them or access the variable via the $GLOBALS array.
$var = 'something';
function go()
{
return $GLOBALS["var"];
}
or
function go()
{
global $var;
return $var;
}
echo go();
--
Steve Werby
Pres
7;ve found that it only makes sense when very few target users
will have javascript disabled and the potential contents of the select boxes
are less extensive than make and model detail.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (ht
er
to
> display all of the tables with all of their information?
Get phpMyAdmin from http://www.phpwizards.net/. Or see mysql_list_tables(),
mysql_list_fields(), etc. See http://www.php.net/manual/en/ref.mysql.php.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.
rver. If you're running PHP as a CGI then it
runs with the privileges of the user who owns the CGI file.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
anted to clarify that what
Susan suggested will reverse the sort direction which is not what the poster
asked for.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
php?
index.php if you're simply include()'ing the content from bio.php. If
you're using Apache AliasRewrite magic and the URLs for each file are
pointing to the script index.php then it will be set to bio.php. A good way
to learn is to write short test scripts, add phpinfo() to the code
was directly within the
calling code then it needs it in the include'd file too and if it wouldn't
have in the calling code then it won't in the include'd file.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (htt
st-Subscribe: <mailto:[EMAIL PROTECTED]>
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list admi
for every problem. BTW, I split my shell scripting
between bash and PHP, used to do shell scripting in Perl, but I rarely use
it anymore so I'm much faster scripting in PHP.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http
"Ben Bleything" <[EMAIL PROTECTED]> wrote:
> Interesting method, with the lynx... I imagine that if you've only built
> the DSO, then that would be the way to do it.. if it worked.
It works.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befr
rongly suggest adding authentication via an
.htaccess file and passing the user/pwd to lynx (see "man lynx") so that
your script which is probably only intended to be run via cron isn't
available for anyone on the web to access.
--
Steve Werby
President, Befriend Internet Servic
"John Monfort" <[EMAIL PROTECTED]> wrote:
> I'm trying to determine if an argument is alphanumeric. Is there a
> function to do this?
There may be in the CVS version (would have to check), but there's not in
4.0.6. eregi( [[:alnum:]]{1,}, $string ) may do the
n table owners the field teamname will be blank.
Assuming all of the data is in both tables it's not a problem, but believe
me at some point when doing database programming this issue will arise.
SELECT teampages.ownerID, teampages.last_update, owners.teamname
FROM teampages
LEFT JOIN owners
email address is not valid. IMO, the only
way to verify that an email address exists *and* is being used by the person
who supplied it (I assume in most cases this is the whole point) is to send
a unique string or URL and check that the recipient responds with the string
in an email or visi
a number of different email
addresses on different hosts and all reported "Command Unimplemented".
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
> "Steve Werby" <[EMAIL PROTECTED]> writes:
> > Like Tom said, use regex to check the email is of a valid format. A
small
> > percentage of servers can be contacted to find whether an email address
is
> > valid, but fewer and fewer are allowing this so it
don't want to clutter
the code. The code below assumes the fields aren't preset to values other
than those listed above.
for ( $i = 1; $i < 4; $i++ )
{
$field = 'interest' . $i;
if ( ! empty( $$field ) )
{
$flag = TRUE;
}
}
if ( $flag =
"Sascha Schumann" <[EMAIL PROTECTED]> wrote:
> On Wed, 4 Jul 2001, Steve Werby wrote:
>
> > "Jon Haworth" <[EMAIL PROTECTED]> wrote:
> > > Yes, I would have thought this would do it:
> > >
> > > if (strstr($file, "/usr/l
f matching emails
and changes a flag in your DB record to designate the email address as valid
or a script in the webpage that does the same.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mai
Modify as appropriate.
>
> Have I missed anything, or will this do the trick?
Something along those lines will work. Without some kind of limitations
built in, the page will be able to load any file that's world-readable so
it's a good idea to limit access to certain directories
ttp://www.mnogosearch.org/
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
or one word can be made to find other forms of
that word.
FYI, to break a string into an array like you describe use strlen() to get
the length of the string, substr() to pull out the first N characters from
the string, then loop through and add each element to an array by adding as
follows (pseudocode):
"Marcus James Christian" <[EMAIL PROTECTED]> wrote:
> \' How can I filter out these backslashes so they don't appear on the
> final public viewable page?
Use stripslashes().
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
"Jacky" <[EMAIL PROTECTED]> wrote:
> Is there anyway I can do the logout that will completely
> get rid of all login detail without having user to close browser?
If you're using sessions session_destroy() will do it. Create a link or
form button that calls tha
ess numbers with extensions or automated systems that have to be
traversed. So you may be better off not validating the phone #. YMMV.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
ns to replace all template
variables with their corresponding PHP variable. As you loop through each
line and parse it add the parsed line to a string. When you're done include
the string in a mail() function to email it or use a file function to write
it to a file.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
al first or access like
$GLOBALS["HTTP_POST_VARS"]["my_form_field"]. So, in your example you'd do:
$msg_body = "Hello, " . $GLOBALS["HTTP_POST_VARS"]["variable"];
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
the code within the braces or $date and
$hour aren't returning the values you expect. Try echoing them before the
if statement to verify they contain the values you expect.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://w
x27;t match. Then
use fwrite to write to a temporary file and copy that file over the
original.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
gt; consequently it would be desirable to work free-of-charge. Beforehand
> thank.
Give http://www.sourceforge.com/ a try. There are thousands of projects
listed there and I bet a few could use some help.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
e
> number of seconds the machine's processes have been idle.
I have a function I wrote that displays uptime and takes arguments of time
units and decimal places. Have fun.
http://www.befriend.com/code_gallery/php/get_uptime/
--
Steve Werby
President, Befriend Internet Services LLC
http://ww
looping through each row
it can be compared to $group so that you only display the group name when it
doesn't match the $group of the previous row. I think this is what you
wanted. If I misinterpreted what you were trying to do let me know.
--
Steve Werby
President, Befriend Internet Serv
ame WHERE approved='yes'
> GROUP BY folder ORDER BY folder;
You lost me. Where is the field "folder"? Can you output the results of
"DESCRIBE tablename" for the table and a few records?
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
shopping carts written in PHP. I don't know of a message
board or mailing list dedicated to shopping carts.
http://www.theexchangeproject.org/
http://www.fishcart.org/
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://w
DF source and a test script ./pdftest that creates a test
PDF file. Can you get the test file to work?
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
gt;
> Or do I have to resort to javascript for such things?
Yes, use JS. PHP is server-side.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
er since he is correct in saying these
methods aren't the best. An analogy is like leaving a bike unattended on a
crowded city street, but typing it up in string. Anyone with time and half
a clue can ride the bike away. The Zend compiler is worth looking at.
--
Steve Werby
President
7;%foo bar%'
Perhaps you should ask on the mysql list.
List-Subscribe: <mailto:[EMAIL PROTECTED]>
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
quot;\n" but it didn't worked.
"\n" works for me. Perhaps you should post some of your code. Be sure "\n"
is within double quotes; if it's in single quotes it won't work. Here's a
line of code from a script I wrote that works.
fwrite( $fout, "Da
after installing CURL first. You can also use
fsockopen().
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact t
"$sql");
Add 'echo $sql;' here (no quotes) and look at the output. If the RHS of
quantity= is zero, then $quantity passed to modify_quantity is zero and
that's the problem.
> if there is a value in the db field "quantity" then after the statement is
> execute
"Walgamotte, David" <[EMAIL PROTECTED]> wrote:
> Is LDAP support default or are there any ./configure options I need to
know
Take a look at './configure --help'. You need to configure --with-ldap.
--
Steve Werby
President, Befriend Internet Services LLC
http:
"Randy Johnson" <[EMAIL PROTECTED]> wrote:
> how do access arguments if I run a script from the command line
>
> example
> php myscript.php arg1, arg2
They'll be located in the global array $argv[]. Include
in your script to see how to access them.
--
Steve W
script which selects description, price and quantity from a mysql
> table.
>
> i have displayed the results on a page in the form of description, price,
> quantity but I was wondering how best to go about calculating a total
total,
> ie. sum of quantitys multiplied by sum
;w=2
Here are links to other similar threads I've replied to - read all of each
thread for the full picture.
http://marc.theaimsgroup.com/?l=php-general&m=98754380108909&w=2
http://marc.theaimsgroup.com/?l=php-general&m=96578812203470&w=2
--
Steve Werby
President, Befrien
e's probably a tutorial on zend.com or phpbuilder.com that
discusses saving images in a MySQL DB and pulling them out to display on a
webpage using PHP so find one of those articles and look near the end.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP
d by root check it for entries
from a cron job and run the commands if entries are found.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
e the main include files in the same place. So the
include directory (inc) is parallel to my web docs directory. The parent of
both is a directory called 'production', which has directories parallel to
it called 'development' and 'staging' which allows me to run
1 - 100 of 222 matches
Mail list logo