I forgot about the mail thing...
Begin forwarded message:
From: Philip Thompson <[EMAIL PROTECTED]>
Date: June 17, 2008 6:52:15 PM CDT
To: PHP-General List
Subject: Re: [PHP] Password Protecting a page and email notification
On Jun 17, 2008, at 5:33 PM, R.C. wrote:
I'm going to ask you PHP g
On Jun 17, 2008, at 5:33 PM, R.C. wrote:
I'm going to ask you PHP gurus if someone can give me a hand in
trying to
get this resolved. I'm fairly new to PHP and learning as I go.
I've got two page "login.php" and video.php. Video.php is supposed
to be
protected i.e. if someone clicks on th
R.C. wrote:
I'm going to ask you PHP gurus if someone can give me a hand in trying to
get this resolved. I'm fairly new to PHP and learning as I go.
I've got two page "login.php" and video.php. Video.php is supposed to be
protected i.e. if someone clicks on the direct link or brings up the pag
I'm going to ask you PHP gurus if someone can give me a hand in trying to
get this resolved. I'm fairly new to PHP and learning as I go.
I've got two page "login.php" and video.php. Video.php is supposed to be
protected i.e. if someone clicks on the direct link or brings up the page in
a browser
Thanks for replying m8, but if you check the rest of the thread you will see
this has alraedy been solved and the result is
http://ezee.se/ezeeurl.php?do=1
Cheers!
Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey,
> I agree with Daniel. Your most likely solution is to use a Flash player
> (or similar implementation) and populate a portion of your page with the
> object via AJAX (which you are already apparently comfortable with).
Or make your own Flash player with Ming and PHP. Working on that mysel
It's *WRONG*.
So are vegetables. Long live the waffle!
BTW, anyone seen this:
http://code.google.com/apis/chart/ ...?
More to the point, is anyone using it commercially?
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
++
| Access SSH wi
Nate Tallman wrote:
Why is an ErrorDocument "insufficient" or "not the elegant way"?
It accomplishes the goal in a clean way, no?
It's *WRONG*. ErrorDocument still preserves the 404 error code, it just
gives it a prettier face. If the page really is there, returning a 404
for it is not corr
Ryan S wrote:
Hey!
Thanks for replying.
Digging a bit more i found
RewriteEngine On
RewriteRule ^([a-z][0-9][A-Z][aA0-zZ0])$ jj.php?show=$1
But it does not work :( do you see any fault with the above?
this is an apache issue, not a php issue, so you'll probably have better
luck on an a
Jason Pruim wrote:
Hi everyone,
I am attempting to adopt some code to work more reliably then how it is
now...
What I am doing is coding a upload form where people could be uploading
.zip files in excess of 200 MB... Yes I know that is large, but it's for
a print shop and they get HUGE file
On 17 Jun 2008, at 15:22, Michelle Konzack wrote:
Am 2008-06-16 12:02:27, schrieb Per Jessen:
Check client IP-addresses?
And then? I am DoS'ed from several 1000 IPs and since legitim
uploaders
are mostly on dynamic IPs I can not block by IP.
OK, last Saturday I have installed a COOKIE whi
Has anybody seen any software that could be used with PHP to extract the
preview pictures from CAD files such as DXF and the like. I'm looking to keep
thumbnails of the drawings in much the same was as we generate thumbnails of
images. So I can display a list of previews before downloading the w
As far as I remember, when I was on shared windows I had something similar
(no access to upload/create folders), the tech guy at the company i was
hosting at changed something in my privileges and it solved it.
You may have no creating privileges.
On 17/06/2008, Wei, Alice J. <[EMAIL PROTECTED]>
Hi, Daniel:
Thanks, I didn't realize that is the only problem. It sure is working pretty
good now.
One question, why didn't I get "Permission Denied" when I tried to do it
before the execution permissions were set properly?
Alice
==
Ali
On 6/17/08, Daniel Brown <[EMAIL PROTECTED]> wrote:
>
> On Tue, Jun 17, 2008 at 2:43 PM, Wei, Alice J. <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> [snip!]
> >
> > This is my PHP code:
> >
> > mkdir("C:/Inetpub/wwwroot/TPU/test/$id, 0755) or die ("Cannot create
> directory C:/Inetpub/wwwroot/TPU/test/$
On Tue, Jun 17, 2008 at 2:43 PM, Wei, Alice J. <[EMAIL PROTECTED]> wrote:
> Hi,
>
[snip!]
>
> This is my PHP code:
>
> mkdir("C:/Inetpub/wwwroot/TPU/test/$id, 0755) or die ("Cannot create
> directory C:/Inetpub/wwwroot/TPU/test/$id");
>
> What is strange is that I don't get permission denied erro
Hi,
I have a code here that I am intending to create new directories by creating
a parent and then proceed on to create the children one by one.
I am trying to create directories in the server I am running my script from
as shown in the snippet below. My problem is that although the code se
On Tue, Jun 17, 2008 at 8:39 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I am attempting to adopt some code to work more reliably then how it is
> now...
>
> What I am doing is coding a upload form where people could be uploading .zip
> files in excess of 200 MB... Yes I know that
At 9:01 AM -0400 6/17/08, Dan Shirah wrote:
>
The code I'm having issues with is this:
$filename = $_FILES['userfile']['name']; // Get the name of the file
(including file extension).
$ext = substr($filename, strpos($filename,'.'),
strlen($filename)-1); // Get the extension
On Tue, Jun 17, 2008 at 1:02 PM, Børge Holen <[EMAIL PROTECTED]> wrote:
>
> Oh, how many distros have you tried?
> Just wondering, cus as I see it; you just took a chance and called it a fact
Who, me? I didn't call it a fact, I called it a myth. ;-P
--
Dedicated Servers - Intel 2.4GHz w/2
On Tuesday 17 June 2008 00:08:48 Daniel Brown wrote:
> On Mon, Jun 16, 2008 at 5:23 PM, Jonesy <[EMAIL PROTECTED]> wrote:
> > On Sun, 15 Jun 2008 14:07:14 -0400, tedd wrote:
> >> At 4:11 PM +0100 6/15/08, Richard Heyes wrote:
> But, a sophisticated user will find a way around that.
> >>>
> >>>A
On Tue, Jun 17, 2008 at 8:22 AM, Michelle Konzack <
[EMAIL PROTECTED]> wrote:
> Am 2008-06-16 12:02:27, schrieb Per Jessen:
> > Check client IP-addresses?
>
> And then? I am DoS'ed from several 1000 IPs and since legitim uploaders
> are mostly on dynamic IPs I can not block by IP.
>
> OK, last Sa
Am 2008-06-16 12:02:27, schrieb Per Jessen:
> Check client IP-addresses?
And then? I am DoS'ed from several 1000 IPs and since legitim uploaders
are mostly on dynamic IPs I can not block by IP.
OK, last Saturday I have installed a COOKIE which worked for the weekend
but today morning the DoS'er
valsaraj <[EMAIL PROTECTED]> wrote:
>
> Thanks.
> But in php 5.2.2 it's not compiled with mbstring. But in version 5.2.0 it's
> compiled with mbstring support, but I don't get information aboout what
> settings is required by htmlentities() to work properly. Could you help to
> find out th
valsaraj wrote:
>
>
> valsaraj wrote:
>>
>> Hi,
>> I am using code
>> $val = htmlentities($val, ENT_QUOTES, "UTF-8");
>>
>> but it's not working in version 5.2.0. Is there any additional
>> configuration needed for this. it's working well in 5.2.2. Could you
>> please help me???
>>
>
>
>
Thanks.
But in php 5.2.2 it's not compiled with mbstring. But in version 5.2.0 it's
compiled with mbstring support, but I don't get information aboout what
settings is required by htmlentities() to work properly. Could you help to
find out this?
valsaraj wrote:
>
> Hi,
> I am using code
> $val
On 17 Jun 2008, at 14:04, Jason Pruim wrote:
On Jun 17, 2008, at 9:01 AM, Dan Shirah wrote:
The code I'm having issues with is this:
$filename = $_FILES['userfile']['name']; // Get the name of
the file (including file extension).
$ext = substr($filename, strpos($filename,'.'),
s
On 17 Jun 2008, at 14:05, Jason Pruim wrote:
On Jun 17, 2008, at 8:46 AM, Stut wrote:
On 17 Jun 2008, at 13:39, Jason Pruim wrote:
I am attempting to adopt some code to work more reliably then how
it is now...
What I am doing is coding a upload form where people could be
uploading .zip fil
Jason,
If you don't expressly need it to run server side, you could always use a
simple little javascript check if you want.
*
function checkFileType() {
// for mac/linux, else assume windows
if (navigator.appVersion.indexOf('Mac') != -1 ||
navigator.appVersion.indexOf('Linux') != -1)
v
On Jun 17, 2008, at 8:46 AM, Stut wrote:
On 17 Jun 2008, at 13:39, Jason Pruim wrote:
I am attempting to adopt some code to work more reliably then how
it is now...
What I am doing is coding a upload form where people could be
uploading .zip files in excess of 200 MB... Yes I know that is
On Jun 17, 2008, at 9:01 AM, Dan Shirah wrote:
The code I'm having issues with is this:
$filename = $_FILES['userfile']['name']; // Get the name of
the file (including file extension).
$ext = substr($filename, strpos($filename,'.'),
strlen($filename)-1); // Get the extension
>
> The code I'm having issues with is this:
>
>$filename = $_FILES['userfile']['name']; // Get the name of the file
> (including file extension).
>$ext = substr($filename, strpos($filename,'.'),
> strlen($filename)-1); // Get the extension from the filename.
>
> All I want to do is
On 17 Jun 2008, at 13:39, Jason Pruim wrote:
I am attempting to adopt some code to work more reliably then how it
is now...
What I am doing is coding a upload form where people could be
uploading .zip files in excess of 200 MB... Yes I know that is
large, but it's for a print shop and they
Hi everyone,
I am attempting to adopt some code to work more reliably then how it
is now...
What I am doing is coding a upload form where people could be
uploading .zip files in excess of 200 MB... Yes I know that is large,
but it's for a print shop and they get HUGE files to print from.
On Jun 17, 2008, at 8:05 AM, Richard Heyes wrote:
Again, FF only. This is a somewhat better example of what can be
done with CANVAS. Not quite on par with what some have shown, but
hey I only started yesterday... :-)
http://www.phpguru.org/graph/graph.html
The bars maybe a few pixels off,
Again, FF only. This is a somewhat better example of what can be done
with CANVAS. Not quite on par with what some have shown, but hey I only
started yesterday... :-)
http://www.phpguru.org/graph/graph.html
The bars maybe a few pixels off, but really, who cares?
--
Richard Heyes
Empl
On Jun 16, 2008, at 10:49 PM, Chris wrote:
Jason Pruim wrote:
Okay, So I'm going to just assume that my issue is the fact that I'm
tired... and my mind won't work properly.
[Mon Jun 16 22:27:58 2008] [error] PHP Warning: mysqli_connect()
expects parameter 5 to be long, string given
Now para
On 16 June 2008 21:58, Richard Kurth advised:
> I am looping through a database of files that are numbers 1 through 10
> if number 1 is in the database I what to print out the first table
> below if it is not then print the else section below. Then
> loop through
> the database to see if 2 throug
On Mon, Jun 16, 2008 at 11:26 PM, valsaraj <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I am using code
> $val = htmlentities($val, ENT_QUOTES, "UTF-8");
>
> but it's not working in version 5.2.0. Is there any additional
> configuration
> needed for this. it's working well in 5.2.2. Could you please help
php 5.2.6+debian linux
"gege wan" <[EMAIL PROTECTED]> дÈëÏûÏ¢ÐÂÎÅ:[EMAIL PROTECTED]
> hello all,
> i want convert the phonetic symbols and chinese pinyin to NCR.
> i use the function mb_encode_numericentity do it, but i can't
> got the true convmap table, so i can't convert the phonetic symbols an
40 matches
Mail list logo