I have been trolling through hotscripts.com and google all night and
have tried out a couple of promising-looking PHP-based calendar
scripts with no luck, so I'm turning to the collective wisdom of the
list to help me out. I'm looking for a calendar script that I can plug
into a web site that can s
Here is the url
http://pastebin.com/579621
Christopher Taylor wrote:
I am trying to setup a webserver for testing at home. I can execute php
scripts fine, but I cannot include local files like include (test.php). The
page comes up with a permission denied. The url is
http://mojo.hst-percussion.com/index.php. The phpinfo is
http://mojo
I am trying to setup a webserver for testing at home. I can execute php
scripts fine, but I cannot include local files like include (test.php). The
page comes up with a permission denied. The url is
http://mojo.hst-percussion.com/index.php. The phpinfo is
http://mojo.hst-percussion.com/test.php
Thanks to all who helped.
The answer...drumroll arrays for each entry:
load routine (partial):
print "name='imageqty[]' size='5' value='$qty'>";
print "value='".$row[cialbum]."'>";
print "";
print "value='".$row[ciimage]."'>";
print "value='".$row[cisize]."'>";
retrieval rou
[EMAIL PROTECTED] wrote:
Below is the detailed code
and error this is giving,
*Warning*: usort(): The argument should be an array in
*/home2/wwwabcde/public_html/search/searchfuncs.php* on line *311*
*---*
*Once I enter for examp
On Wed, 2006-03-01 at 22:26, [EMAIL PROTECTED] wrote:
>
Is there a good reason for why you're clogging the mailing list with
your fancy shmancy HTML emails?
Cheers,
Rob.
--
..
| InterJinn Application Framework - http://www.interjinn.c
Below is the detailed code
and error this is giving,
Warning: usort(): The argument should be an array in /home2/wwwabcde/public_html/search/searchfuncs.php on line 311
---
Once I enter for example,law at
http://www.abcdefg.us/s
Chris Lott wrote:
Thanks for the advice-- I've run Linux without a GUI for a long time,
so I'm quite familiar with hand compilations-- but I always wondered
if I was just missing something with packaging systems that it seemed
to REQUIRE hand-compilation to get a workable development LAMP system
e_ini_file($file, 1);
$newValue = $getOldValue[$today] + 1;
$oldDate = $today . " = ". $newValue;
$newDate = preg_replace('/(\d+\s\=\s)(\d+)/ie', 'incDate("$1","$2")',
$oldDate);
file_put_contents($file, $newDate . "\n");
This works with one fi
Chris Lott wrote:
> Thanks for the advice-- I've run Linux without a GUI for a long time,
> so I'm quite familiar with hand compilations-- but I always wondered
> if I was just missing something with packaging systems that it seemed
> to REQUIRE hand-compilation to get a workable development LAMP
Pat:
I would suggest changing to:
http://.../chkout.php?imagename=NATURE-1.jpg&count=6&continue=Continue+Checkout,
$newqty = $_GET['count'];
$imagename = $_GET['imagename'];
Also, to see what you are actually "getting" try:
echo ("");
echo ("");
echo ("GET info:\n");
print_r($_GET);
echo("");
Thanks for the advice-- I've run Linux without a GUI for a long time,
so I'm quite familiar with hand compilations-- but I always wondered
if I was just missing something with packaging systems that it seemed
to REQUIRE hand-compilation to get a workable development LAMP system.
Anytime I tried us
[EMAIL PROTECTED] wrote:
*If I put this *code
$res = array();
while($row = mysql_fetch_assoc($query_result)) {
before
usort($res, "cmp"); give this error
**
**
*Parse error*: parse error, unexpected $ in
*/home2/wwwabcde/public_html/search/searchfuncs.php* on line *316*
**
*even * put
If I put this code
$res = array();while($row = mysql_fetch_assoc($query_result)) {
before
usort($res, "cmp"); give this error
Parse error: parse error, unexpected $ in /home2/wwwabcde/public_html/search/searchfuncs.php on line 316
even putting this code before
$res[$i]['size'] =
[EMAIL PROTECTED] wrote:
I have done as per your instructions, and put
var_dump($res);
BEFORE
usort($res, "cmp");
Please, go again to
http://www.abcdefg.us/search/search.php
Enter law we get this output.
NULL
*Warning*: usort(): The argument should be an array in
*/home2/wwwabcde/pub
I have done as per your instructions, and put
var_dump($res);BEFOREusort($res, "cmp");
Please, go again to
http://www.abcdefg.us/search/search.php
Enter law we get this output.
NULL Warning: usort(): The argument should be an array in /home2/wwwabcde/public_html/search/searchfuncs.php on
tedd wrote:
I have a list from a MYSQL database that I am dumping to a screen. I'd
like the user to be able to change the quantity on the form for any
record on the screen, then post that information back so the user can
review it, and I can then update the database.
Simple checkout routine.
[EMAIL PROTECTED] wrote:
let me give you more details to understand problem with the said code.
go to this link, please.
http://www.abcdefg.us/search/search.php
in search enter,
Justice, you get response without an error.
Now enter law,
you get error, pasted below,
*Warning*: usort()
tedd wrote:
Hi:
I know how to upload an image from a file into a BLOB in mySQL, but how
do you place an image that's in memory into mySQL?
For example, if I create an image via resampling another image or create
a new image, how do I get that image into mySQL? I know I can save it
as a fil
let me give you more details to understand problem with the said code.
go to this link, please.
http://www.abcdefg.us/search/search.php
in search enter,
Justice, you get response without an error.
Now enter law,
you get error, pasted below,
Warning: usort(): The argument should be an a
Roy Souther wrote:
It is and the key word here is "Follow" as in resolve the real file
location before parsing.
This is clearly an Apache problem. I have asked this question on a few
Apache forums and lists now and have not had any response.
Is there any way to make Apache parse the files wh
Hi:
I know how to upload an image from a file into a BLOB in mySQL, but
how do you place an image that's in memory into mySQL?
For example, if I create an image via resampling another image or
create a new image, how do I get that image into mySQL? I know I can
save it as a file and load it
Benjamin:
I'm trying subtract to dates the user enters in and get the days between.
Dates are stored as
date('mdY')
is there a built in function to subtract to dates is this format?
Try this for starters:
There are other examples at:
http://www.weberdev.com/get_example-3646.html
http://w
[EMAIL PROTECTED] wrote:
You have written,
Now do a var_dump($res) and see what *is* in $res
or do print_r().
Can you precisely mention where you want me to put this piece of code.
Please include your original post so we can all see it so we don't have
to search to find what you're talkin
Aleksandar Skodric wrote:
Hi,
I have changed the directory to the same disk. Results are _much_ better!
So nothing to blame on PHP, only my lack of knowledge about *nix-like
system *blush*
Thank all for the advice and help!
It's not *nix systems - it's all operating systems.
When you move a
Raúl Castro Marín wrote:
I got a little question, I just start to use binding adodb but I got a problem:
my primary query on Oracle is:
$query = "SELECT munici_mun, UPPER(nombre_mun)
FROM MUNI
WHERE departa_dpt = ? AND
munici_mun <= 994";
It is execute with any problem, but when I add anot
= ". $newValue;
$newDate = preg_replace('/(\d+\s\=\s)(\d+)/ie', 'incDate("$1","$2")',
$oldDate);
file_put_contents($file, $newDate . "\n");
This works with one file but with multi lines I'm having trouble:
if the file has:
20060301 = 34
2006030
Roman Rumisek wrote:
Hi,
i have configured apache 2.0.50 with mod_php 4.4.2 and
$_SERVER['SCRIPT_NAME'] beginning with /// (three slash).
Where have i a error ? (probably configuration)
Application apache configuration:
Alias /trsklad/ /.../projects/akce/src/html/
AllowOverride All
Hi:
I know how to upload an image from a file into a BLOB in mySQL, but
how do you place an image that's in memory into mySQL?
For example, if I create an image via resampling another image or
create a new image, how do I get that image into mySQL? I know I can
save it as a file and load it
Gustav Wiberg wrote:
- Original Message - From: "John Nichel" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Wednesday, March 01, 2006 9:57 PM
Subject: Re: [PHP] internal error when mailing...
Gustav Wiberg wrote:
Here's my code
if (strtoupper(substr(PHP_OS,0,3)=
You have written,
Now do a var_dump($res) and see what *is* in $res
or do print_r().
Can you precisely mention where you want me to put this piece of code.
Hi,
I have changed the directory to the same disk. Results are _much_ better!
So nothing to blame on PHP, only my lack of knowledge about *nix-like
system *blush*
Thank all for the advice and help!
Cheers,
Aleks
PS. defining of php_value in virtual host of apache did not work, so I
changed
Benjamin:
I'm trying subtract to dates the user enters in and get the days between.
Dates are stored as
date('mdY')
is there a built in function to subtract to dates is this format?
Try this for starters:
There are other examples at:
http://www.weberdev.com/get_example-3646.html
http://w
Benjamin Adams wrote:
I'm trying subtract to dates the user enters in and get the days between.
Dates are stored as
date('mdY')
is there a built in function to subtract to dates is this format?
Thanks
Built in, not that I'm aware of. However, if you're the one storing the
dates, you could s
I'm trying subtract to dates the user enters in and get the days
between.
Dates are stored as
date('mdY')
is there a built in function to subtract to dates is this format?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: "John Nichel" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Wednesday, March 01, 2006 9:57 PM
Subject: Re: [PHP] internal error when mailing...
Gustav Wiberg wrote:
Here's my code
if (strtoupper(substr(PHP_OS,0,3)=='WIN')): $eol="\r\n";
- Original Message -
From: "Jim Moseby" <[EMAIL PROTECTED]>
To: "'Gustav Wiberg'" <[EMAIL PROTECTED]>; "Jim Moseby"
<[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Wednesday, March 01, 2006 9:17 PM
Subject: RE: [PHP] Mailto members..?
> This type of email may be more susceptible to bei
(SOLVED, see below)
"Dan Baker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Chris" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Dan Baker wrote:
>>> I have the following code snippet:
>>> $h = fopen("$path/file.txt", 'x+');
>>>
>>> And it generates the foll
Gustav Wiberg wrote:
Here's my code
if (strtoupper(substr(PHP_OS,0,3)=='WIN')): $eol="\r\n"; elseif
(strtoupper(substr(PHP_OS,0,3)=='MAC')): $eol="\r"; else: $eol="\n"; endif;
//Message Subject
$emailsubject="Stammis Internet nyhetsbrev " . date("Y/m/d H:i:s");
//Message Body
ob_start();
r
I got a little question, I just start to use binding adodb but I got a problem:
my primary query on Oracle is:
$query = "SELECT munici_mun, UPPER(nombre_mun)
FROM MUNI
WHERE departa_dpt = ? AND
munici_mun <= 994";
It is execute with any problem, but when I add another clause with keyword:
AN
Here's my code
if (strtoupper(substr(PHP_OS,0,3)=='WIN')): $eol="\r\n"; elseif
(strtoupper(substr(PHP_OS,0,3)=='MAC')): $eol="\r"; else: $eol="\n"; endif;
//Message Subject
$emailsubject="Stammis Internet nyhetsbrev " . date("Y/m/d H:i:s");
//Message Body
ob_start();
require("emailbody.php"
tedd wrote:
> Please review (this works):
http://www.webbytedd.com/examples/rank.php
> However, this doesn't:
http://www.xn--ovg.com/rank.php
>
Any idea as to what is wrong?
Yes. You're violating google's terms of service.
Okay, so one is violating google's terms of service and
On 01/03/06, tedd <[EMAIL PROTECTED]> wrote:
>
> In any event, considering the Google Police here, I've removed the
> offending code.
>
Google Police? Aye, right!
You asked why your script was failing. It's failing because they
detected you were breaking their terms. Couldn't care less myself;
it
> > This type of email may be more susceptible to being caught
> in spam traps.
> > Check with your webhost to learn of any limits to the
> number of recipients
> > per message, and number of messages per day/hour/etc.
> >
> > JM
>
> Aha.. that's a reason good enough for me for not using this me
- Original Message -
From: "Jim Moseby" <[EMAIL PROTECTED]>
To: "'Gustav Wiberg'" <[EMAIL PROTECTED]>; "Marcus Gnaß"
<[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Wednesday, March 01, 2006 7:29 PM
Subject: RE: [PHP] Mailto members..?
> Gustav Wiberg schrieb:
>> while ($dbArray = my
> Please review (this works):
http://www.webbytedd.com/examples/rank.php
> However, this doesn't:
http://www.xn--ovg.com/rank.php
>
Any idea as to what is wrong?
Yes. You're violating google's terms of service.
Okay, so one is violating google's terms of service and failing while
Gustav Wiberg wrote:
- Original Message - From: "Marcus Gnaß" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Wednesday, March 01, 2006 5:29 PM
Subject: Re: [PHP] Mailto members..?
Gustav Wiberg schrieb:
while ($dbArray = mysql_fetch_array($querys)) {
...sendmail (fr
> > Gustav Wiberg schrieb:
> >> while ($dbArray = mysql_fetch_array($querys)) {
> >> ...sendmail (from, to, htmltext...)...
> >> }
> > Why let PHP do all the work? If the body is all the same for all
> > recipients you could send only one mail with all recipients in the
> > BCC-field and only on
- Original Message -
From: "Marcus Gnaß" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Wednesday, March 01, 2006 5:29 PM
Subject: Re: [PHP] Mailto members..?
Gustav Wiberg schrieb:
while ($dbArray = mysql_fetch_array($querys)) {
...sendmail (from, to, htmltext...).
- Original Message -
From: "Marcus Gnaß" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Wednesday, March 01, 2006 5:24 PM
Subject: Re: [PHP] About date & time...
Gustav Wiberg schrieb:
function currenttime() {
$t = date('h\:\ i\:\ s');
$returnTime = str_replace
preg_replace('/(\d+\s\=\s)(\d+)/ie', 'incDate("$1","$2")',
$oldDate);
file_put_contents($file, $newDate . "\n");
This works with one file but with multi lines I'm having trouble:
if the file has:
20060301 = 34
20060302 = 3
the file after sc
On 01/03/06, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> I have two *identical*l routines residing on two difference hosts --
> one works and the other doesn't.
>
> Please review (this works):
>
> http://www.webbytedd.com/examples/rank.php
>
> However, this doesn't:
>
> http://www.xn--ovg.com/ra
[snip]
I have two *identical*l routines residing on two difference hosts --
one works and the other doesn't.
[/snip]
Is safe mode 'on' on one and not the other?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi gang:
I have two *identical*l routines residing on two difference hosts --
one works and the other doesn't.
Please review (this works):
http://www.webbytedd.com/examples/rank.php
However, this doesn't:
http://www.xn--ovg.com/rank.php
Any idea as to what is wrong?
I can provide code if
"Chris" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Dan Baker wrote:
>> I have the following code snippet:
>> $h = fopen("$path/file.txt", 'x+');
>>
>> And it generates the following error:
>> Warning: fopen(/home/./myarea/file.txt): failed to open stream:
>> Permission deni
Others here have mentioned the use
of a mailer class I can't remember the name of (phpmailer maybe?).
PHPMailer is really good for sending HTML/Text/Both emails - I'm using it on
a few different sites.
Link: http://phpmailer.sourceforge.net/
Also, if you're going to use PHPMailer an excellent
- Original Message -
From: "Kevin Davies - Bonhurst Consulting" <[EMAIL PROTECTED]>
To: "'Jim Moseby'" <[EMAIL PROTECTED]>; "'Gustav Wiberg'"
<[EMAIL PROTECTED]>; "'PHP General'"
Sent: Wednesday, March 01, 2006 4:32 PM
Subject: RE: [PHP] Mailto members..?
Others here have mentione
Robin Vickery wrote:
On 01/03/06, Nils Reimann <[EMAIL PROTECTED]> wrote:
$conn_id = ftp_connect($ftp_server);
$login_result = ftp_login($conn_id, "$ftp_user_name", "$ftp_user_pass");
$download = ftp_get($conn_id, "$locale", "TEST EXEC", FTP_ASCII);
ftp_quit($conn_id);
connection workd, but th
On 01/03/06, Nils Reimann <[EMAIL PROTECTED]> wrote:
>
> $conn_id = ftp_connect($ftp_server);
> $login_result = ftp_login($conn_id, "$ftp_user_name", "$ftp_user_pass");
> $download = ftp_get($conn_id, "$locale", "TEST EXEC", FTP_ASCII);
> ftp_quit($conn_id);
>
> connection workd, but the download d
> Hi guys!
>
> Anyone knows of something like this, but for free?
> http://www.webscriptsdirectory.com/PHP/E-Mail-Systems/Php-News
> letter-Script-L1237/
>
> All I want to do is to send "a html mail" to all my members at
> http://www.stammis.com/ (swedish site for pedigrees). It would be a
> in
Hi guys!
Anyone knows of something like this, but for free?
http://www.webscriptsdirectory.com/PHP/E-Mail-Systems/Php-Newsletter-Script-L1237/
All I want to do is to send "a html mail" to all my members at
http://www.stammis.com/ (swedish site for pedigrees). It would be a
informative letter t
Hi,
i got a realy special problem with a little php work. i need some files from a
z/vm ftp server over an php script. z/vm is a virtualization operating system
for the ibm mainframe. my php script runs on a linux os, mountet on a z/vm
guest. to test if an ftp transfer is possible i've maked some
Hi,
Only way I know is to import them into the global scope with define()
If (!defined(PDO_FETCH_ASSOC))
define('PDO_FETCH_ASSOC', PDO::FETCH_ASSOC);
As for further differences, I'm not aware of any.
Jared
>
> According to documentation, PDO globals constants in 5.0.3+
> were changed to cl
I have a list from a MYSQL database that I am dumping to a screen.
I'd like the user to be able to change the quantity on the form for
any record on the screen, then post that information back so the
user can review it, and I can then update the database.
Simple checkout routine. Or so I thoug
Hi,
i have configured apache 2.0.50 with mod_php 4.4.2 and
$_SERVER['SCRIPT_NAME'] beginning with /// (three slash).
Where have i a error ? (probably configuration)
Application apache configuration:
Alias /trsklad/ /.../projects/akce/src/html/
AllowOverride All
Order deny,allow
According to documentation, PDO globals constants in 5.0.3+ were
changed to class constants in 5.1.
Does anyone have a suggestion for portability of constants between
the 5.0.x branch and the 5.1 branch without having to rewrite code.
Besides the constants, what other differences exist in P
67 matches
Mail list logo