Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP = Apache ASP documentation

Status
Not open for further replies.

krappleby025

Programmer
Joined
Sep 6, 2001
Messages
347
Location
NL
Does anyone know where i can get documentation on the differences between ASP and APACHE ASP, as i have been trying to make some pages work, and in asp you can use

<%
wording = &quot;hello&quot;
response.write(wording)
%>

but in apache asp it is

<$
$wording = &quot;hello&quot;
$response->write($wording)
%>

as you can see there are changes in the programing.. so i need documentation to do this right, anyone know of anywhere that provides beginner training on apache asp coding..

Thanks
 
to enable <% tags in APACHe there is an ASP tags option in the httpd config file, as for calling methods of a com object in Apache it is using PHP/Perl method...

Known is handfull, Unknown is worldfull
 
whats wrong with this

set oRS = $server->createobject(&quot;ADODB.connection&quot;);

it comming back with an internal server error, and the error log reports

[Fri Oct 17 11:47:47 2003] [error] [asp] [18119] [error] Can't call method &quot;createobject&quot; on an undefined value at /home/httpd/vhosts/kra-webdesign.com/httpdocs/test.asp line 2. , /usr/lib/perl5/site_perl/5.6.1/Apache/ASP.pm line 1489


Thanks
 
in apache its Case sensitive, try this:
set oRS = $Server->CreateObject(&quot;ADODB.connection&quot;);

or whatever is the correct case...



Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top