[snip]
I did read on mysql.com and your article. Than I tryed to transfer the
datasets.
Export worked ok. The textfile contains the records.
Import message:
Query OK, 35 rows affected (0.04 sec)
Records: 35 Deleted: 0 Skipped: 0 Warnings: 630
The warning already tells it. the datasets are
[snip]
Program it into the homepage to run once a day. As long as you get one hit
per day, then it'll run.
...
I need to run a daily script on our website but I'm trying to avoid using
CRONTAB.
Is there any way that I can run this daily ?
[/snip]
But if you need to run it only once per day
[snip]
is there a simple way to automatically load a new page according to a
choice made by a user.
If one persons logs in they go to one page, If another peson logs in they go
to another page?
[/snip]
Use a switch statement as below;
//start session
session_start();
[snip]
I think that's pretty much your only option. You could use javascript to
redirect if you wanted.
is there any way other than
header(Location: http://www.php.net/;);
to redirect to another page.
[/snip]
Using the switch() function that I showed before here is what I have done...
[snip]
You already have the php script, so use that. modify it so that it does
exactly what you need on your system, so that when you call it up through
www.youdomain.com/script.php, it does what you need without any user
interaction or producing any output to the screen (email or log file is
[snip]
I've just tried the sub-select approach. Works great on the first page -
shows names listed alphabetically sorted by country. However, once I click
on
'Next 20' both sorts go bye-bye (neither by name nor country).
[/snip]
I am late to the thread but I wanted to offer another suggestion.
[snip]
form method=post action=blah.php
select multiple name=bleh
option value=11/option
option value=22/option
option value=33/option
option value=44/option
option value=55/option
/select
/form
[/snip]
Change this like follow;
form method=post action=blah.php
select
[snip]
The value selected is now in $a_name
[/snip]
Or $_POST['a_name']
HTH!
Jay
Give a man a program, frustrate him for a day.
Teach a man to program, frustrate him for a lifetime.
It's hip to snip!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
[snip]
I cannot believe that no one with alot of PHP and MySQL experience has not
replied to this post yet. Is PHP not a secure scripting language? I would
really like a little insight into this question, anyone?
[/snip]
[rant warning!]
I'll bite! ;-(
A. You gave so much code that those of us
[snip]
Ok, so you have pointed out an problem, now that you have been so kind to do
this could please recommend how to resolve this?
[/snip]
You may want to do some research on securing plain text transmission.
http://www.ariadne.ac.uk/issue5/securing-forms/
[snip]
This is not how they work, the name goes
under select not within option.
And as others have suggested, using an
array is key here: name=bleh[].
[/snip]
You're right, my bad...just fired off a reply quickly without reading
thoroughly. I was too engrossed in a lengthy code bit about
[snip]
Does anyone know whether mysql_num_rows is zero or one based?
[/snip]
It's one based.
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Can anyone let me know what I am doing incorrectly on the following page:
http://www.solomonsporch.org/test.php
The news clips that should appear are a service from another site and I
simply want to include them on my page, but I am getting an error.
[/snip]
Without the code from
you are getting the error
Fatal error: Call to undefined function: show() in
e:\solomonsporch.org\test.php on line 9
show() is not a function, try include()
Jay
Wouldn't it be great if lists were like the Magic 8 Ball or a Quija board?
--
PHP General Mailing List (http://www.php.net/)
To
[snip]
?php
include
(http://www.gospelcom.net/mnn/includes/pubNewsTease.php?li=yeslimit=4;)
?
[/snip]
Where is your semi-colon?
?php
include(http://www.gospelcom.net/mnn/includes/pubNewsTease.php?li=yeslimit
=4);
?
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
[snip]
When I include files and it doesn't work (I've only started trying today and
discovered the beauties of the include_path) it says:
Fatal error: Failed opening required 'includeFile.inc'
(include_path='.:/opt/net/utils/lib/php') in /prj/web/.../file.php on line 4
[/snip]
Send some of your
of anything else I will let you know. Also make sure to
reply-to-all so that the list can keep up and maybe offer more suggestions.
Jay
-Original Message-
From: Doug DeVries [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 12:57 PM
To: Jay Blanchard
Subject: Re: [PHP] Fw: include
[snip]
I have some data in one table which I have to move to another. No I thought
of a mysqldump with a where clause. The problem though is, that it also
tryes to insert the ID which is a autoinc. primary key and already in use by
another record. How can I produce a insert statement withouth the
[snip]
Subject: Re: [PHP] GOTO command. Doest it exist?
[/snip]
No, and you don't need it. The reason? Ask yourself, what is the use of a
GOTO?. Usually GOTO indicates a function of some sort, which you could
easily replicate with a function() or switch() if you need to send your
application in
[snip]
I need to send the data from a form without taking the surfer to that page.
ie:
form on ' formPage.php '
with
form name='foo' method='post' action='../newUser.php'
but leave the user on ' formPage.php'
Any way to do that?
[/snip]
At the end of newUser.php do a header redirect, i.e.
[snip]
Can anyone suggest me a different editor ?
[/snip]
PHPEdit (http://www.phpedit.com)
HTH!
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I wanted to return to a specific page in a small web app I am writing, which
is based on a variable for each individual record. I just tried
header(Location: customer.php? . $btn . ); exit;
and although syntactically correct it did not work. I am going to try a
couple of other things but I
oops, never mind, I think I see the problem...a missing btn=
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 12:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Header URL question
I wanted to return to a specific page in a small web app I am
[snip]
I'm trying to get data from my MySQL database into Excel using PHP.
[/snip]
[shameless plug]
http://www.evolt.org/article/Using_MySQL_and_PHP_to_Present_Excel_Spreadshee
ts/20/26896/index.html
(watch wrap)
[/shameless plug]
HTH!
Jay
--
PHP General Mailing List (http://www.php.net/)
[snip]
I've got the following situation: I have a list of items i want placed in
side-by-side columns in a table like this:
name name name name
name name name name
name name name name
name name name name
and so on. How can I do it? Name is a string in the database.
[/snip]
--
Latex,
Others
I am in the process of analyzing the following situation and wanted to see
if any of you might have done this or something similar before...
Each day we have a person who is responsible for going to a secure web site
,logging in, (which redirects to) a JAVA applet. This JAVA applet has a set
of
me
if I am wrong but I know if works with the other HTML tags...
The EXTRA quotation marks usually aren't necessary...
Spike...
[/snip]
Did you reply to the wrong message?
Jay Blanchard [EMAIL PROTECTED] wrote in message
001401c21c3c$1c98b2e0$8102a8c0@niigziuo4ohhdt">news:001401c21c3c$
[snip]
Jay Blanchard [EMAIL PROTECTED]
wrote in message 001601c21c4b$67cfc5f0$8102a8c0@niigziuo4ohhdt">news:001601c21c4b$67cfc5f0$8102a8c0@niigziuo4ohhdt...
--- Did you reply to the wrong message?
Nope, You posted your question in someone else's
Reply Section... (Martin Johansson's
After further research I have found that the JAVA problem is non-existant,
so here is what I am left with:
On a remote https server;
1. Access the login page with 3 pieces of information to be passed.
Unfortunately this information cannot be passed via URL.
2. Activate login which creates a
[snip]
After further research I have found that the JAVA problem is non-existant,
so here is what I am left with:
On a remote https server;
1. Access the login page with 3 pieces of information to be passed.
Unfortunately this information cannot be passed via URL.
2. Activate login which
[snip]
When I use the hyperlink, test.php?data=yes and I go to this page,
test.php but there is no data in this variable, $data. So, the web page I
have, most of them are all thrown off becuase of this. I use PHP version
4.2.1. Is there a bug in this PHP version??? Or some changes in PHP that
[snip]
I'm using UNIX, not windows, so there is no php.ini in UNIX.
[/snip]
Look here /etc/apache/php.ini-dist or /etc/apache/php.ini. There is an ini
file for PHP, and you may have to rename php.ini-dist to php.ini. Once done,
look for
; You should do your best to write your scripts so that
[snip]
I still don't get what the big fuss of OO programming is about ...How many
of us have done so? Could some one please point out another feasible
advantage of OO programming a part from the fact that I would make someone
else's work easier by using this style of programming...
[/snip]
It's
[snip]
He said...
Anyone ever worked with this function? I know its not PHP
related but im
sure someone came across the problem.
Ya'll said
and this relates to PHP how...?
Don't tempt them, people _do_ come up with the most oblique of reasons why
their question is related to php.
[/snip]
Good morning!
Over the weekend I attempted to set up another test platform on a Win98
laptop, running Apache as the server and MySQL as the database engine. Just
want to use it for some testing locally. No matter what I attempted I could
not get PHP to work. I followed suggestions from;
[snip]
Just went through - versions please?
[/snip]
Apache 1.3, PHP 4.1
Thx!
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
All the time. Never had a problem.
Tutorials here:
http://www.thickbook.com/extra/index.html?t=in
Installing MySQL on Windows is just an installer file. PHP is already
configured to use it; nothing extra needed.
[/snip]
Yeah, I knew that about MySQL, I just couldn't get PHP working
I can do this;
exec(curl -d \name=mynamepassword=mypasswordbtnsubmit=submit\ -s -o
cdrlist.html https://theserver.com/list.html;);
but why can't I do this
exec(curl -d \name=mynamepassword=mypasswordbtnsubmit=submit\ -s -o
.$listline. https://theserver.com/download/ .$listline.);
The only
[snip]
but why can't I do this
exec(curl -d \name=mynamepassword=mypasswordbtnsubmit=submit\ -s -o
.$listline. https://theserver.com/download/ .$listline.);
extra space here? ^
I think you've got something extra rather than missing :)
[/snip]
Thanks Jason, I
[snip]
Thanks Jason, I fixed that and still does not work. So I am trying this;
$curlline(curl -d
\name=mynamepassword=mypasswordbtnsubmit=submit\ -s -o .$listline.
https://theserver.com/download/.$listline.;);
print($curlline); this looks fine
exec($curline);
[/snip]
The cURL statement has
[snip]
print($curlline); this looks fine
exec($curline);
Have you tried executing $curlline directly from a shell/command-line? This
will determine whether it is a PHP problem or a cURL problem.
[/snip]
That was the first thing I did, and I have gone back a couple of times now
to make
How do you know it ain't working? Send us your code, maybe we can fix it.
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 10:59 AM
To: [EMAIL PROTECTED]
Subject: [PHP] uploading a file
anyone have some code they can send me that will
Yes it is...a, well. Time to compile PHP with cURL I guess. Thanks!
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 1:46 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] cURL in an exec() MORE...
On Monday 01 July 2002 23:25, Jay Blanchard wrote
[snip]
Warning: SQL error: [unixODBC][Driver Manager]Data source name not
found, and no default driver specified, SQL state IM002 in SQLConnect in
/var/www/html/index.php on line 4
[/snip]
Could we see line 4?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
What kind/version of DB?
-Original Message-
From: David Busby [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 2:55 PM
To: php-general
Subject: [PHP] Where do I specify a DSN? v0.2
List,
Guess I should be more specific:
Heres line four:
$db =
[snip]
print($curlline); this looks fine
exec($curline);
Have you tried executing $curlline directly from a shell/command-line? This
will determine whether it is a PHP problem or a cURL problem.
[/snip]
That was the first thing I did, and I have gone back a couple of times now
to make
I am slowly coming up with a solution to my cURL problem and have narrowed
down the possibilities. One of these being that the cURL command written out
with variables and such breaks into more than one line. This is not allowed
in cURL. So, I had decided to write out a file as follows; ($curline
Yesterday I could do this (all on one line);
exec(curl -d \name=mynamepassword=mypasswordbtnsubmit=submit\ -s -o
cdrlist.html https://theserver.com/list.html;);
This is the one that worked, not the other one with the variables. Now this
one does not work and I don't insert any variables into
[snip]
As a matter of fact, when viewing the source (which should display properly
if word wrap is off in Notepad) the line appears to be broken up. I have an
idea...write the line to a file then open the file and get the line for
exec()...blabbering now, must go...
[/snip]
I have fixed many
[snip]
Jay try just to execute php yourfilename
And see what is done. For example i have problems with execution
read my e-mail in the list.
[/snip]
Still not working. I have the script check for the existence of the file and
return an error if it is not downloaded. That is the only error
Trying that now...
-Original Message-
From: Latex Master [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 8:26 AM
To: Jay Blanchard
Cc: [EMAIL PROTECTED]
Subject: Re[4]: [PHP] cURL in an exec() . more
Hello Jay,
Let's try it in the different way. create an executable
Put it in a WHILE loop and RTFM
-Original Message-
From: Duncan Ellwood [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 9:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP] V basic newbie problem
I'm not sure if this is the right place for this but I'm just starting out
with php and
OK, here is where I am (between handling other pre-holiday/long weekend
processese here);
I have the PHP script create a shell script containing the needed code for
the cURL process. Of course the shell script will execute from the command
line with me as 'root'. But the exec() that calls the
[snip]
Sorry to crash in! One quick question! Does the VB script work on NON-IE
browsers?
FletchSOD
[/snip]
VBscript works on ASP (Active Server Pages) servers...IIS most noteably, but
you can get ChiliSOFT ASP for Linux and other *nix boxes. ASP can use
VBscript, JSP, PerlScript, and other
[snip]
Ok from the beginning PHP executes and writes files with
permissions (like userid and groupid) Webserver is running.
So what i think will be the best way for you to do. Is to create an
executable with the same owner. and then execute it. As for
/usr/local/bin directory it allows to write
It's always the smallest things that will get you, I should be slapped
(preferably by a good looking woman) :)
exec was not broken
the permissions don't have to be mucked with
ownership and group can be left alone
this should be stamped on the forehead of each and every PHP developer
USE
Good afternoon,
We have some cases where we run PHP as a standalone executable for scripting
certain processes that can be called from CRON, and we also have PHP for
Apache. Does the php.ini affect both? Specifically script times?
Thanks!
Jay
--
PHP General Mailing List
in the same
directory as the executeable, whereas the Apache module uses the one in my
C:\WINDOWS directory. Are you using Windows?
Due to this, I suppose you can have two different PHP setups if you wanted.
Jay Blanchard [EMAIL PROTECTED] wrote in message
002501c226bc$87a28f40$8102a8c0@niigziuo4ohhdt
[snip]
I've written a batch file that sits in the same dir as the PHP script and
when I exec it, it doesn't work! I've thouroghly thrashed the batch file
for errors and it came up ok every time. if I echo the exec it only returns
the first line of the batch file.
[/snip]
I have found that even
[snip]
I'm being asked you evaluate a fairly complex web project using the MS SQL
Server 2000 back-end. A large application will be built, involving lots of
technical and financial information from multiple sources and types of
sources
input daily, weekly, monthly, etc. Reports will also be run
http://www.php.net/manual/en/ref.session.php
Start there, and then when you can tell us what the more specific problems
are with your sessions we will be able to help.
Jay
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 2:20 PM
To: [EMAIL
I tried going to his service provider, but it is in a language I do not
understand. Since this counts as a DOS attack, he could get hammered if he
keeps it up.
-Original Message-
From: Martin Clifford [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 2:31 PM
To: [EMAIL PROTECTED]
How did you do it, POST? GET? Is there a form involved? Can you show us the
code from the two pages? Maybe my ESP will kick in :^)
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 2:37 PM
To: Jay Blanchard; [EMAIL PROTECTED]
Subject: Re: [PHP] CANT
Let's see the code from the pages
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 2:56 PM
To: Jay Blanchard; [EMAIL PROTECTED]
Subject: Re: [PHP] CANT GET STUFF TO WORK
I used both a post and a get (using print a
href=\$PHP_SELF\.session_name
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Erik Hegreberg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 3:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] So moderator Delete me from the list and you will have
your list in peace!!
--
[snip]
Select the field of a database that I want.
Hit submit.
Execute a query of a database based on the said form.
Gather all the data and rows and plug them into an excel generated file.
Display a dialogue box asking the user the save the file.
The saved file being an excel file with data
[snip]
Didn't I read the article somewhere on PHP.net that said that? Using
fopen() to open a file, does it attempt to create a file if the file does
not exist? I use the fopen() and I get the error message. What is the
workaround to it?
[/snip]
fopen(filename, w+); open the filename or
' work! Never mind! I'll manually create a blank file and put
it there!
Scott Fletcher [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Thanks a million!!!
Jay Blanchard [EMAIL PROTECTED] wrote in message
002401c22824$2b1e87b0$8102a8c0@niigziuo4ohh
[snip]
What makes development tools better than a good editor? (serious question)
[/snip]
Over the course of time (I have been writing code for 25 years, many
languages, some compiled, some not) I have found that the most useful tool
in the arsenal is a good editor with no more features than
[snip]
However, running the Tutorial scripts found in PHP and MySQL (SAMS), I get,
for example, the following error message for all 3 fields:
Notice: Undefined variable: tireqty in
c:\inetpub\wwwroot\php_tutorial1\processorder2.php on line 11
tires
Here is what is in line 11 is - echo $tireqty.
[snip]
echo $tireqty. tiresbr
[/snip]
$tyreqty
looks like you have a typo
HTH!
Jay
-Original Message-
From: Eugene.McQuade [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 2:21 PM
To: 'Jay Blanchard'; 'Php-General@Lists. Php. Net (E-mail)'
Subject: RE: [PHP] Can't get
[snip]
Is there a way to create a customised version of the index directory
structure using php?
Eg listing all the pages in the specific directory when an index page isnt
created?
I want to acheive something like this
http://www.claviga.com/index.php?pageid=18
[/snip]
Yes you can do this.
[snip]
Want to meet other PHP developers in your area? Check out:
http://php.meetup.com/
Pretty nifty idea... especially given the lack of user groups in the U.S.
[/snip]
Excellent idea Jon! I have set up for the San Antonio area and I have
invited some other developers (some who haven't done
Howdy group,
Over the past couple of days I have come under some fire for my style
of coding, most particularly the use of PHP scripts to process information
between pages or interfaces shown to various users. An example;
An agent goes to an interface that reveals a list of customers from
[snip]
Computer Science student (yes, that's me...) by giving him some ideas on his
final year project very possible involving PHP and SQL...
[/snip]
How about a billing system? Accepts orders, processes invoicing, tracks
customer trends and habits, has a method for tracking aged bills (over 30,
[snip]
Want to meet other PHP developers in your area? Check out:
http://php.meetup.com/
Pretty nifty idea... especially given the lack of user groups in the U.S.
[/snip]
I thought for others who had not seen this I would post this. There is
probably already a user group in your area if you
No, it's not a dating service :)
Want to meet other PHP developers in your area? Check out:
http://php.meetup.com/
Pretty nifty idea... especially given the lack of user groups in the U.S.
[/snip]
I thought for others who had not seen this I would post this. There is
probably already a
I know that the PHP World Conference is coming up in Germany in November,
but is anyone aware of any conferences in the US before the end of 2002? I
have some training budget that must be spent or lost.
Thanks!
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
[snip]
I've seen quite a few programs that seem to greatly favor Object Orienting
Programming (OOP) in their code. I don't mean to start a holy war or
anything of the sort, but as a burgeoning PHP developer, I would like the
opinions of my peers.
So how about it, ladies and gents? Tell me
[snip]
No, it's not a dating service :)
Want to meet other PHP developers in your area? Check out:
http://php.meetup.com/
Pretty nifty idea... especially given the lack of user groups in the U.S.
I thought for others who had not seen this I would post this. There is
probably already a user
[snip]
I am wondering if it would be possible to activate a php script via cron
periodicly.
Can anybody give me a hint on that or knows a good article?
[/snip]
If you can run PHP from the command line, i.e.
php thisscript.php
it means that you have installed PHP as a standalone executable. If
You can have both...a standalone executable and an Apache module! They will
operate on the same server, independently of each other.
Jay
It's a dessert topping AND a floor wax! -- Satuday Night Live, circa '76
*
* Want to meet other PHP developers *
* in
[snip]
Could someone please explain the difference between classes and functions
and how to use a class. I write alot of PHP, but I never understood this at
all. I use an include statement in many of my pages and include a file with
a bunch of functions. For instance, I might have a function
[snip]
example?
[/snip]
http://www.devshed.com/Server_Side/PHP/FormValidatorClass/page1.html
Good tutorial
Jay
*
* Want to meet other PHP developers *
* in your area? Check out: *
* http://php.meetup.com/*
* No developer is an island
[snip]
This helps quite a bit Thank you.
I am just wondering if I should make classes instead of functions? What
would be the benefit of that? Do you know?
[/snip]
You should keep classes and functions seperate in your thought process, they
are not the same and not meant to do or be the same
[snip]
Is there a standard method in PHP for preventing multiple people from using
the same log-in username/password simultaneously on a membership site? Any
suggestions are greatly appreciated.
[/snip]
One way is to set a non-expiring cookie, which works if they don't delete
cookies from
[snip]
In Perl you could print a block of information as it was written like this;
print HTML_END;
This a whole bunch of HTML code!!!
HTML_END
The best part about this, was that you did not have to escape your and you
could mix in your variables making it easy to design and layout the HTML.
[snip]
What do I have to do before I can run my file.php as a cron job in Linux?
[/snip]
Look at the archives for the past couple of days, it has been covered in
some detail. Make sure to compile PHP without apsx, and for practical
purposes move the PHP executable to the /usr/local/bin
[snip]
Awhile back I was asking for just what I'm reading here:
http://www.php9.com/index.php/section/articles/name/PHP%20Guidelines
I have come across some of this in the documentation but not in your face
like it is here (and
should be).
Does anyone have any more links to articles like that?
[snip]
I don't know if this is what you want to hear, but I can tell you that as
a rule, I don't hire people who advertise certifications on their resume.
I've found that they correlate pretty strongly with incompetence, to the
point where nothing saves me more time when filtering through
[snip]
Chris, thanks for describing your method. The reason I really dislike
Functions in PHP is because you have to pass every variable needed by a
function, even if that variable is global in the main script, which is a
pain in the ass when a function needs a long string of variables. It makes
[snip]
Hey, does anyone knows of a good PHP editor for windows. I have also
heard emacs is available for windows. Does anyone know where to download
it from?
Dasmeet
http://www.einfotimes.com
[/snip}
There are a few, but these two are the ones I see used most;
http://www.phpedit.com/ PHPEdit --
Anyone know of a quick script I can run to test the GD setup on my servers?
I have multiple servers that I need to test where phpinfo() reveals various
versions of the GD library. I can hack something together quickly if need
be, but I was hoping that the gurus of the list would have a test that
[snip]
Anyone know of a quick script I can run to test the GD setup on my servers?
I have multiple servers that I need to test where phpinfo() reveals various
versions of the GD library. I can hack something together quickly if need
be, but I was hoping that the gurus of the list would have a
[snip]
Hi! I find it to be mind-boggling to try to make xml work with php and
curl. What do anyone here think of it?
[/snip]
More details about the problem would be nice. How exactly do you want this
to work? I have had no problems with cURL and PHP.
Jay
What was the best thing before sliced
[snip]
How can I look back Business Days.
I would like to go back from a certain date, like 7 business days. Is there
a simple way other then looping and checking for the day of the week?
[/snip]
$sevendaysago = date(Y-m-d, mktime(date(h)-168));
This will give you the date exactly seven days
[snip]
I am running into a situation where I need some serious help. My
environment is:
Workstation - W2k, Frontpage
Server - Cobalt RaQ4i, Linux, Apache
Problem: I need to access MySQL to display inventory information on the web
page. When I have modified the httpd.conf file to parse html
[snip]
sorry about last message
I want to get a list of the last 7 business days so I would have to loop
through this and get each day correct?
[/snip]
Yes, testing for Saturday and Sunday ...
Jay
Vampires Suck
*
* Want to meet other PHP developers *
* in
[snip]
I know that it's pretty easy for a shell script to call a php page to do
something.
What's the best way to have a php page call a shell script?
I'm trying to automate the creation of directories with certain files in
them (people creating their own temporary websites..), and figured a
[snip]
PHP is a scripting language I am pretty much
aware of that... But is there a way to translate
php into binary/machine code or would one
have to write a translator program?
[/snip]
PHP has an underlying binary translator, but I don't think that the source
code is available from Zend. Are
1 - 100 of 3443 matches
Mail list logo