- Original Message -
From: "Jochem Maas" <[EMAIL PROTECTED]>
I'm guessing you have php5.0.x running - you really want a php5.1.x
PhpInfo reports it's 5.2.0 so I'm covered there.
version if your going to use XML - it will avoid *alot* headaches with
regarding to using var_dump() (or
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A good way to detect if javascript exists is (cross-browser,
cross-platform):
You try to load javascript_exists.htm.
-
javascript_exists.htm:
...
Javascript is actived!!
- --
El Thu, 11 Jan 2007 14:59:36 -0500
"Sugrue, Sean" <[EMAIL PROTECTED]> escribió:
> I need download a binary file in php. I don't need to read the
> contents just download the whole file to a browsed directory.
> I know you can use the header function, does anyone know the syntax.
>
> Sean
>
May
tedd wrote:
>index.php, jstest110.php) , make it one.
ok
---8<---
>It would be cool if I could send js value via a
>POST instead of GET-- can that be done?
have a look http://149.222.235.16/jstest/70112/index.php ( POST version )
>tedd
>PS: I read somewhere that using is not recommended.
any i
I'm finally upgrading to PHP5, and when I try to run go-pear on my NT box, I
get an ActiveX error.
What actually happens is that it will not let me specify the CLI path. When I
try to edit that line, it give me the following error:
C:\TEMP\tmp27B.tmp\bf.vbs(18, 1) Microsoft VBScript runtime err
Dave wrote:
Hello,
I'm using php and apache2 on a freebsd box. I know about .htaccess
that the web server can provide, but i'm looking for something php can
do, i want it to pop up a page when a user requests certain files,
asking for a username and password.
http://www.php.net/features.h
This is impossible with only PHP. You might need a combination of PHP
and AJAX [Javascript].
On 1/11/07, Dave <[EMAIL PROTECTED]> wrote:
Hello,
I'm using php and apache2 on a freebsd box. I know about .htaccess that
the web server can provide, but i'm looking for something php can do, i want
Hello,
I'm using php and apache2 on a freebsd box. I know about .htaccess that
the web server can provide, but i'm looking for something php can do, i want
it to pop up a page when a user requests certain files, asking for a
username and password. If those are valid the user is taken to a pa
- Original Message -
From: "Richard Lynch" <[EMAIL PROTECTED]>
To:
Sent: Thursday, January 11, 2007 11:29 PM
Subject: [PHP] Variance Function
Any advice?
Anybody got a good "variance" function to do what I'm trying to do?
Hey,
I've seen you solve many questions on this list, and I
131 wrote:
Btw, why is there those so ugly dbls quotes at each side of my so sweet
nickname ?
Your mail program is doing that.
No idea about answering your original question.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsub
[EMAIL PROTECTED] wrote:
Hi,
I have a little script that was working fine when uploaded files up tp 16MB.
I moved to other hosting company and use the same form/script. Not, I
can't upload eitherr 2MB file.
If you can't upload *any* files check that the upload_tmp_dir is set and
see if that's
Check out the CACLS command
HTH,
JC
Kencana wrote:
Hi all,
anybody knows how to CHMOD a file to 777 or 666 or etc. in windows server
2003?
thank you
Regards,
Kencana
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kencana wrote:
> Hi all,
>
> anybody knows how to CHMOD a file to 777 or 666 or etc. in windows server
> 2003?
windows server 2003 (et al) uses a completely different mechanism to the std
linux
way of doing things with regard to file permissions.
other than opening lots of dialogs and checking
hi Richard,
your email was hard to follow, and I don't have real answers for
you but maybe my simpleton's view of the situation might offer
you new avenues of thought to consider.
Richard Lynch wrote:
> It's been 20+ years since I took a stats class...
20 years ago I was mostly riding a push bik
Hi all,
anybody knows how to CHMOD a file to 777 or 666 or etc. in windows server
2003?
thank you
Regards,
Kencana
--
View this message in context:
http://www.nabble.com/CHMOD-a-file-in-windows-server-2003-tf2962953.html#a8290007
Sent from the PHP - General mailing list archive at Nabble.com.
Brian P. Giroux wrote:
> I am just learning PHP and as a practical exercise I've been working on
> a set of functions to process and manipulate what I call "normalized
> number" (ISBNs, EANs, UPCs, etc...)
>
> My ultimate goal is to create a normnum class and child classes for the
> different type
it can never hurt to repeat this kind of thing!
Raphael Martins wrote:
> Hi everybody.
>
> Due some recent messages in this list and other CSS/XHTML list, I´ve
> decided
> to post this to clarify a very common question: PHP is compatible with ALL
> browsers. Why? Because PHP runs at the server, a
It is not a new concept, even Wikipedia has a long list of them:
http://en.wikipedia.org/wiki/List_of_LiveDistros
Most of those distros have individual articles ... not the one mentioned
below, though.
Satyam
- Original Message -
From: "Skip Evans" <[EMAIL PROTECTED]>
To: "Ryan A"
I'm guessing you have php5.0.x running - you really want a php5.1.x
version if your going to use XML - it will avoid *alot* headaches with
regarding to using var_dump() (or print_r() or even echo) to figure out
what the simpleXML objects are/contain.
Satyam wrote:
> I have a problem trying to hand
[EMAIL PROTECTED] wrote:
> Hi,
> I have a little script that was working fine when uploaded files up tp 16MB.
> I moved to other hosting company and use the same form/script. Not, I
> can't upload eitherr 2MB file.
>
> Where to look for limitation first?
>
> According to phpinfo() post_max_size i
[EMAIL PROTECTED] wrote:
> Hi,
> I have a little script that was working fine when uploaded files up tp 16MB.
> I moved to other hosting company and use the same form/script. Not, I
> can't upload eitherr 2MB file.
>
> Where to look for limitation first?
>
> According to phpinfo() post_max_size i
Philip Thompson wrote:
On Jan 10, 2007, at 6:36 PM, Chris wrote:
Philip Thompson wrote:
Hi.
I have been experiencing MSSQL woes lately. I have a stored procedure
that I call in PHP using mssql_* functions. In my procedure, I have a
transaction that rolls back on failure and commits on succes
I am just learning PHP and as a practical exercise I've been working on
a set of functions to process and manipulate what I call "normalized
number" (ISBNs, EANs, UPCs, etc...)
My ultimate goal is to create a normnum class and child classes for the
different types of numbers.
Because of my line o
Hi everybody.
Due some recent messages in this list and other CSS/XHTML list, I´ve decided
to post this to clarify a very common question: PHP is compatible with ALL
browsers. Why? Because PHP runs at the server, aside from the browser. The
only thing the browser will see is the response (in plai
It's been 20+ years since I took a stats class...
I didn't enjoy that class, and doubt if I remember 1% of what was
covered.
Given an input Unix date like:
1132565360
And an array of Unix dates like:
array(3) {
[0]=>
int(1132565342)
[1]=>
int(1132565360)
[2]=>
int(1132565359)
}
I wo
Hey all,
When you say it lets you run it off a CD does that
mean the CD is totally self contained, as in you
can pop it into any machine, sans web server DB,
etc, and it runs just peachy?
Skip
Ryan A wrote:
Hey all!
This is a bit OT as its not really php programming, but it does involve P
And where does PHP come in here? The issue you describe could be
anything - CSS related, html related, server related, php / asp /
java you name it - maybe it is MS Explorer that sucks. Do some more
research first and then - if you still feel that this might be
related to PHP, you are welco
In the manual it says:
"You can use a URL as a filename with this function if the fopen
wrappers have been enabled...".
First of all, I would check your php.ini file. If everything is ok
(fopen wrappers are on), maybe you could post some code. The last
option would be to use an other way
Seems my problem was a data issue and I needed to compensate for missing
dates.
thanks,
Dan
On Thu, January 11, 2007 2:31 pm, Danny Brow wrote:
> Hi,
>
>
> It's been a while since I've used php and I'm trying to organize some
> data by date. The problem I'm having is that when the data changes fr
Hey all!
This is a bit OT as its not really php programming, but it does involve PHP and
MySql etc so
The company I work for has decided to use the software from outsite-in.com,
for those of you who dont know (and i'm guessing a lot of you dont, as I kinda
just found out about it myself) t
Sugrue, Sean wrote:
Don't worry I won't ask again!
Don't be like that. A lot of smart people give their time freely to
assist people like you on this list, the least you could do is a bit of
research before you post to ensure you're not getting them to answer the
same question for the tenth
Sugrue, Sean wrote:
I need download a binary file in php. I don't need to read the contents
just download the whole file to a browsed directory.
I know you can use the header function, does anyone know the syntax.
Please, for the love of $DEITY, check the archives before posting. This
particul
I need download a binary file in php. I don't need to read the contents
just download the whole file to a browsed directory.
I know you can use the header function, does anyone know the syntax.
Sean
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
The only other thing I can think of is permissions, but that would be too
simple.
- Frank
> Hi Frank,
>
> Thanks for the reply but the tds.h is located under
/usr/include/freetds
> but the error persists.
>
> Any other ideas?
>
> On 1/10/07, Frank M. Kromann <[EMAIL PROTECTED]> wrote:
> >
> >
Jochem Maas wrote:
> > this file outside of the webroot ...
> >
I thought so too but wasn't sure if possible.
>> >> if (!defined ("config_include")) die ("Error...");
> >
It helps me a little if I make mistakes.
> > granted define() is slower than creating a var - which is why some
> > people
I have a problem trying to handle SimpleXml objects. Though I can manage
some workaround the problem, I would like to understand it better.
This is a section of the XML file I'm trying to read (it is not complete,
just a section)
BERMUDA
Bermudian Dol
Hi,
It's been a while since I've used php and I'm trying to organize some data
by date. The problem I'm having is that when the data changes from say
2006 to 2005 the first few rows of 2005 data goes into my 2006 data and
the date for 2006 is lost. My code for separating dates is below with some
s
-Original Message-
From: Scott Bounds [mailto:[EMAIL PROTECTED]
Sent: 11 January 2007 07:16
To: php-general@lists.php.net
Subject: Re: [PHP] Please Help with simple Noob problem
Arno, you nailed it right on the head. You and someone else told me
that. I am glad that you did because that
Jochem Maas wrote:
>> did you try it before?
>
> half the planet seems to be using it, works for them - I'm pretty
> sure it'll work for you.
I thnk the OP was referring to phpanalitics rather than Google Analytics
which is what I think you are referring to?
Col.
--
PHP General Mailing List (h
Bruce, thanks fro your help but I found out what stupid noob thing I was
doing. I had been doing the File/Open File/test.php Janet had gotten
to me and do http://localhost/test.php. Big world of difference.
trying to learn why but that made all the difference. Worked great
then. Thanks for
Arno, you nailed it right on the head. You and someone else told me
that. I am glad that you did because that is exactly what the problem
was. Thanks for being patient and understanding.
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
Use instead of , or try to add some space
after the
Hello all. I seem to be having a terrible tim ewith something that is
so simple it makes me sick. I have a server running FC2. it has
Apache 2.x.x on it and it came installed with php-4.x.x. Sorry I
don't have the exact versions but fatigue
Hi,
I have a little script that was working fine when uploaded files up tp 16MB.
I moved to other hosting company and use the same form/script. Not, I
can't upload eitherr 2MB file.
Where to look for limitation first?
According to phpinfo() post_max_size in php.ini is 8M.
Thanks.
-afan
--
PHP
-Original Message-
From: Scott Bounds [mailto:[EMAIL PROTECTED]
Sent: 11 January 2007 06:21
To: php-general@lists.php.net
Subject: Re: [PHP] Please Help with simple Noob problem
Jochem Maas wrote:
> Scott Bounds wrote:
>
>>Hello all. I seem to be having a terrible tim ewith something that
Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something that is so
simple it makes me sick. I have a server running FC2. it has Apache
2.x.x on it and it came installed with php-4.x.x. Sorry I don't have
the exact versions but fatigue and frustration has taken over.
hi scott...
ok.. good.. so we know apache works/simple html works..
can you post your apache conf file
can you also create a simple php file to be served, and run that from your
php cmdline.. just want to make sure that php is actually running, and that
the test php file will run... remember to
Hi list.
I know this may be a bit out of topic, but I've decided to try.
This website I'm maintaining opens just fine in firefox, and loads
everything. However, the same doesn't happen in IE, since the status
bar reads "1 item(s) remaining" on most of the pages.
That issue raises another proble
bruce wrote:
hi scott.
tell us, have you been able to generate a simple html test page on the
server that you can see from your browser.
for test purposes (i'm assuming this is your on test server), rename the
apache error/access log files. no need to trek through old garbage in the
files. when
Please keep it on-list.
Scott Bounds wrote:
by the way, I did view source and it seemed to recognize the opening
php tag (). I am
assuming that in that evidently FC2 likes to color code the tags (php
is with purple) and it had the opening tag colored purple, but the
closing tag was black.
Hi
I am having a lot of trouble trying to load php_ldap.dll.
I am using:
IIS6
windows 2003
I have tried copying ALL php module dlls to the WINDOWS\system32
directory, including libeay32.dll and ssleay32.dll but not joy.
I have of course uncommented it from php.ini.
What am I doing wrong?
Thanks
A
hi scott.
tell us, have you been able to generate a simple html test page on the
server that you can see from your browser.
for test purposes (i'm assuming this is your on test server), rename the
apache error/access log files. no need to trek through old garbage in the
files. when you restart ap
Dave Goodchild wrote:
Why not check php.ini to see whether display_errors is set to off and
switch
it on until you are back in business? Check the httpd.conf file to make
sure
Apache is parsing .php files correctly.
hi Dave. let me check in the ini file and see. I'll reply as soon as I
ca
David Giragosian wrote:
Well, actually I don't see anything. Nothing at all (in the case of the
phpinfo() page. All the page has in it is just .
It was saved as test.php. How can I tell if something is broken and
where do I look for the files? I haven't done any dorking around with
the links
Scott Bounds wrote:
Jochem Maas wrote:
Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something that is so
simple it makes me sick. I have a server running FC2. it has Apache
2.x.x on it and it came installed with php-4.x.x. Sorry I don't have
the exact versions bu
Well, actually I don't see anything. Nothing at all (in the case of the
phpinfo() page. All the page has in it is just .
It was saved as test.php. How can I tell if something is broken and
where do I look for the files? I haven't done any dorking around with
the links, etc. Just done the com
Why not check php.ini to see whether display_errors is set to off and switch
it on until you are back in business? Check the httpd.conf file to make sure
Apache is parsing .php files correctly.
Jochem Maas wrote:
Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something that is so
simple it makes me sick. I have a server running FC2. it has Apache
2.x.x on it and it came installed with php-4.x.x. Sorry I don't have
the exact versions but fatigue and frustrat
Btw, why is there those so ugly dbls quotes at each side of my so sweet
nickname ?
131
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I was wondering if there was a way, firefox like, to show progressiv data in
IE7 ( flush())
( i hearded there's a ~250 chars buffer limit before displaying smthing but
it don't seem to be working )
Thx
131
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
2007. 01. 11, csütörtök keltezéssel 16.55-kor Jochem Maas ezt írta:
> Németh Zoltán wrote:
> > Hi all,
> >
> > I have some php websites, for example http://www.alterationx.hu/
> >
> > Now I'm trying to get the site with file_get_contents, and I'm getting
> > this error:
> >
> > Warning: file_get
At 11:39 AM 1/11/2007, Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something that is so
simple it makes me sick. I have a server running FC2. it has Apache
2.x.x on it and it came installed with php-4.x.x. Sorry I don't have the
exact versions but fatigue and fru
Scott Bounds wrote:
> Hello all. I seem to be having a terrible tim ewith something that is so
> simple it makes me sick. I have a server running FC2. it has Apache
> 2.x.x on it and it came installed with php-4.x.x. Sorry I don't have
> the exact versions but fatigue and frustration has taken o
Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something that is
so simple it makes me sick. I have a server running FC2. it has
Apache 2.x.x on it and it came installed with php-4.x.x. Sorry I
don't have the exact versions but fatigue and frustration has taken
ov
Németh Zoltán wrote:
> Hi all,
>
> I have some php websites, for example http://www.alterationx.hu/
>
> Now I'm trying to get the site with file_get_contents, and I'm getting
> this error:
>
> Warning: file_get_contents(http://www.alterationx.hu/): failed to open
> stream: HTTP request failed! H
Hello all. I seem to be having a terrible tim ewith something that is so
simple it makes me sick. I have a server running FC2. it has Apache
2.x.x on it and it came installed with php-4.x.x. Sorry I don't have
the exact versions but fatigue and frustration has taken over. I can
get them if
Hi all,
I have some php websites, for example http://www.alterationx.hu/
Now I'm trying to get the site with file_get_contents, and I'm getting
this error:
Warning: file_get_contents(http://www.alterationx.hu/): failed to open
stream: HTTP request failed! HTTP/1.1 404 Not Found
can anyone tell
On Jan 10, 2007, at 6:36 PM, Chris wrote:
Philip Thompson wrote:
Hi.
I have been experiencing MSSQL woes lately. I have a stored
procedure that I call in PHP using mssql_* functions. In my
procedure, I have a transaction that rolls back on failure and
commits on success (of course). If it
El Thu, 11 Jan 2007 08:15:49 -0500
"Mark" <[EMAIL PROTECTED]> escribió:
> LoadModule php5_module "c:/Program Files/PHP/php5apache2_2.dll"
> I do not have the AddModule line.
> I use AddType application/x-httpd-php .php .html. (I want to
> parse .html files as well.)
> I do not use the Action line.
""Bruce A. Julseth"" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
I can't get Apache to restart after I've configured for PHP. I've upgraded
my installation to
5.2.
Now, Apache 2.2.3 runs fine without any PHP additions.
1) I added my PHP directory, C:/PHP5, to my PATH
2) I
Dave Goodchild wrote:
> Wow, there are some really bitchy, unattractive people here. No wonder some
not to mention some very judgemental people as well. :-) it's pretty funny
that someone who purports to aspire to buddhahood is so stuck in complaining
about other people's bitchiness and unattracti
On 10 January 2007 16:28, Bruce A. Julseth wrote:
> I can't get Apache to restart after I've configured for PHP.
> I've upgraded my installation to
> 5.2.
> Now, Apache 2.2.3 runs fine without any PHP additions.
[...]
> 4) I made the following changes to Httpd.conf
> After the last entry in th
Hi Frank,
Thanks for the reply but the tds.h is located under /usr/include/freetds
but the error persists.
Any other ideas?
On 1/10/07, Frank M. Kromann <[EMAIL PROTECTED]> wrote:
Hi,
--with-mssql=/usr or --with-mssql=shared,/user should work with your
configuration. It's looking for /usr/i
Kencana wrote:
> hi Edward,
>
> thanks for the recommendation. will google analytics affect my web
> performance?
in short, no.
in contrast to a small site that's being well indexed - a double edged
sword whereby you want the search engines robots to spider your site as
often as possible but you'
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-01-11 09:47:04 +0100:
>> Eli wrote:
>>> [extending include]
>>>
>>> Your solution is good when you know what variables you want to transfer
>>> ahead, and then make a list of them. But if I want to transfer all the
>>> variables in the current env
Satyam wrote:
>
> No problem there, the include in my DB abstraction layer includes and
> calls the separate file with the function to make the connection to the
> database. Though the main application source doesn't know about the
> include file with the connection data in it, the DB laye
It depends what you mean by web performance. Do you mean your visitors or
your web server?
Google analytics (like all hosted analytics services) works by inserting
some code that gets the visitor's browser to connect to their servers. These
requests therefore has no impact on your web server.
If
# [EMAIL PROTECTED] / 2007-01-11 09:47:04 +0100:
> Eli wrote:
> > [extending include]
> >
> > Your solution is good when you know what variables you want to transfer
> > ahead, and then make a list of them. But if I want to transfer all the
> > variables in the current environment scope?
> as it s
hi Edward,
thanks for the recommendation. will google analytics affect my web
performance?
did you try it before?
thank you
Regards,
Kencana
Edward Kay wrote:
>
> Have a look at Google Analytics.
>
> Edward
>
>> -Original Message-
>> From: Kencana [mailto:[EMAIL PROTECTED]
>> Sent:
# [EMAIL PROTECTED] / 2007-01-11 10:08:07 -:
> $userfile= $_POST['userfile'];
> $mail->AddAttachment($userfile, $_FILES['userfile']['name']);
>
> it now doesn't attach. any ideas?
Check the description of $_FILES at
http://www.php.net/manual/en/features.file-upload.php#features.file-upload.p
In a very old site of mine and not knowing any better I never used $_POST.
The server it has on has now decided to turn change it;s config...fair
enough but I am having problems with an attahcment in form. I have change
all the other varible to $_POST but the attachment is causing me trouble.
- Original Message -
From: "Jochem Maas" <[EMAIL PROTECTED]>
To: "Satyam" <[EMAIL PROTECTED]>
Cc: ; "Otto Wyss" <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2007 12:16 AM
Subject: Re: [PHP] Security with dbHost, dbUser, dbPassword
Satyam wrote:
- Original Message - From:
Have a look at Google Analytics.
Edward
> -Original Message-
> From: Kencana [mailto:[EMAIL PROTECTED]
> Sent: 11 January 2007 09:50
> To: php-general@lists.php.net
> Subject: [PHP] web analytics
>
>
>
> Hi all,
>
> I am planning to do web analytics of user access while they are
> ac
Steven Macintyre wrote:
> HI all
>
> I'm currently using this function to read a remove address to create a
> mailbox ...
>
> However - It ALWAYS displays the output of that file to the user screen ...
> all I wish to do is something like ...
use a different file function. e.g. file_get_conten
Hi all,
I am planning to do web analytics of user access while they are accessing my
web site.
any recommendation on how it can be done?
i am using php 5.0.5 and windows server 2003.
I have heard about "phpmyvisites" anybody try it before?
Thank you
Regards,
Kencana
--
View this message in con
HI all
I'm currently using this function to read a remove address to create a
mailbox ...
However - It ALWAYS displays the output of that file to the user screen ...
all I wish to do is something like ...
$status = Readfile(warra warra warra);
If ($status === "MailBox Created") {
D
Eli wrote:
> Jochem Maas wrote:
>> short of playing around with the global keyword
>> (which won't work when you call includeIt() from
>> another function)) your pretty much stuck.
>>
>> basically imho you need to rethink what it is your trying to do.
>>
>> function have their own scope for a reaso
On Wednesday 10 January 2007 17:47, Philip Thompson wrote:
> Hi.
>
> Does anyone know if the mssql_connect/_init/_bind/etc require a lot
> of overhead?
>
> I have a page that requires multiple function calls and each of those
> opens a new connection to the database, performs the necessary
> action
87 matches
Mail list logo