hey,boy, i think you should use datebase to store user status,use user's
internet-ip and intranet-ip to idenification.
To: php-general@lists.php.net
From: d...@program-it.ca
Date: Wed, 15 Apr 2009 16:20:05 -0400
Subject: Re: [PHP] redirect to a page the fist time a site is accessed
Hi guys,
I've been learning about object oriented programming and I wrote this test
class but it doesn't seem to be working, it throws no errors but doesn't
insert anything to the database either. I have made sure that the data being
sent when the class is instantiated is valid.
I'm probably
2009/4/16 Luke l...@blog-thing.com:
Hi guys,
I've been learning about object oriented programming and I wrote this test
class but it doesn't seem to be working, it throws no errors but doesn't
insert anything to the database either. I have made sure that the data being
sent when the class is
Hi List,
Not PHP specific, but maybe of interest for you ...
BEIJING, April 9
For the first time in nearly 20 years, China will issue a modified list of
simplified Chinese characters
in an effort to further standardize a language used by billions around the
world.
More at:
2009/4/15 Don d...@program-it.ca:
I have some code in my index.php file that check the user agent and
redirects to a warning page if IE 6 or less is encountered.
1. I'm using a framework and so calls to all pages go through index.php
2. The code that checks for IE 6 or less and redirects is
2009/4/16 Jan G.B. ro0ot.w...@googlemail.com
2009/4/16 Luke l...@blog-thing.com:
Hi guys,
I've been learning about object oriented programming and I wrote this
test
class but it doesn't seem to be working, it throws no errors but doesn't
insert anything to the database either. I have
I Agree with @stuart.
Regards,
Igor Escoar
Systems Analyst Interface Designer
--
Personal Blog
~ blog.igorescobar.com
Online Portifolio
~ www.igorescobar.com
Twitter
~ @igorescobar
On Thu, Apr 16, 2009 at 6:05 AM, Stuart stut...@gmail.com wrote:
2009/4/15 Don d...@program-it.ca:
I
Hi, yeah ftp manually works just fine using the same login too.
James
-Original Message-
From: Chris [mailto:dmag...@gmail.com]
Sent: Wednesday, April 15, 2009 10:09 PM
To: James
Cc: php-general@lists.php.net
Subject: Re: [PHP] ftp_put issues
James wrote:
Hi, I'm trying to upload a
Luke wrote:
2009/4/16 Jan G.B. ro0ot.w...@googlemail.com
2009/4/16 Luke l...@blog-thing.com:
Hi guys,
I've been learning about object oriented programming and I wrote this
test
class but it doesn't seem to be working, it throws no errors but doesn't
insert anything to the database
On Thu, Apr 16, 2009 at 2:41 PM, Thijs Lensselink p...@addmissions.nlwrote:
Luke wrote:
2009/4/16 Jan G.B. ro0ot.w...@googlemail.com
2009/4/16 Luke l...@blog-thing.com:
Hi guys,
I've been learning about object oriented programming and I wrote this
test
class but it doesn't seem
Luke Slater wrote:
On Thu, Apr 16, 2009 at 2:41 PM, Thijs Lensselink p...@addmissions.nl
mailto:p...@addmissions.nl wrote:
Luke wrote:
2009/4/16 Jan G.B. ro0ot.w...@googlemail.com
mailto:ro0ot.w...@googlemail.com
2009/4/16 Luke l...@blog-thing.com
On Thu, Apr 16, 2009 at 9:27 PM, James mli...@ichor-interactive.com wrote:
Hi, yeah ftp manually works just fine using the same login too.
James
-Original Message-
From: Chris [mailto:dmag...@gmail.com]
Sent: Wednesday, April 15, 2009 10:09 PM
To: James
Cc:
Stuart wrote:
2009/4/15 Don d...@program-it.ca:
I have some code in my index.php file that check the user agent and
redirects to a warning page if IE 6 or less is encountered.
1. I'm using a framework and so calls to all pages go through index.php
2. The code that checks for IE 6 or less and
The ftpData function and in fact all the php stuff is running online on my
webserver. The pdf file is on my local machine, I'm trying to upload the
local pdf file to the server using ftp.
The dest variable I have tried with the full path:
/var/www/html/Docs/DU/DU1.pdf
And with just the
Date: Thu, 16 Apr 2009 14:43:46 +0100
From: l...@blog-thing.com
To: p...@addmissions.nl
CC: ro0ot.w...@googlemail.com; php-general@lists.php.net
Subject: Re: [PHP] problem with my class
On Thu, Apr 16, 2009 at 2:41 PM, Thijs Lensselink p...@addmissions.nlwrote:
Luke wrote:
On Thu, Apr 16, 2009 at 10:24 PM, James Hill
ja...@ichor-interactive.com wrote:
The ftpData function and in fact all the php stuff is running online on my
webserver. The pdf file is on my local machine, I'm trying to upload the
local pdf file to the server using ftp.
The dest variable I
Ah ok, I guess that would explain it. Thanks for your help :-)
-Original Message-
From: j's php general [mailto:php-generals-php-dot-...@jhive.net]
Sent: Thursday, April 16, 2009 10:39 AM
To: James Hill
Cc: php-general@lists.php.net
Subject: Re: [PHP] ftp_put issues
On Thu, Apr 16, 2009
2009/4/16 abdulazeez alugo defati...@hotmail.com:
Date: Thu, 16 Apr 2009 14:43:46 +0100
From: l...@blog-thing.com
To: p...@addmissions.nl
CC: ro0ot.w...@googlemail.com; php-general@lists.php.net
Subject: Re: [PHP] problem with my class
On Thu, Apr 16, 2009 at 2:41 PM, Thijs Lensselink
Excuse my bad spelling. I should have read the message again before
hitting send. :-)
2009/4/16 Jan G.B. ro0ot.w...@googlemail.com:
I think the problem was with the $title. As above, you defined the private
variable $rtitle but you were trying to call the variable later as $title.
The
On Wed, Apr 15, 2009 at 9:17 PM, David quick.webmas...@gmail.com wrote:
Except I also need to POST data to the server to login. After I've logged
in, I then need to use cookies to maintain a session.
Doing that via file_get_contents() just isn't possible.
Thanks
On Thu, Apr 16, 2009 at
Thanks. I will see. The script for my database was been generated so, I will
doublecheck this uppercase issue...
Regards,
Márcio
2009/4/15 Thodoris t...@kinetix.gr
Hi there, Ive made a fetch_obj and, as stated on some sites, it returns a
anonymous
object where the properties will have the
alt sounds like alternator ;)
On Wed, Apr 15, 2009 at 10:00 PM, Paul M Foster pa...@quillandmouse.comwrote:
On Wed, Apr 15, 2009 at 03:23:19PM +0100, Tom Calpin wrote:
Hi all,
I've just started looking at the code of an e-commerce site we are taking
over the development of, that
Hello,
Besides the .htaccess which might be an apache configuration problem if
you use ini_set(mbstring.func_overload,2) in a script of this
directory does it work?
no, also the ini_set does not work for this Directive.
In addition to this heck your apache configuration to see if you allow
When I insert this code into a page, I get a 1 show up. Can anyone explain
that and tell me how to get rid of it?
Thanks for your help.
Gary
?php
//Chooses a random number
$num = Rand (1,6);
//Based on the random number, gives a quote
switch ($num)
{
case 1:
echo include('box.inc.php');
break;
Try using only: include('box.inc.php'); instead of echo
include('box.inc.php');
Gary gwp...@ptd.net escreveu na mensagem
news:63.c9.24434.0b377...@pb1.pair.com...
When I insert this code into a page, I get a 1 show up. Can anyone explain
that and tell me how to get rid of it?
Thanks for
Perfect, thanks so much.
Do you know why the number 1 displayed?
Thanks again.
João Cândido de Souza Neto j...@consultorweb.cnt.br wrote in message
news:9c.9a.24434.fc477...@pb1.pair.com...
Try using only: include('box.inc.php'); instead of echo
include('box.inc.php');
Gary
You're echoing the return value of include(), which is true, or 1.
--
Kyle Smith
Unix Systems Administrator
-Original Message-
From: Gary [mailto:gwp...@ptd.net]
Sent: Thursday, April 16, 2009 2:14 PM
To: php-general@lists.php.net
Subject: [PHP] Re: Strange result, 1 shows up
Thank you for your help!
Gary
kyle.smith kyle.sm...@inforonics.com wrote in message
news:d3fe56d174abf6469079ca1a5c8474a804fa9...@nsmail01.inforonics.corp...
You're echoing the return value of include(), which is true, or 1.
--
Kyle Smith
Unix Systems Administrator
-Original
Hi List,
I have been thinking for a while about setting up my own rapidshare.comclone,
Few days back I went really serious with this and came up with some ideas.
This is where I need your help, my partner and I have been thinking about
the
system that the website should run on.
We came to
On Thu, Apr 16, 2009 at 1:29 PM, Nitsan Bin-Nun nit...@binnun.co.il wrote:
Hi List,
I have been thinking for a while about setting up my own rapidshare.comclone,
Few days back I went really serious with this and came up with some ideas.
This is where I need your help, my partner and I have
What is Amazon SSS??
On Thu, Apr 16, 2009 at 8:59 PM, Leonard Burton leonardbur...@gmail.comwrote:
Why not use something like Amazon SSS and not worry about a lot of the
details?
On Thu, Apr 16, 2009 at 2:29 PM, Nitsan Bin-Nun nit...@binnun.co.il
wrote:
Hi List,
I have been thinking
Its Amazon S3 service. Which takes care of your CPU and scaling needs of
bandwidth. Good for CSS, JS and Image storing.
http://aws.amazon.com/s3/
On Thu, Apr 16, 2009 at 3:10 PM, Nitsan Bin-Nun nit...@binnun.co.il wrote:
What is Amazon SSS??
On Thu, Apr 16, 2009 at 8:59 PM, Leonard Burton leonardbur...@gmail.com
wrote:
Why not use something like Amazon SSS and not worry about a lot of the
details?
On Thu,
Nitsan Bin-Nun wrote:
Hi List,
I have been thinking for a while about setting up my own rapidshare.comclone,
Few days back I went really serious with this and came up with some ideas.
This is where I need your help, my partner and I have been thinking about
the
system that the website should
Michael A. Peters wrote:
$archive = /path/to/some/tarball;
should be $archive = '/path/to/some/tarball';
:D
rest of the code is copied from a file I use to serve content that is
outside the web root.
That's one of my rules - the web server never has write permission to
any directory
My bad, I'm sending a copy to the list.
On Thu, Apr 16, 2009 at 9:37 PM, Nitsan Bin-Nun nit...@binnun.co.il wrote:
Actually I don't much care for that, IMO 700MB~ is way too big for HTTP, I
thought of giving away FTP links for download, but I have thought of the
following:
* First, there is
How is 700MB too big for HTTP? Ever download a linux distro? Ever
benchmark FTP vs HTTP, the overhead is minimal...
--
Kyle Smith
Unix Systems Administrator
-Original Message-
From: Nitsan Bin-Nun [mailto:nit...@binnun.co.il]
Sent: Thursday, April 16, 2009 3:37 PM
To: PHP General
On Thu, Apr 16, 2009 at 12:27:38PM -0700, Michael A. Peters wrote:
snip
We are talking about unlimited file-size hosting so that means that we
will have to stream the files somehow... and they will be BIG (it's
defendant,
about 700MB~ each)
Then I suggest setting up a torrent instead of
kyle.smith wrote:
How is 700MB too big for HTTP? Ever download a linux distro? Ever
benchmark FTP vs HTTP, the overhead is minimal...
I download linux distro's all the time - er, whenever a new CentOS is
released.
It's not overhead that is the issue.
It's being able to continue an
Paul M Foster wrote:
Then I suggest setting up a torrent instead of direct download.
You can have protected torrents. I don't know how to set them up but I
use them - there's a torrent site that requires I log in from the same
IP as I'm running the torrent client from, for example.
A torrent
On Thu, 2009-04-16 at 13:31 -0700, Michael A. Peters wrote:
Paul M Foster wrote:
Then I suggest setting up a torrent instead of direct download.
You can have protected torrents. I don't know how to set them up but I
use them - there's a torrent site that requires I log in from the same
You are definitely right, but there is one thing that you didn't knew and
I'm sure that you didn't take into account - usually the files on the server
will be DVD rip's that are typically 700MB~ in size, every second movie that
people will download will contain some interrupted pieces, although
Michael A. Peters wrote:
kyle.smith wrote:
How is 700MB too big for HTTP? Ever download a linux distro? Ever
benchmark FTP vs HTTP, the overhead is minimal...
I download linux distro's all the time - er, whenever a new CentOS is
released.
It's not overhead that is the issue.
It's being
Neh, we don't have plenty of these in Israel, don't count it in as an issue.
Serving the files won't be an overkill for my harddrive / cpu usage /
anything else?
There is a better way to serve the files with/without PHP and keeping them
outsite of the HTTP root?
Thanks in Advance,
Nitsan
On
Nitsan Bin-Nun wrote:
Neh, we don't have plenty of these in Israel, don't count it in as an issue.
Serving the files won't be an overkill for my harddrive / cpu usage /
anything else?
There is a better way to serve the files with/without PHP and keeping them
outsite of the HTTP root?
If you
Michael A. Peters wrote:
Nitsan Bin-Nun wrote:
Neh, we don't have plenty of these in Israel, don't count it in as an
issue.
Serving the files won't be an overkill for my harddrive / cpu usage /
anything else?
There is a better way to serve the files with/without PHP and keeping
them
It's really simple and I wrote several of these long time before, but I
thought that there might be an option of serving the files w/o using PHP to
read it and send the headers and chunks using only htaccess for the serving
and PHP for the validation of the session.
On Thu, Apr 16, 2009 at 10:58
Nitsan Bin-Nun wrote:
It's really simple and I wrote several of these long time before, but I
thought that there might be an option of serving the files w/o using PHP to
read it and send the headers and chunks using only htaccess for the serving
and PHP for the validation of the session.
There
I've been struggling to download a file from a network file share using
cURL, or whatever else will work. All I want to do is get the contents of
a text file. But when I run the code below I get this error Error: 37 -
Couldn't open file \\server\share\test.txt. I'm running my website on a
The more I get into arrays, the less I understand.
I have a ridiculously simple task which excapes me completely.
I need to ouput all fields in 1 column from 1 table in two phases sorted
alphabetically.
So, I have the query, I have the results. But since I need to split the
list into 2 parts, I
On Thu, 16 Apr 2009 09:26:52 -0500, nos...@mckenzies.net (Shawn McKenzie) wrote:
Stuart wrote:
2009/4/15 Don d...@program-it.ca:
I have some code in my index.php file that check the user agent and
redirects to a warning page if IE 6 or less is encountered.
1. I'm using a framework and so
Sorry, bout that.
My brain wasn't working right.
It was a lot simpler than I thought. Forget the foreach.
I used a counter. :-[
PJ wrote:
The more I get into arrays, the less I understand.
I have a ridiculously simple task which excapes me completely.
I need to ouput all fields in 1 column
Hey guys,
Just trying to catch up to the rest of the world again. Prob wont be able to
read all the php mail.
Just one thing: Maybe PHP should be renamed to PFP (PHP Free Processor) or
something. A recursive acronym sort of suggests that you cannot be free or
break out of this infinite loop.
just in case/tim(e). Yes its me :)
Tim-Hinnerk Heuer
http://www.ihostnz.com
Mitch Hedberghttp://www.brainyquote.com/quotes/authors/m/mitch_hedberg.html
- I drank some boiling water because I wanted to whistle.
-- Forwarded message --
From: Tim | iHostNZ t...@ihostnz.com
Date:
soln: YOU NEED A 2 WEEK HOLLIDAY at least! You need to learn to say no.
Tim-Hinnerk Heuer
http://www.ihostnz.com
Samuel Goldwynhttp://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html
- A wide screen just makes a bad film twice as bad.
2009/4/17 PJ af.gour...@videotron.ca
The more I get
Hi,
I'm new to this list. Can I post PUP questions to this list?
regards,
-ramesh
P Save a tree...please don't print this e-mail unless you really need to
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any
From What i learned, yes you can write pup here. Does anyone print this
mailing list? wtf?? i keep overestimating people's intelligence, im sorry!
Tim-Hinnerk Heuer
http://www.ihostnz.com
Charles de
Gaullehttp://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html
- The better I get to
Hi,
I'm new to php.
Say I have a check box which is checked already. Now I need to uncheck
it and when I press the submit button, I should get the unchecked value.
Can anyone help me on this.
One.php
if($qry[0]!=$login_type)
{
echo td class=tabhead align=center
Hi,
Sorry, that didn't work. The website is still returning error 400 with
CURLOPT_COOKIESESSION and CURLOPT_COOKIE enabled.
I did some experimentation in Firefox by blocking and deleting all cookies
from the site. When I then visited the site, I was able to reach the logon
page without
ramesh.marimu...@wipro.com wrote:
Hi,
I'm new to php.
Say I have a check box which is checked already. Now I need to uncheck
it and when I press the submit button, I should get the unchecked value.
Can anyone help me on this.
One.php
if($qry[0]!=$login_type)
{
echo td class=tabhead
Thanks Jim. Is there a way to get the value of that unchecked box?
-rummy
-Original Message-
From: Jim Lucas [mailto:li...@cmsws.com]
Sent: Friday, April 17, 2009 10:35 AM
To: Ramesh Marimuthu (WT01 - Telecom Equipment)
Cc: geek...@gmail.com; php-general@lists.php.net
Subject: Re: [PHP]
ramesh.marimu...@wipro.com wrote:
Thanks Jim. Is there a way to get the value of that unchecked box?
-rummy
-Original Message-
From: Jim Lucas [mailto:li...@cmsws.com]
Sent: Friday, April 17, 2009 10:35 AM
To: Ramesh Marimuthu (WT01 - Telecom Equipment)
Cc: geek...@gmail.com;
ramesh.marimu...@wipro.com wrote:
I'm developing a slot reservation page. It shows checked boxes for the
currently logged user. If he likes to unreserve it, he should uncheck
it. For other users it is disabled. Also a currently logged user can
book another slot.
Also when I use hidden types,
63 matches
Mail list logo