php-windows Digest 12 Apr 2002 05:32:08 - Issue 1089
Topics (messages 13032 through 13047):
Dynamic querys to SQl Server
13032 by: R.S. Herhuth
13034 by: Svensson, B.A.T. (HKG)
13035 by: Mike Flynn
Re: whois servers
13033 by: Arijit Chaudhuri
COM interop an
> >>All PHP does, is create a dynamic webpage, ie create a web page
> >>"on-the-fly". This does not expose any holes any more than creating an
> >> html page does.
>
> not true - PHP is as secure as the pages you program.
> lack of user input verification is a good example.
If you wants to be ph
I got a similar problem. Apahce2 says it can't find the module, even though
it is really there!
The error:
Syntax error on line 947 of D:/programmer/Apache2/conf/httpd.conf:
Cannot load D:/programmer/php/sapi/php4apache.dll into server: The specified
module could not be found.
In httpd.conf:
Loa
Environment: WinNT4, Apache 1.3.23, PHP 4.0.6 THROUGH 4.2RC2
Code Snippet:
$strClientDb = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Some location";
$client = new COM("ADODB.Recordset");
$strSQL = "SELECT * FROM AnyTable";
$client->open($strSQL, $strClientDb);
This works fine.
Probl
I put the code in and it worked perfectly. as it turns out there was a
networking issue that I had not been informed of that was causing the
problem. Thanks for your reply.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
I'm assuming $submit is referring to the submit button.
First of all, the submit button isn't assigned to the variable $submit,
unless its NAME property is "submit". You could make a text field called
submit, a select box called submit, radio button, checkbox, etc. All it
depends on is which
What happens if you instrument your code in the following way:
> -Original Message-
> From: Collins, Robert [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 11, 2002 9:15 PM
> To: PHP Windows
> Subject: [PHP-WIN] Problem Connecting to AS400 using ODBC
>
>
> I am trying to access da
I am trying to access data on an AS/400(IBM DB2) from a windows platform
using Apache, and PHP. The problem I am having is that the script doesn't
appear to do anything, it will run constantly and doesn't produce an error
or time out. I have tried setting the ODBC DSN as both user and server. Has
I am trying to use sessions on the following setup:
Win NT4, Apache 1.3.23, PHP 4.1.2
Every time I try to register a variable using any means possible, it doesn't get
registered. If I look at the session files, they are blank.
Is there some trick I am missing?
--
Scott Carr
OpenOffice.org
Whi
I'm now trying to insert data into the database, but i seem to have a
problem with my
If ( $submit == "Sign!" )
{
echo "Whatever";
}
this is being done in a page called createentry.php which checks the submit
button on a page called index.html
once i place this statement in here the if
Thankx a million. It worked!
"Court Shrock" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Are you sure that the database server is called 'nik'.if the same
system
> is both your web server and database server, I would recommend replacing
> 'nik' with '
I'm trying to write a PHP4 application that will connect to my Windows COM
object. It deals with recordsets a lot. What I would like to know is, what
do I need to do to interface with the methods (the recordsets are causing me
problems right now) and how can I import the enums from the typelib?
H
If I understand you correctly, then you could try something like this:
===Page 1:
Select info to view...
Name
Email
City
===Page 2:
$query = 'SELECT ';
$first = true;
foreach ($columns AS $value) {
if (!$first) {
$query .= ', ';
}
else {
$first = false;
}
$qu
> From: R.S. Herhuth
> Sent: Thursday, April 11, 2002 4:41 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Dynamic querys to SQl Server
>
> Basically what I have created so far is a page that dynamically builds
> all of the column names of a database. I have assigned each a unique
> variable nam
Thanks! Got most of the whois servers except .la and .name. Not sure why the
client needs them - but the client is the boos neway.
Regards,
Arijit
"Piotr Pluciennik" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> so, sending again - url with a lot of w
I'm new to php and I'm trying hard to get a grasp on pulling data from
SQL Server.
I'm looking for an efficient method for making dynamic queries to SQL server.
Basically what I have created so far is a page that dynamically builds
all of the column names of a database. I have assigned each
php-windows Digest 11 Apr 2002 14:32:51 - Issue 1088
Topics (messages 13015 through 13031):
Apache 2 and PHP
13015 by: Gaylen Fraley
13016 by: Rasmus Lerdorf
13018 by: Helphand
13019 by: Helphand
13020 by: Rasmus Lerdorf
13021 by: Steffen
As far as I understood allow_call_time_pass_reference can only be
set via php.ini. So your ISP would have to do this for you. He could
even do this for your domain(s) only.
Daniel
> thats the problem, my ISP has this set to OFF and I need to
> know how I can change it locally.
>
> I used ini_s
thats the problem, my ISP has this set to OFF and I need to know how I can
change it locally.
I used ini_set("error_reporting", "4"); for general warnings which works
fine
but trying ini_set("allow_call_time_pass_reference", "On"); doesn't work
I think it's a rights issue, being a general user I
Try using:
allow_call_time_pass_reference = On
in your php.ini. This should turn the warning off.
Daniel
> -Original Message-
> From: Martin.Andrew [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 11, 2002 3:35 PM
> To: Php-Windows
> Cc: Daniel Reichenbach
> Subject: RE: [PHP-WIN] W
I'm a bit confused by your description. Seeing the code itself would be
much more of a help. One thing that I notice though is that you say you
session_register 'myvar' on the first page. But the value for myvar isn't
actually set until after the form has been submitted, right? What might
I'm running the latest build of php and Apache under Windows 2000 pro.
I have been experimenting with sessions and I'm having a bit of trouble.
page 1
I create a session_start() above all of the HTML.
I have a 3 form element (a checkbox) with:
name="myVar" value="1",name="myVar" value="2",na
Anyone know a way of turning WARNINGS off with the ini_set() function? I
can't find it in the list of changeable options!
-Original Message-
From: Daniel Reichenbach [mailto:[EMAIL PROTECTED]]
Sent: 11 April 2002 14:26
To: Php-Windows
Subject: RE: [PHP-WIN] Warnings...
The only refe
The only reference i found is here:
http://www.php.net/manual/en/function.ini-set.php
But no description what it does :-(
If i understood it right, you called a function like this
myFunction(&$variable)
You can do the following, which should work. I use it myself
to pass references to database
I keep getting the following warning message on my production server (ISP
hosted), but local version doesn't have this problem! I check the local INI
file and can't find the "allow_call_time_pass_reference" mentioned!
Any ideas?
Warning: Call-time pass-by-reference has been deprecated - argument
Just want to mention in my conceptual view of an upload: the connections
is not passive, rather active, since the client is sending data to the
server - hence a timeout while sending data makes no sense for me?
> -Original Message-
> From: Fabian Deutsch
> Sent: Wednesday, April 10, 2002
Which version of PHP are you using? Do you mind post the PHP configuration
section of your Apache 2's httpd.conf? Thanks a lot!
"Helphand" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
> At 06:50 PM 4/10/02 -0700, Rasmus Lerdorf wrote:
> >There is no Apache2 support for PHP yet. Coming
Same here with running as module.
Running as cgi is running just fine with 4.1.2
Steffen
"Gaylen Fraley" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When trying to set up PHP with Apache 2, the following error occurs:
>
> Syntax error on line 175 of /Apac
28 matches
Mail list logo