Change PHP version. AFAIK, version 4.0.1 had that clear bug (check out
the commented manual at php.net, it's probably still there). Install
the latest version (4.0.4pl1). The function name is unlink(), not
delete().
Gonzalo.
> Hi!
> I'm a newbie in PHP and want to ask: how to delete files in
Some possibilities:
> $statement = odbc_prepare( $connection, "select * from System where A=?" );
Probably you would be better off using single quotes in the condition,
since you are tryng to match strings, like:
$statement=odbc_prepare($connection,"select * from System where A='?'");
You could try accesing by value number, instead of using value index
name. Anyway, I fear that what you're doing is quite illegal, and what
is really happening is that when you assign the first 'links.php', it
is overwritten by the second assignment, which is in turn overwritten
by the third. Try
It is slower. Maybe not REEAALLY slower if you don't have much
traffic, but when it comes to kicks, you're losing quite some
performance. I would suggest that you have a look at some of the DB
abstraction layer classes available un phpclasses.upperdesign.com or
at www.hotscripts.com; they could co
I think HTTP_REFERER works only for apache. To obtain values for HTTP
header vars without apache, you could use
HTTP_ENV_VARS["HTTP_REFERER"] as this is a php variable. Hope it
works right,
Gonzalo.
> In apache, the variable:
> HTTP_REFERER is automatically set.
> I don't run apache, I tried
You must compile php with socket functions: it does not come
pre-compiled in the binaries.
Gonzalo.
> Hi,
> I am trying to write a web telnet interface and I have difficulties with
> configuration for the socket functions... they are simply not
> recognized. I have php4 on apache server for w
> I understand that I need to:
> - Uncomment php_ldap.dll extension in PHP.INI <- Done
> - Modify extension_dir in PHP.INI <- Done (C:\PHP\)
I think this should be c:/php/extensions
Take care to use front slashes.
Regards,
Gonzalo.
--
PHP Windows Mailing List (http://www.php.net/)
To unsub
What DB are you using (if any)?
Gonzalo.
> Hi,
> I have test environment with PHP 403sp1 (CGI) running on Apache 1.3.14 on a
> low end (133mhz, 32mb RAM) Pentium with Windows 98. For some reason the
> whole set up seems very unstable, and PHP causes general protection faults
> consistantly wit
I placed a bug report some weeks ago at bugs.php.net, stating this
problem, related but not limited to a few applications that wouldn't
start until apache is shut down (only with php as module). Now it
seems we can add Netscape to the list. One of the dev people asked for
more info which -I admit-
Me too!
Gonzalo.
> Mathews, could you dig out that script please? I think I might need it.
> Bikes
> -Original Message-
> From: Tom Mathews
> Cc: [EMAIL PROTECTED]
> Sent: 2/12/01 11:02 AM
> Subject: Re: [PHP-WIN] PHP 'include' function
> I'm going to sound like a database freak,
he same error
> as well as reparing the old database. I've restarted the web server, still
> the same problem.
> The access 2000 db is on an iis 4.0 server which worked fine previously.
> Thanks,
> Aaron
> "Gonzalo Vera" <[EMAIL PROTECTED]> wrote in message
&
eird thing here is that
it worked before. Sorry if I can't get any farther, I'm just switching
from access 95 to MySQL (bye bye MS), and in access 95 those would be
troublesome issues.
Gonzalo.
> Access 2000 on IIS 4.0
> "Gonzalo Vera" <[EMAIL PROTECTED]> wrote in
This usually happens when another user opens a table for modification
(table definition): the table gets locked to all access. If you're
only running localhost try "repairing" your database: maybe you got a
corrupted table or db. Also if you're only on localhost, restart your
computer to make sure
What DB are you using?
Gonzalo.
> I have the query
> $cur= odbc_exec( $cnx, "SELECT Location, 'Dept ID', 'Equip Type' FROM
> Equipment01 WHERE Location = '415C'");
> which returns the proper results but when I add AND 'Equip Type' = 'C' to
> the end of it I get no results. Is my syntax corre
You can also try AbriaSoft lite (free for non-commercial, check the
license), which installs PHP, apache and Mysql from one package.
Gonzalo.
> Do not install PWS on your system. I would strongly recomend against it. If
> you put it on, and the regret it, it's a real pain in the behind do get r
>Hi,
> I work with Winows98 , and I want to make my system
> a really server.I have two questions :
> 1}What component I should install on my system to
> make it a really server ? IIS3 ? or IIS4 ?
> 2)Where can I get this component (IIS3 or IIS4
> for Windows98) ?
A REAL server? Do
> $sql_getID = "SELECT max(CUSTID_NUM) from cfull2.tbl_dl_customers";
> how the hell do I get that number into a variable?
Wouldn't changing your SQL statement to this do the trick?:
"SELECT max(CUSTID_NUM) as max_cust_id from cfull2.tbl_dl_customers"
^^
And
I'm afraid you're still short in having php running: yours is an
apache configuration problem, which is off topic for this list. I'll
mail you directly with some pointers to get your setup running.
Gonzalo.
>I am now learning PHP,I have already installed it,and have modified
> the 'httped.
readme.first, in the php distribution covers the apache module
installation. It is in the root of your php tree, along with php.exe.
Good luck,
Gonzalo.
> I was wondering if anyone could give me a detailed procedure for setting up
> PHP4 as a module in Apache 1.3.14.
> The documentation only
Mensaje de James; Sábado 27 de Enero de 2001, a las 10:30 AM.
What does Jabber do? Somebody who doesn't know Jabber might know some
way to get the same functions with other solutions.
Gonzalo.
> Is there a Jabber module available for PHP that performs the same functions
> as the module Net::Ja
I've never handled secured db's, but in windows' control panel, in the
ODBC applet where you define DSN, you can also define the system db
for each db. When connecting in PHP your string has DSN, user and
password, like:
$dsn="AnyDSN";
$user="Joe";
$pass="foobar";
$conn = odbc_connect($dsn,$user,
er.com/columns/timckun20001207.php3
> Alain
> On Wed, Jan 24, 2001 at 01:24:18PM -0600, Gonzalo Vera wrote:
>> Is there a way to connect to a MS Access database on a remote
>> computer, from a linux box hosting Apache and PHP? (Sorry if this is
>> too off-list). Any pointers to
Is there a way to connect to a MS Access database on a remote
computer, from a linux box hosting Apache and PHP? (Sorry if this is
too off-list). Any pointers to documents, faqs or so would be
appreciated.
Thanks,
Gonzalo.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-m
I wonder at what kind of script you have, that needs to be run
absolutely nonstop 24/7, but I'll share some "wild guesses":
1. It is not run by a web server, otherwise it would timeout the
server (which doesn't mean that it doesn't have relation with your web
pages). Your 24/7 script is being com
Yes, I'll file a bug report. Thanx!
Gonzalo.
> On 22.01.01 at 11:47 Gonzalo Vera wrote:
>> 1. With PHP running as an apache module, launching applications from
>> context menus freezes explorer, messing up the display by having to
>> kill the application and hav
First, I want to thank all for helping me with lots of suggestions for
questions I posted ("Disabling ODBC", "Tracing crashes", "ODBC vs.
Straight MySQL", ...)in the last couple of months. Even if my problem was not
fully solved it was more due to my having an old platform nobody else
used, than l
getenv ("REMOTE_USER")
Gonzalo.
> i wanna use the username the user gave me in the popup box to use it in my
> php scripts as a variable how does i get the username to a avriable
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
Try phpclasses.upperdesign.com, there are several very good graphing
classes that can be used for mathematical purposes.
Gonzalo.
> hi all,
> is there a math plotting code coded in php that is similar to mathcad etc
> for scientific uses
> yours,
> kayhan
> ___
Also CodeEdit (ralimi.hypermart.net)
Gonzalo.
> You also have TextPad which is freeware...
> michael
>>
>> yes, phpED is free
>> - Original Message -
>> From: "Bikes" <[EMAIL PROTECTED]>
>> To: "'Alain Samoun '" <[EMAIL PROTECTED]>; "'Angus Mann '"
>> <[EMAIL PROTECTED]>; <[EMAIL PROT
Check out md5 under string functions, in PHP manual.
Regards,
Gonzalo.
> Does any one have a one-way (non-reversible) hash function? I need to
> encode some values that can't be read by human, such as password
> information. Thanks.
> Julian.
--
PHP Windows Mailing List (http://www.php.
Check out mysql_num_rows and the COUNT function in MySQL: both are
good, quick ways of getting that number without looping through your
whole result set.
Gonzalo.
> Hi all,
> I have to know how many entries I have in table/database. Usually, I use
> $result = mysql_query("SELECT any_name_of_
31 matches
Mail list logo