"Ryan A" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hey,
>
> been looking at a lot of calenders most of them are either too big for my
> use (whole page), not free, in javascript or too complicated.
>
> I require a calender that is simple, loads fast,small and not javascript,
>
"Travis Low" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have to say I like everything about the PEAR coding standards except for
the
> K&R bracing style. I much prefer:
>
>if( foo )
>{
> blah;
>}
>
> to
>
>if( foo ) {
> blah;
>}
>
>
> The latter
Christopher J. Mackie wrote:
I'm following the PEAR docs to use Mail/SMTP. Below is the code I use,
swiped directly from the docs--I've changed the authorization data to
protect privacy, but otherwise it's identical (and email sent from a client
on this same machine using the same settings works fi
Ryan,
with a bit of tweaking you can edit that script to what you want.
heres an example
=
";
$calendar_html .= "" .
$month_name . " " . $year . "";
$calendar_html .= "";
$calendar_html .=
i have configured apache 2.0.49 in my system and included the following lines of code
in my http:conf file
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
i have also configured the php.ini file and created a test script(phpinfo.php,placed
it in my htd
Rohit Mohta wrote:
i have configured apache 2.0.49 in my system and included the following lines of code
in my http:conf file
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
i have also configured the php.ini file and created a test script(phpinfo.php,pla
Hi, we have a few projects which requires suitable people to provide coding
work for PHP/MySQL and HTML. If you are interested, please email me so that
I can provide you with more info.
FYI, system analysis and design is completed. Only require development work.
Thanks!
Davis.
--
PHP General Ma
PHP is installed without openssl here at pair. I want to make a socket call
to port 443 on a server and I'm getting an error from fsocketopen() that no
ssl support is built in, of course. I thought that using "ssl://" might work
around this, but I guess not. Any ideas for me?
$host = "my.host.com
Is your php.ini in the windows or winnt directory?
>>i have configured apache 2.0.49 in my system and included the following lines of
>>code in my http:conf file
>>
>>LoadModule php4_module "c:/php/sapi/php4apache2.dll"
>>AddType application/x-httpd-php .php
>>
>>i have also configured the php.i
Hi all
I came across this on freshmeat, I thought I must share it
http://phpbutton.sourceforge.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I tried this HTML:
$_REQUEST['deleteID'] === the last box checked.
so I did a google search and changed my HTML to:
Now the code:
for ($i = 0; $i < count($_REQUEST['deleteID']); $i++){
echo "deleting '" . $value . "'";
}
has the right count but how do I get the values out?
--
PHP General Ma
On Mon, 31 May 2004 10:50:52 -0400 [EMAIL PROTECTED] (Bob Lockie) wrote:
> I tried this HTML:
>
>
>
> $_REQUEST['deleteID'] === the last box checked.
> so I did a google search and changed my HTML to:
>
>
>
>
> Now the code:
> for ($i = 0; $i < count($_REQUEST['deleteID']); $i++){
> ec
Change $_REQUEST to $_POST (a little more secure).
foreach( $deleteID as $key => $value) {
echo 'deleting ' . $value . '' ;
}
>>I tried this HTML:
>>
>>
>>
>>$_REQUEST['deleteID'] === the last box checked.
>>so I did a google search and changed my HTML to:
>>
>>
>>
>>
>>Now the code:
>>for
Thanks to all those who responded.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I usually use this approach:
.
.
---
foreach($_REQUEST['myName'] as $id => $value)
{
if($value == "CHECKED")
array_push($idArray, $id);
}
if something is not clear, let me know
cheers,
A.
-Messaggio originale-
Da: Bob Lockie [mailto:[EMAIL PROTECTED]
Inviato: l
I want to duplicate a row (back it up - copy to a table with the same
schema) regardless of the table schema.
This in MySQL but I need a solution that can be made easily portable to
other databases.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
http://dev.mysql.com/doc/mysql/en/INSERT_SELECT.html
"Bob Lockie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I want to duplicate a row (back it up - copy to a table with the same
> schema) regardless of the table schema.
> This in MySQL but I need a solution that can be made ea
INSERT INTO new_table (column1, column2, ...)
SELECT column1, column2, ...
FROM original_table
>>I want to duplicate a row (back it up - copy to a table with the same
>>schema) regardless of the table schema.
>>This in MySQL but I need a solution that can be made easily portable to
>>other data
On 05/31/04 11:42 Craig spoke:
http://dev.mysql.com/doc/mysql/en/INSERT_SELECT.html
"Bob Lockie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I want to duplicate a row (back it up - copy to a table with the same
schema) regardless of the table schema.
This in MySQL but I need a solut
Bob Lockie wrote:
I tried this HTML:
$_REQUEST['deleteID'] === the last box checked.
so I did a google search and changed my HTML to:
Now the code:
for ($i = 0; $i < count($_REQUEST['deleteID']); $i++){
echo "deleting '" . $value . "'";
}
has the right count but how do I get the values out?
I'm working with a host on a Linux box with PHP 4.2.2. The version of GD
Library they have is 1.8.4. I was uploading some pictures using a script
that leveraged GD Library 2+. Using the php version with the newer GD
library seemed to produce a better quality image. I have two questions:
1 -
I gave it a go, and I got the error:
"Parse error: parse error, unexpected '}'"
This was on the last "}". Now I am brand new at php, but should there
not be an opening and closing curly bracket? in this code there are one
"{" and three "}"
So I made my code:
if ($file != '.' && $file !=
Hi there,
I am trying to prevent hotlinking of images by other servers.
Pictures are generated on the fly by a php script, where I have included this
code to prevent hot linking:
$haystack = $_SERVER['HTTP_REFERER'];
$needle = 'globosapiens';
$pos = strpos($haystack, $needle);
if ($pos ===
With the SELECT drop down, you'd need a submit button, and then the value of $file
would be passed to the next page and read. There you
could open that file.
>>So I made my code:
>>
>>>if ($handle = opendir('../../../mov')) {
>>while (false !== ($file = readdir($handle)))
>>
>>if ($
"Dustin Krysak" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I gave it a go, and I got the error:
> "Parse error: parse error, unexpected '}'"
Sorry there are some braces missing. Please try this:
if ($handle = opendir('../../../mov')) {
while (false !== ($file = readdir($han
Merlin wrote:
Hi there,
I am trying to prevent hotlinking of images by other servers.
Pictures are generated on the fly by a php script, where I have included
this code to prevent hot linking:
$haystack = $_SERVER['HTTP_REFERER'];
$needle = 'globosapiens';
$pos = strpos($haystack, $needle);
ok, I added brackets and made my code to:
if ($file != '.' && $file != '..') {
$fileName = str_replace('.mov', '', $file);
echo '' .
$fileName . '';
}
}
closedir($handle);
}
?>
when viewing my page in a browser, it worked! Now what I am hoping to
do is
"Dustin Krysak" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> ok, I added brackets and made my code to:
>
> if ($handle = opendir('../../../mov')) {
> while (false !== ($file = readdir($handle))) {
>
> if ($file != '.' && $file != '..') {
>
> $fileName = str
What would be the easiest way to open a text file, remove a line if the line
begins with a word from an array of words (there are 5 words I will be
looking for) then write that back to the text file with everything removed
Thanks
Alan
What would be the easiest way to open a text file, remove a line if the line
begins with a word from an array of words (there are 5 words I will be
looking for) then write that back to the text file with everything removed
Thanks
Alan
At 10:19 PM 5/30/2004, you wrote:
Chris Wagner wrote:
i am wondering if there is a good way to trigger a php script from a web
page *without* sending the user to a new page or opening a new browser
windows.
for instance, suppose you wanted to make a button/link on a web page
that, when clicked, wou
Merlin wrote:
I am trying to prevent hotlinking of images by other servers.
Pictures are generated on the fly by a php script, where I have included
this code to prevent hot linking:
$haystack = $_SERVER['HTTP_REFERER'];
$needle = 'globosapiens';
$pos = strpos($haystack, $needle);
if ($pos
Hey All,
I know I asked this before a couple of weeks ago, but I need a good swift
kick in the right direction :D
I need to know how to do a text stream in PHP.
I have tried the following:
while loop with flush and sleep functions
HTTP/1.1 Connection: Stream (seems to work in the above while loo
I want to verify that there is data (doesn't matter whether it's valid data or
not) inside a MySQL blob using a PHP function. How do I do this?
Thanks!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2004-05-31 at 15:28, Stephen Lake wrote:
> Hey All,
>
> I know I asked this before a couple of weeks ago, but I need a good swift
> kick in the right direction :D
>
> I need to know how to do a text stream in PHP.
> I have tried the following:
>
> while loop with flush and sleep function
Hi List,
Sorry for this question being slightly OT but its is to due with my Php
script in a way.
MySql has stopped adding rows since the db table hit 1mb...
Anyone know why ?
I have search mysql.com docs and other web resources but can not figure it
out.
Running FreeBSD 4.7 and MySql 3.23.58
Hey
what would the syntax look like if I was receiving an array from flash. Assume
that it is inside a class with a proper contructor
class receiveRemoting{
function receiveRemoting{
//ALL THE CONFIG STUFF
}
function receiveArrayFromFlash($arrayFromFlash){
//THIS IS WHERE
alantodd wrote:
What would be the easiest way to open a text file, remove a line if the line
begins with a word from an array of words (there are 5 words I will be
looking for) then write that back to the text file with everything removed
$filedata = file('yourfile.txt');
foreach($filedata as $key
What's the difference between
function &myfunction() {
}
and
function &myfunction() {
}
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oops... I mean, what's the difference between
function &myfunction() {
}
and
function myfunction() {
}
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The ampersand indicates that the function is returning by reference:
http://www.php.net/references.return
Chris
René Fournier wrote:
Oops... I mean, what's the difference between
function &myfunction() {
}
and
function myfunction() {
}
?
--
PHP General Mailing List (http://www.php.net/)
To
I'm looking for some good, secure login code, and found the following
article:
http://www.devshed.com/c/a/PHP/Creating-a-Secure-PHP-Login-Script/
Not being much of a security expert, I was wondering if anyone here
could say whether this code is any good? Or if there's a better one
elsewhere? (I
No syntax error but this always returns 's'.
$add = $delete_count > 0 ? "s" : "x";
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The link I posted previously is causing me some grief, apparently
because I don't know the first thing about object-oriented PHP or PEAR.
Here's the thing: If I MUST learn these two things in order to copy the
security of the sample script, I will, but is it really necessary in
your opinion?
.
Bob Lockie wrote:
No syntax error but this always returns 's'.
$add = $delete_count > 0 ? "s" : "x";
That means $delete_count is always greater than 0
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bob Lockie wrote:
No syntax error but this always returns 's'.
$add = $delete_count > 0 ? "s" : "x";
Hmm.. that's odd because
if(false)
{ return false; }
always returns false for me...
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP
Hello ,
How can I compile PHP so that it does not mater what version of
mysql is installed.
If I compile it for mysql 3.X and then upgrade mysql to ver 4
PHP will not install.
I get error while loading shared libraries: libmysqlclient.so.12: cannot open shared
object file
this is how
--- Richard Kurth <[EMAIL PROTECTED]> wrote:
> Hello ,
>
> How can I compile PHP so that it does not mater
> what version of
> mysql is installed.
> If I compile it for mysql 3.X and then upgrade
> mysql to ver 4
> PHP will not install.
> I get error while loading shared libraries:
> li
Hello,
On 05/31/2004 10:14 AM, Steve Douville wrote:
PHP is installed without openssl here at pair. I want to make a socket call
to port 443 on a server and I'm getting an error from fsocketopen() that no
ssl support is built in, of course. I thought that using "ssl://" might work
around this, but
On 05/31/2004 04:28 PM, Stephen Lake wrote:
I know I asked this before a couple of weeks ago, but I need a good swift
kick in the right direction :D
I need to know how to do a text stream in PHP.
I have tried the following:
while loop with flush and sleep functions
HTTP/1.1 Connection: Stream (seem
On Mon, 31 May 2004 16:11:07 -0600, René Fournier <[EMAIL PROTECTED]> wrote:
> If I MUST learn these two things in order to copy the
> security of the sample script, I will, but is it really necessary in
> your opinion?
Let me see. Will you let a surgeon who does not know how to handle a
scalpel t
sorry for asking such questions ,
...
If u all don't have codings for such cases , could
u plz direct me with some steps ?
Thank u
#
i used this script to run that abc.pl in command
prompt. It is perfectly running.
//$Exhibit
Ok - here is the relevant Quicktime code:
http://www.apple.com/qtactivex/qtplugin.cab";>
http://www.apple.com/quicktime/download/indext.html";>
http://www.apple.com/quicktime/download/indext.html";
target="myself">
Now I figure - getting the file name in there would be prett
Hey,
Thanks to you guys on the list I have started to tweak the simple calender
which I posted earlier...but have run into problems ;-)
(I didnt go with the PEAR one coz we don't have PEAR installed on all our
shared hosting accounts)
What I am trying to do is, have some dates be clickable (linke
Any thoughts on this?
I'm working with a host on a Linux box with PHP 4.2.2. The version of GD
Library they have is 1.8.4. I was uploading some pictures using a script
that leveraged GD Library 2+. Using the php version with the newer GD
library seemed to produce a better quality image. I h
Greetings, when compiling PHP with the 'with-mysql' option I get an
warning against using the built-in mysql support. So, I tried
'--with-mysql=/path/to/mysql.so and got the following error:
Cannot find MySQL header files under...
What are the names of the mysql header files this message is tal
* Thus wrote Jough P ([EMAIL PROTECTED]):
> Greetings, when compiling PHP with the 'with-mysql' option I get an
> warning against using the built-in mysql support. So, I tried
> '--with-mysql=/path/to/mysql.so and got the following error:
> Cannot find MySQL header files under...
The with optio
Hi all
On the link provided below, I noticed that you cant right click.
Therefore you cant get "View source code"
or "Copy link" etc (Depenind on the browser used of course)
http://www.full.xtremedl.com/6.htm
Would anyone know how to do this.
I see that you cant even right click on the pic
Wei
Under IE->View->Source and Bingo.
It's probably a javascript script. Easy to bypass.
PHP related...err no.
- Original Message -
From: "Brent Clark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 01, 2004 2:49 PM
Subject: [PHP] Cant right click
Hi all
On the link pro
59 matches
Mail list logo