On Mon, 2 Dec 2002, Leif K-Brooks wrote:
> I'm having a weird problem. When I go to a page on my site, it often
> goes twice. I'm not sure if this is a client-side or server-side
> problem, but it doesn't happen on other sites. Is this a common
> problem, or am I making some dumb mistake?
Is
Nope, it happens on all of the pages, but it seems to be fairly random.
It doesn't happen all of the time, just sometimes.
Morgan Hughes wrote:
On Mon, 2 Dec 2002, Leif K-Brooks wrote:
I'm having a weird problem. When I go to a page on my site, it often
goes twice. I'm not sure if this is a
Justin,
JF> I've done something similar (encrypt a message, send it to a client, let
JF> them decrypt locally), and so far, the easiest solution was to simply
JF> install PHP and Apache on their PC.
Yikes! Thanks for the suggestion, but I sincerely hope there is a
simpler solution than this - the
On Mon, 2 Dec 2002, Leif K-Brooks wrote:
> Nope, it happens on all of the pages, but it seems to be fairly random.
> It doesn't happen all of the time, just sometimes.
You're using what server... Apache I hope? There is an Apache
directive (in 1.3 at least) that controls whether the server s
Hi
//Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in
D:\sites\c\htemp.php on line 12
echo ""
}
?>
I want to see on the screen is that
aabb
ccdd
eeff
gghh
iijj
kkll
but the code above says wrong :(
Can you help me?
Thanks everybody.
--
PHP General Mai
[snip]
> I want to have my website split into several
> subdomains with a shared user system. That is to say that when someone
> logs into
> foo.mysite.com they'd also be logged into bar.mysite.com when they go
to
> it. It is my understanding that php sessions will not work in this
way,
> being th
I am calling data from 3 checkboxes in a form, I can do that with the
$_POST stuff.
But I want to also do the following:
1. If check box ³x² is checked, then also display data from form field ³y²
with a after it. (like this: X Y)
I am new at php so I don¹t know conditionals yet... Can
Yes, I'm using Apache 1.3.22. Mind giving specifics on what to set
those options to? I'm not very great with configuring apache...
Morgan Hughes wrote:
On Mon, 2 Dec 2002, Leif K-Brooks wrote:
Nope, it happens on all of the pages, but it seems to be fairly random.
It doesn't happen all of t
> I am calling data from 3 checkboxes in a form, I can do that
with
> the
> $_POST stuff.
> But I want to also do the following:
>
> 1. If check box ³x² is checked, then also display data from form field
³y²
> with a after it. (like this: X Y)
maybe...
if(isset($_POST['x']))
{ echo $_P
Hi Wilmar,
Check whether you have something similar:
You'll definetly need that for antything other than text/plain ones..
Here's a some code that works for me (uploading jpgs):
if ($_FILES["pix"]["size"] > 0){
if ($_FILES["pix"]["type"] == "image/jpeg"){
$pix_file = $
Just want to thank everyone and tell how it finally came out...
I was making way to much of this and went into difficult concepts too
quickly. That's where the problem came from. Trying to build on
earlier mistakes.
We already had an array for the column names so a suggestion that I
use on
Hello,
"empty" <[EMAIL PROTECTED]> wrote:
> Hi
> $stra=("aa,bb,cc,dd,ee,ff,gg,hh,ii,jj,kk,ll");
> $splited = array();
> $splited = split(",",$stra);
> $c=count($splited);
> for($i=0 ; $i<$c ; $i+=2){
> echo "$splited[$i]";
> echo "$splited[$i+1]"; // *error is here >
- Original Message -
From: "empty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 02, 2002 8:08 PM
Subject: [PHP] printing array
> Hi
> $stra=("aa,bb,cc,dd,ee,ff,gg,hh,ii,jj,kk,ll");
> $splited = array();
> $splited = split(",",$stra);
> $c=count($splited);
> for($i=
Hello,
"Chris Edwards" <[EMAIL PROTECTED]> wrote:
> I'm getting "You are not authorized to view this page" when trying to run
> .php files.
You mean plain html files work fine?
> How do I fix this? I'm running php isapi on iis 5 on w2k
> server.
How did you configure it?
Anyway, it sounds li
Okay, I've just solved my own problem by simply doing:
settype($input,"integer");
but.. I'm puzzled about why the following more complicated solution
didn't work. The ASCII value for 0 is 48, and for 9 is 57.
The idea was to read a character at a time from the $rawinput string,
check if it's w
Hello,
(B
(B"Vernon" <[EMAIL PROTECTED]> wrote in message
(B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
(B> I'm being told that I need to have php compiled --with-dbm and it is not,
(B> but it is complied --with-db3. Is that the same thing or do I need
(B> recopile --with-dbm to use the dbmo
Hello everybody,
Newbie here...basically I need to develop a site that will allow users to
download files, e.g
Word docs, XL sheets, and I would like to know whether it is better to store
the entire file in a database,
or just the filepath, or even whether I need a databa
Has anyone found any other means of opening an existing pdf file and adding
text to it? The only thing I could find is the PDI + PDFlib commercial
combo which I do not have the $1000 to dish out right now...
Any Ideas?
On Sun, 1 Dec 2002, Ryan Smaglik wrote:
> Has anyone found any other means of opening an existing pdf file and adding
> text to it? The only thing I could find is the PDI + PDFlib commercial
> combo which I do not have the $1000 to dish out right now...
> Any Ideas?
While the PDFlib/PDI combo
Hmm, nope. It's now off and it's still doing that. (I did restart apache)
Morgan Hughes wrote:
On Mon, 2 Dec 2002, Leif K-Brooks wrote:
Yes, I'm using Apache 1.3.22. Mind giving specifics on what to set
those options to? I'm not very great with configuring apache...
Basically, you
Hello,
I'm trying to work out how to do some simple comment threading using
PHP. I've overridden the blockquote tag in CSS so that it only indents
from the left.
At the moment comments are simply displayed in reverse chronological
order as all the replies to a particular post.
I just can't ge
- Original Message -
From: "Beth Gore" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 02, 2002 9:12 PM
Subject: [PHP] Validating get and post data
> Okay, I've just solved my own problem by simply doing:
>
> settype($input,"integer");
>
> but.. I'm puzzled about why t
Hello,
"Matt" <[EMAIL PROTECTED]> wrote:
> I think what's happening here is a type issue. The comparison is returning
a
> boolean, so when $c != '0', the switch is true and the case is resolving
to
> true, and executing. But when $c == '0', with switch is (false), but the
> case is true. Change
> > I think what's happening here is a type issue. The comparison is
> returning
> a
> > boolean, so when $c != '0', the switch is true and the case is
resolving
> to
> > true, and executing. But when $c == '0', with switch is (false),
but
> the
> > case is true. Change the case to
> > ($c > chr(
Ive just been getting myself deep into using sessions.
Sessions are working as it should except for one condition.
Say I log into the site, and the session is started, and I don't do
anything for the next 30 mins, then go back to the site.
Im temporarily logged out, but because the session cookie
"John W. Holmes" <[EMAIL PROTECTED]> wrote:
> I think the problem is just the incorrect use of a switch. If you change
> your code to
>
> switch(1)
Or,
switch(true)
for that matter...
- E
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
Take a look at the iText library--it's a Java library, but you can build
your Java classes and then instantiate them through PHP by executing
them as external apps.
That's what we use to personalize copies of our magazine.
Marco
--
php|architect - The magazine for PHP Professional
We have openings for a couple of experienced web application developers
who meet or exceed the following criteria:
Required skills (You *must* have 2.5+ years of each):
- Large scale applications development on Unix/Linux platform
- PHP
- Perl
- SQL (Oracle, MySQL
I know this is probably a day late and a dollar short but I was curious
myself whether this would be a good outlet to use for reports for a client
and wondered if there was such a thing. After seeing your post I went to
there site and it looks like you have to have the PDI side to be able to
modif
What am I supposed to be doing with my slashes, exactly? Here is my first post:
http://news.php.net/article.php?group=php.general&article=126754
I can't get this right. I know I have to esacpe my quotes for my SQL to work.
http://news.php.net/article.php?group=php.general&article=126755
PHP add
This should bump up my popularity here...can you run asp on apache? The
reason I ask is that I understand you can use a php option to hide the fact
that you are running php. This sounds like a good idea to keep people
guessing, but I also want to use .asp extensions and have them parsed for
the p
yes look around for sum thing like chilli soft from sun microsystems, but
it's not free.. i dunno if there is a free one..
> -Original Message-
> From: Larry Brown [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 3 December 2002 4:13 PM
> To: PHP List
> Subject: [PHP] hiding php
>
>
> This shou
So change your Apache server string to say IIS instead. Why tell them you
are using Apache?
On Tue, 3 Dec 2002, Larry Brown wrote:
> This should bump up my popularity here...can you run asp on apache? The
> reason I ask is that I understand you can use a php option to hide the fact
> that you a
Here is a basic format for the select statement. All you have to do is take
the names of all the files and put them into an array, such as $filename[].
Then you place the file name between the option element using a for loop or
something similar. You will have to place a unique value that identifie
Hi,
I'm looking to get a unix timestamp for the first and last day of a month,
given a timestamp.
But so far everything i've come up with has been wy too many lines of
trickery -- especially for the last day of the month (which isn't always 31)
Any ideas or snippets of code floating around?
Why not just make up an extension, like your initials (.lsb) or your
business name (.dim or .dni), and set-up apache to pipe all those files
through PHP...??
That way they'll have no clue at all (if used in conjunction with the "hide
PHP" stuff, etc etc).
Justin
on 03/12/02 4:13 PM, Larry Brown
Thanks for pointing out the obvious !!! -- it's been a long day!
Justin
on 03/12/02 4:52 PM, rija ([EMAIL PROTECTED]) wrote:
> How about date("t") ?
> It's supposed return the last day of a month (28 - 31).
>
> - Original Message -
> From: "Justin French" <[EMAIL PROTECTED]>
> To: "php
Your best bet would be to look at how some of the other apps do it :)
(taking licensing issues into account that is :)
This might help as well.. not sure how efficient it is on a really long
list, but it works for my little stuff...
http://stuff.adhesivemedia.com/php/heirarchial-sorting.php
On T
On Tuesday 03 December 2002 10:33, Dara Dowd wrote:
> Hello everybody,
> Newbie here...basically I need to develop a site that will allow users to
> download files, e.g Word docs, XL sheets, and I would like to know whether
> it is better to store the entire file in a database, or just the fi
Hi,
Tuesday, December 3, 2002, 1:57:21 PM, you wrote:
GS> Ive just been getting myself deep into using sessions.
GS> Sessions are working as it should except for one condition.
GS> Say I log into the site, and the session is started, and I don't do
GS> anything for the next 30 mins, then go back
Because its better to have someone waste time trying known hacks for a
platform I don't have than to have the same person not know the platform and
start spending time figuring out what it is right off the bat.
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
-Original Message-
From
Hi,
Tuesday, December 3, 2002, 12:12:09 PM, you wrote:
BG> Okay, I've just solved my own problem by simply doing:
BG> settype($input,"integer");
BG> but.. I'm puzzled about why the following more complicated solution
BG> didn't work. The ASCII value for 0 is 48, and for 9 is 57.
BG> The idea w
I had something similar in mind. Thanks for your input...
Tom Rogers wrote:
Hi,
Tuesday, December 3, 2002, 1:57:21 PM, you wrote:
GS> Ive just been getting myself deep into using sessions.
GS> Sessions are working as it should except for one condition.
GS> Say I log into the site, and the sess
On Tuesday 03 December 2002 15:01, Larry Brown wrote:
> Because its better to have someone waste time trying known hacks for a
> platform I don't have than to have the same person not know the platform
> and start spending time figuring out what it is right off the bat.
In response to your origina
Hi,
Tuesday, December 3, 2002, 5:17:48 PM, you wrote:
TR> Hi,
TR> Tuesday, December 3, 2002, 12:12:09 PM, you wrote:
BG>> Okay, I've just solved my own problem by simply doing:
BG>> settype($input,"integer");
BG>> but.. I'm puzzled about why the following more complicated solution
BG>> didn't
101 - 145 of 145 matches
Mail list logo