Hi,
I have Sybase Central installed on my windows box as well as the apache
server running in the same environment and PHP4 with it which all works
great.
Problem here is that this problem has a history...
I innicially had alot of problems with my .dll's for establishing a database
connection now
r
>name &
>pass & guess what? The webmail works!! Even when there are
>messages! So
>it's GOTTA be an NT security setting on some folder or file as when
>I'm
>'logged in' as admin it works but it doesn't when the web user is
>used, even
>if I
ou could have mentioned that in the first place. I would hope
that in light of code red and nimda your company would want to
reconsider.
>Now does anyone have anything useful to add to the discussion?
>
>Mark wrote:
>>
>> >Suggestions?
>>
>> I suggest yo
On Tue, 25 Sep 2001 23:33:52 +0200, Didier Geheniau wrote:
>mark,
>
>If people like you don't question the decisions other people in
there
>choice of platforms, but instead just help to make solutions like
php
>more portable (by making it work on questionable platforms) in
fu
y more viruses must it help spread before
GWB declares running IIS an 'act of terrorism'? :)
- Mark
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
solve this problem, if it's possible at all.
>> >
>> >Sorry for bothering.
>> >
>> >Afan
>>
>> yes netscape sucks like that, try netscape 6.0, or put the table
>>within
>> another table's TD
>>
>> example:
>>
>&g
le($line = mysql_fetch_array($result)){
> print "\t\n";
> while(list($col_name, $col_value) = each($line)){
> print "\t\t$col_value\n";
> }
> print "\t\n";
> }
> print "\n";
>
> mysql_close($link);
>?>
>
>
>
>
--
Mark, [EMAIL PROTECTED] on 10/08/2001
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
>$contents = fread ($fd, filesize ($filename));
>fclose ($fd);
>echo $contents;
>echo strlen($contents);
>for($i=0;$i{ echo "$i:".ord($contents[$i]).""; }
>
>Isn't it bug?
>
>Thanks
>Roland Divin
>
>
>
--
Mark, [EMAIL PROTECTED] o
in the
PHP.ini file?? Do I need to make additional changes to my Apache config
file?? Any input would be greatly appreciated. Thanks in advance.
Mark
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
I added the following lines to my httpd.conf file:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
This is correct correct? <--LOL!!
Mark
"~Fanta~" <[EMAIL PROTECTED]> wrote in
to load when I try
the Module version (Get a "Requested Operation Failed" message). can
someone please help? My system is as follows:
Windows 2000 SP2
Apache 2.0.28 (I have also tried version 1.3.22 with same results as
mentioned above)
PHP 4.1.1
MDAC 2.7
MySQL 3.23.46a
Than
Try running apache not as a service. If that works you know it's a
permissions thing.
On Tue, 8 Jan 2002 16:01:39 -0500, nicole wrote:
>I am running Apache (as a service) on Win2k. LocalSystem is the
>logon for that. I experimented and changed it. Stopped the apache
>service, then couldn't start
-Original Message-
From: Piotr Pluciennik [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2003 1:38 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PHP4 + windows 2003 server
Hi,
have you got all directories and rights for them to store session
variables on your server (in your ex
Sorry to bother, but I am having a severe problem with this (probably stupidly) flawed
code.
It is part of a script to call descriptions for images along with their filenames from
a mysql database. trouble is, it doesnt work, and it claims that I have a syntax error
near "LIMIT 10"
The code i
I seem to have isolated my problem. My code will only work with non-numerical tables
for some reason, which is kind of a pain.
Is there any way to use php to connect to a mysql table that has a numerical value as
its name (1,2,3 etc)?
Thanks,
mark
me feel stupid and are generally
unreadable, IMHO. My problem is that I am missing the *NIX gene, a
condition that makes it impossible for me to parse sentences that have
been written by *NIX hackers.
In the last two or three years I have read nearly half of the IETF RFCs
and have understood everyth
Howdy.
Brian McGarvie wrote:
>
> Any configuration points to check out?
>
> Sorry i think I even omitted my set-up...
>
> win2k server, iis5, php 4.2.1...
>
> the code was simply some code found on zend's code site;
I'm about as rank a newbie as you could imagine so please forgive me if
I er
Steve Yates wrote:
>
> "Mark Filipak" wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
and Stuart Dallas wrote:
>
> Mark Filipak wrote:
Oh, my. This reply has just changed topics...
>From both replies I assume that this list does not pro
ng, I appreciate that ...it appears I will not be posting to
PHP-WIN anymore... :-|
> "Mark Filipak" wrote ...
> > From both replies I assume that this list does not protect, hide, or
> > munge email addresses
>
> I personally haven't been on a list that doe
t, or is there an better type I can't see on the list?
I don't know for sure, but I think you would want this:
application/x-msdownload
Perhaps someone more knowledgable will confirm this.
Ciao -- Mark
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I still seem to be having a problem. When I run depends on my php_xslt.dll
it says:
"At least one module has an unresolved import due to a missing export
function in an implicitly dependent module."
When I look, I see a call to _ecalloc from php4ts.dll that is marked with a
red icon.
I just d
Hi!
I'm running Apache/1.3.24 (Win32) and php 4.2.1 as a apache module on
a windows2000 professional box. everything seems to be fine but
sessions. The problem is that although it's able to write the session
information in the php/tmp directory were it's suppouse to write the
information relat
After installing PHP for Windows and adding the three line to the Apache
conf file, Apache will not start.
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
For starters the php4apache.dll is not even installed with the windows
installer f
Hi!
I'm running an apache server 1.3.24 and php 4.2.1 as a module on
win2000 professional. i just cant read the cookies from the clients
nor can the session_start, session_register and other functions of
this library.
does anyone have a solution?
thanks in advance
mark
Sent by Med
: You cant just pick up the .dlls and run with your version of PHP as im
sure they are sensitive to which point version you are using ie: 4.0.5 dll's
will not work with 4.0.4 (AFAIK)
mn
Mark Nold
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Senior Consultant
Change is inevitable,
.
-
Out of interest John, have you tried PEAR::DB ? I gave it a while under
Windows (as a CGI) and it seemed a tad slow compared to my own DB abs layer,
or PHPLib. Maybe that it's problem too.
Mark Nold
[
ey
to c:\tmp (or wherever)
Mark Nold
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Senior Consultant
Change is inevitable, except from vending machines.
-Original Message-
From: Ben Edwards [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 4:55 AM
To: [EMAIL PROTECT
rateful for any
workarounds.
Thanks in advance...
Mark Edwards.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi,
I'm using php4-07 as a module, apache 1.3.20 and phpinfo() always
crashes apache, as well as scripts that use gd. any suggestions?
thanks,
- Mark
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
ror page in the
>broswer.
>
>Hope someone can help??
I've seen that some of the network functions just hang forever, such
as get_host_by_name() when there's no internet connection. try
looking for one of those.
- Mark
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscrib
http://www.net-language.com/workshops/Default.asp?workshop=21
This helped me step by step - and I'm 'only a designer'
I did have some trouble with php 4.06 on win2000, but reverting to 4.04
worked fine.
Mark
> > > I've been looking to and fro for a "s
I did this and now the admin page is returning a parse error?
Has anybody been able to upload images via phpnuke?
> --
> From: Leon
> Sent: Friday, October 5, 2001 10:26 AM
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: [PHP-WIN] Large File Uploads
>
> Hi all
>
> If an
s.ID, newstitle, newsdescription, newsdate, author,
email FROM news, authors WHERE $name LIKE '%$value%' AND authors.ID=AID ORDER BY
news.ID DESC");
if (!search) {
echo("Sorry, there are no matches for what you are looking for. Please try
again");
exit();
}
Any help would be much appreciated
Mark
Can anyone suggest an existing script/product to manage a simple email
based newsletter?
Our web server has php/mysql.
Requirements:
Name and Email field
Confirmation of subscription by reply email
Unsubscribe option by email.
The simpler to set up the better.
Mark Hope
--
PHP Windows
instead of a the continuous text it is now.
Mark
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Thanks for everybodies replies - we've used the nl2br() function and its
working just fine.
Mark
> --
> ---
> Oliver Robillo replied:
>
> You could try using the replace function of mys
pretty urgent for me to find this out.
Thanks
Mark
I'm looking for a way to detect the flash plug-in, writing a suitable
include file for those that have the plug-in, and another include for
those that don't.
Can anybody point me in the right direction.
Mark Hope
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-ma
What are the Best Practices for configuring PHP on IIS5 for virtual servers?
What are the security implications? What doesn't work, if anything?
--
Mark Thornton
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
executing?
___
Mark Hammond [EMAIL PROTECTED]
Information Service Coordinator
Collingwood Utility Services
Phone: 705-445-1800 ext: 247
Mobile: 705-441-4209
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey I need your help I want to change a part of the config.php file in my
script which is
$allow = "1"; // to allow comments 1 = yes 0 = no
I'm trying to change it to $allow = "0"; using a other file I have this code
but i get errors
If you have another code i could use please help me out
I get the Same ERROR Help Us out!!!
"Felipe Lorente" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello, could please someone help me with this??
> I use the php function mail like this:
>
> mail($to, $subject, $text, "From: $sender
> X-Mailer: PHP/" . phpversion());
>
>
Something about lumer?
"Erythros" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> what are the errors that you get?
>
> "Mark Clarkstone" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hey I need your help I
this
Parse error: parse error, unexpected T_LNUMBER in
c:\www\apache\htdocs\scripts\string\test.php on line 9
"Mark Clarkstone" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Something about lumer?
>
> "Erythros" <[EMAIL PROTECTED]>
Links Don't work (Site Dead)
mod_l33t v1.0
A fast, dynamic and limited virtual hosting module for Apache 1.3.x
This module has been tested on RedHat Linux 7.2 and Windows XP.
View the INSTALL file for instructions on how to install and configure
mod_l33t.
Why does this m
& if any one can make it work on apache 2 post here also
"Mark Clarkstone" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Links Don't work (Site Dead)
>
>
> mod_l33t v1.0
>
> A fast, dynamic and limited virtual hosting module for Apac
HUH ? this is about Apache & PHP
"Stephen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This a PHP helplist. We deal with php issues. Your issue is a Apache/Mod
> l33t issue. I suggest looking somewhere else for support
>
> Stephen
>
>
I have created a page online about mod_l33t
here & the download with Everything you need to install
http://homepage.ntlworld.com/albrecht/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Folks,
Thanks in advance to whomever takes this on. :)
I'm realtively new to php and have begun using an opensource product as the
CMS for my website. I like the product so much that I would like to run
multiple installs on the same server. However, with the mail settings being
defined in php.
Hello
Have you tried adding this
LoadFile C:/php/php4ts.dll
Loadmodule php4_module c:\php\sapi\php4apache.dll
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
instead of
LoadFile C:/www/php/php4ts.dll
Loadmodule php4_m
Its the same but if you use it for a web hosting server then don't even
think about it! If you use it as a cgi module then hackers who use your site
will love it!
"Michael G. Tracey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Is there a danger if you install php as an Apach
to set the cookie in browsers different of netscape
navigator. ie opera or internet explorer. nevertheless it works
localy with internet explorer. I have check all kind of privacy
settings in this browsers and it remains the same... does someone
have a clue about this?
Thanks in advance
Mark
Can any one Help Me install Pear DB?
I haven't got a clue
Thanks
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ds,
> Thai
>
>
> -Original Message-
> From: Mark Clarkstone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 15, 2003 4:24 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Installing /enabling Pear:DB
>
>
> Can any one Help Me install Pear DB?
>
&g
I have designed a class that multiplies one of the varibles by two but when
i pass the values to the contructor i cant get the answer out any ideas
Here is the full script "If you can recognise the problem can you explain
why its wrong and why its not working "Ps learning the langauge "
The Class
I have designed a class that multiplies one of the varibles by two but when
i pass the values to the contructor i cant get the answer out any ideas
Here is the full script "If you can recognise the problem can you explain
why its wrong and why its not working "Ps learning the langauge "
The Class
I have designed a class that multiplies one of the varibles by two but when
i pass the values to the contructor i cant get the answer out any ideas
Here is the full script "If you can recognise the problem can you explain
why its wrong and why its not working "Ps learning the langauge "
The Class
gorithm or something "
>From what I understand is that if you use this on one php script then
calling another script with the variable $PHP_SELF contained within will
remember the previous script " <<< Now im really confused !!
Manythanks Mark
[EMAIL PROTECTED]
"Having to
Hi, I want to use imageloadfont since I dont have any freetype fonts
installed on my server, how would I use this function? There is not any
sample scripts avalible on the web.
Thanks
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are of any programs that could monitor
the PHP processes growing and send a signal to restart Apache.
Thanks,
Mark
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi list. does anyone have a clue on managing access to a script
written in perl from php? is there a way they can work together?
thanxs in advance.
mark
Sent by Medscape Mail: Free Portable E-mail for Professionals on the Move
http://www.medscape.com
--
PHP Windows Mailing List (http
plan on writing a short
tutorial on the whole process in the next week if you can hold on. Mail me
at [EMAIL PROTECTED] with a reminder if you're interested.
mn
Mark Nold
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Senior Consultant
Change is inevitable, except from vendi
dont have to worry
about missing data.
This one comes down to taste though. I like the 2d arrays because they are
similiar to data sets from your db or a spreadsheet.
mn
Mark Nold
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Senior Consultant
Change is inevitable, except from vending
the right direction here?
Mark Petereit
-
Do You Yahoo!?
Yahoo! Mail Personal Address - Get email at your own domain with Yahoo! Mail.
ing fine.
Best regards,
Mark Taylor
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I have a Win 2000 Web server with Apache that works just fine. However
whenever a PHP page is requested you must wait about 5 seconds for the page
to be displayed, even if there are no actual PHP commands in the page
itself. I have IIS and ASP running on the same server with an instantaneous
res
Hello,
I have installed php on my NT server and I think its all ok, it performs
very simple scripts, however a phpinfo(): gives me this
Parse error: parse error in C:\INetPub\WWWRoot\test.php on line 7
with line 7 being the phpinfo():
it seems like quite a fundimental error, have i messed up t
Is it possible to export the content of an access database to mySQL? Most of
my clients have Access as standard. Could be a dumb question, appologies if
it is. Pretty new to the database thing.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Just want to say thank for all the quick replys to my problems, got it
sorted now. Thanks for going easier on a beginner!
Probably be speaking to you again soon!
Cheers
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
takes it must be a real person!
Now where's my cheque book...
mn
Mark Nold
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Senior Consultant
Change is inevitable, except from vending machines.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:
es the previous) and
you need an action line.
mn
Mark Nold
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Senior Consultant
Change is inevitable, except from vending machines.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 4:27 A
Hi again, a couple of questions if you have the time.
I am having trouble writing the code to perform a search on a database. I
have written some code which will search but only get case sensitive exact
match results. Are there any functions or prewritten bits that would help
here? Or can anyone
ad... from...).
I've tried it with .php3 extension etc., everything I set it up to
recognise, but still no joy.
Any thoughts hugely appreciated.
Cheers
Mark
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Thanks Darvin. I did restart Apache but I'll go back and see if my config
matches yours and try again.
Appreciate the help.
Mark
"Darvin Andrioli" <[EMAIL PROTECTED]> wrote in message
01C0B6EF.0A64EFC0@PCDARVIN">news:01C0B6EF.0A64EFC0@PCDARVIN...
It seems that
Hi there, I am trying to get my head around Sessions but not getting very
far. I can't seem to work out exactly how you keep track of the variables.
If you register a variable at the start of the page, will it then track this
variable and take it from page to page by its self, or do you have to do
hi list
this piece of code isnt working
copy("c:\\php\\uploads\\sample.txt", "d:\\neweb\\ainek\\");
can anyone give me a hint?
i am running winxp professional with iis5.1 and php 4.3
best regards
mark
Sent by Medscape Mail: Free Portable E-mail for Professionals
Hi
We recently upgraded from NT server to 2003 Server. We used to be able to
post events to the event viewer (to track errors in our application). After
the upgrade the event viewer does not show any events posted in it.
Mark Gilbert
You haven't closed your form tag which is causing it to all go wrong.
Here is some working code for you:
Your name:
Your age:
action.php:
Hi .You are
window.alert('You must complete both fields');
You would probably find
Have you tried a print_r($row_ads); to check that your array is actually
populated with all the data you are expecting it to be populated with?
That being said I would expect to see the html in your source even if
those fields in the array were blank
Mark
"[EMAIL PROTECTED]&quo
uld set up - php4ts.dll
and the php4isapi.dll
In Him
Mark Gilbert
2 Peter 1:2 Grace and peace be multiplied unto you through the knowledge of
God, and of Jesus our Lord.
ile to one of the "Web Service
Extensions". If you do not want to add it to one of the existing extensions
the create a new "Web Service Extension".
Next you should right click the file itself and the check the security
settings of the actual file.
That should solve it for you.
In
14.0.
However, as far as I know, I would need a new version of php_curl.dll in
order to use this. I do not understand how to build this myself, or even
what I would need in order to do this, and am not sure that I have the
necessary software in any case. Are there any tutorials out there on how t
Lots of possible solutions on this:
http://www.webmasterworld.com/forum88/4806.htm
And another is... change the extensions on your html files
""Fred"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> PHP5 - Apache2 - XPSP2
> New to PHP.
> I have done everything I think I need to do
Hello
This won't solve your problem entirely, but you could alter the
max_execution_time (in php.ini) to a lower value so that it times out
quickly when your device is disconnected.
Mark
"(Gemma Montero)" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
""Georgio"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Anyone who has successfully got PHP5.0.4 working on a system with Windows
> 98SE / PWS 4.0 / Internet Explorer 6 should please assist me.
>
> I just upgraded from PHP4.3.2 to PHP5.0.4 and for the past three days, I
> have not
> Can someone answer a MySQL question for me? I'm trying to do a self join
on
> my category table and I'm only coming up with 2 fields in my recordset
when
> I know I should have 5 fields. Here is the code I'm using.
>
> >SELECT Cats3.CatId, Cats.Cat, Cats1.Cat, Cats2.Cat, Cats3.Cat
> >FROM (((Cat
"Taksam" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Anybody used OpenAMF+PHP? ( http://www.amfphp.org/ )
>
> It is an open-source Flash Remoting gateway. I already used it with Java
and works OK. Just wanted to know if somebody here used it with PHP and
would like to know if th
> I've got PHP 4 set up on Server 2003. My LAN is running active directory.
>
> Whenever I try to a mysql_connect, something (PHP I assume) tacks on a
> hostname of the local computer.
>
> $link = mysql_connect('myserver', 'user', 'password');
>
> Besides the old password authentication password pr
So I have I this problem. I have asp page that has a link to a PHP page,
when I click on the link I get the PHP with no problems but if I click back
to the asp page and click on the PHP page I get a HTTP 500 Internal server
error. If I hit the refresh button I get the php page again. The PHP page i
the asp page
to the php page this value is reset in php so when I go back to the asp page
and back to the php page I get an internal error because the _VIEWSTATE var is
not the same in php as it is in asp. So how can I go from asp page to the php
page and maintain the same variable's value
est way to pass it around both domains without
rolling your own session manager.
You cannot use a session variable if you are using the built in session
management. in ASP and PHP.
Cheers
Mark
"cybermalandro cybermalandro" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED
> Please suggest what I have done wrong with the following lines of php:-
>
> $MachineNum = $_POST['led']; // led is the variable in the html that
calls this php
>
> $SQL = sprintf("select a_date, a_time, amnt from register where mac_name
> = %s and message_id = 34 or message_id = 35 order by a_d
Please use reply-all to make sure that your message goes to the list
- Original Message -
From: "Luis Moreira" <[EMAIL PROTECTED]>
To: "'Mark Rees'" <[EMAIL PROTECTED]>
Sent: Monday, September 12, 2005 3:15 PM
Subject: RE: [PHP-WIN] Re: Not ge
I have looked in the online manual but am not able to find the
> equivalent functions in mssql of mysql_errno() & mysql_error().
> I am in the unfortunate position of having to develop using an existing
> MSSQL database.
There aren't any as far as I know. I think the best you can do is test for
t
Thanks for your advice.
ADODB link
http://adodb.sourceforge.net/
Please use reply all to send your message to the list
-
in my experience is better to use an abstraction layer library like adodb
this will allow you to switch database in the future, beside
> Tony Aldemir wrote:
>
> >Hi There,
> >
> >I am trying to connect to MySQL using ADODB library for PHP using the
> >following code with no success. What am I doing wrong?
> >
> > >include('/php/adodb.inc.php');
> >
> >$db = &ADONewConnection('mysql'); # eg. 'mysql' or 'oci8'
> >$db->debug = true;
> I have to access a MsSQL stored procedure coded as follows :-
>
> CREATE PROCEDURE spGetActivePromotions
>@Today datetime
> AS
> SELECT PromotionID, PromotionName, StartDate, EndDate, LastDrawDate,
>MaxDraws, NumRegTickets, VouchersPermitted, NumTicketsPerVoucher,
> ManualTicketIssue
presuming you are using ADODB for
PHP here)
If $type parameter is set to false, in mssql, $type will be dynamicly
determined based on the type of the PHP variable passed (string => SQLCHAR,
boolean =>SQLINT1, integer =>SQLINT4 or float/double=>SQLFLT8).
http://phplens.com/lens/adodb/docs-adodb.htm
I would look into supplying the data type when adding the parameter
Hope this helps
Mark
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n&client=firefox-a&rls=org.mozilla
%3Aen-GB%3Aofficial&q=mssql_bind+datetime&btnG=Search&meta=
Anyway, your answer is to be found in the manual, here (6th result on
google):
http://www.php.net/function.mssql-query
in the user notes
Cheers
Mark
> A little further down in th
> > Mark Rees wrote:
> >
> >>>
> >>> I get 2005/09/16 10:09:22 AM which is exactly the same format as it
> >>> appears in the database table when viewed via Enterprise Manager.
> >>>
> >>
> >>
> >> I woul
1 - 100 of 142 matches
Mail list logo