cluce
-
Posts
354 -
Joined
-
Last visited
Never
Posts posted by cluce
-
-
Can someone please tell me what I am doing wrong in my httpd.conf file? I added two virtual hosts to this file but I dont know if its right because I get a forbidden error. "FORBIDDEN:You don't have permission to access on this server. "
here is my Apache httpd.conf file
###*********************************************************
###* Web-Developer Server Suite *
###* http://sourceforge.net/projects/webdeveloper *
###* devside_net@users.sourceforge.net *
###* v1.95-httpd22-ssl *
###*********************************************************
ThreadsPerChild 250
MaxRequestsPerChild 0
Listen 80
ServerRoot "/www/Apache22"
DocumentRoot "/www/webroot"
ServerName localhost:80
ServerAdmin admin@localhost
ErrorLog logs/error.log
LogLevel error
###
# Note that the following LoadModule lines only represent the minimum 'Web-Developer' Suite configuration.
#
# Also note that some of the following LoadModule lines, which are commented out, are still loaded under...
# conf\Suite-extra\*.conf
# conf\extra\*.conf
# ...configuration files -- for modular reasons.
#
# For example:
# mod_deflate is loaded under conf\Suite-extra\mod_deflate_logio.conf and NOT under httpd.conf
# status_module is loaded under conf\extra\httpd-info.conf and NOT under httpd.conf
#
# Check last part of httpd.conf for the Apache base and 'Web-Developer' *.conf files that are included.
###
#LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
#LoadModule asis_module modules/mod_asis.so
#LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
#LoadModule authn_default_module modules/mod_authn_default.so
#LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
#LoadModule authz_default_module modules/mod_authz_default.so
#LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule imagemap_module modules/mod_imagemap.so
#LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
#LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule negotiation_module modules/mod_negotiation.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
<IfDefine SSL>
LoadModule ssl_module modules/mod_ssl.so
</IfDefine>
DefaultType text/plain
<IfModule dir_module>
DirectoryIndex index.html index.php index.aspx
</IfModule>
IndexIgnore .htaccess
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>
<Directory "/www/webroot">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>
# Apache base configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server.
# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf
# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf
# Fancy directory listings
Include conf/extra/httpd-autoindex.conf
# Language settings
Include conf/extra/httpd-languages.conf
# User home directories
#Include conf/extra/httpd-userdir.conf
# Real-time info on requests and configuration
#Include conf/extra/httpd-info.conf
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
NameVirtualHost *:80
<VirtualHost *:80>
ServerName host1.net
ServerAlias www.host1.net
DocumentRoot /www/vhosts/host1.net
ErrorLog /www/Apache22/logs/error.log
<Directory "/www/vhosts/host1.net">
Options All
AllowOverride All
order allow,deny
allow from all
AddType text/html .php .phps
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName host2.net
ServerAlias www.host2.net
DocumentRoot /www/vhosts/host2.net
ErrorLog /www/Apache22/logs/error.log
<Directory "/www/vhosts/host2.net">
Options All
AllowOverride All
order allow,deny
allow from all
AddType text/html .php .phps
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps
</Directory>
</VirtualHost>
# Local access to the Apache HTTP Server Manual
Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf
# Various default settings
Include conf/extra/httpd-default.conf
# DeveloperSide.NET Server-Suite Configuration
#
# The configuration files in the conf/Suite-extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server.
#
# The specifics are loaded under components.conf...
Include conf/Suite-extra/components.conf
# Security check -- if no php module is loaded, Apache should return 'permissions denied' on php(4,5) all URL requests
<IfModule !php5_module>
<IfModule !php4_module>
<Location />
<FilesMatch "\.php[45]?$">
Order allow,deny
Deny from all
</FilesMatch>
</Location>
</IfModule>
</IfModule>
<IfModule ssl_module>
Include conf/extra/httpd-ssl.conf
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
-
well the way it is setup is through WAMP. I did this awhile back. It did all of that automatically. But I understand I need to set up the virtual hosts and I will read what you gave me.
Things are changing now , I am about to get a Dell machine and I will need to set up everything from scratch again. This will be a stand alone PC just for web hosting and nothing else. I will have to set up a web server that I can host 4 web sites for my co-workers to view on their machine on their network(internally behind a firewall) before I put it in production (externally).
Do you recommend I use WAMP again to host my website or install the components individually?
Also, do you recommend XP or Server 2003?
Also, shall I use Apache or IIS to host these web sites with Windows, of course?
Yes, I want to use a Windows platform because everything we use over here is on Windows and I am not that familar with Linux.
thanks
-
I am about to get a Dell machine to set up a web werver at work for testing purposes. I am supporting four different web sites for the company. All of our machines are using Windows platforms so I am thinnking of installing Windows Server or XP to host them with WAMP but I am not sure what will be the easiest way. (XP or Server 2003??)
I had tried to host a php website before on Windows XP & server 2003 using IIS and had some trouble running the MySQL/data driven pages but I am thinking of getting a book and trying again. My goal is to set to set up a testing web server for four different web sites that will run php and mysql driven web applications and be able to publish the web pages internally behind a firewall for my co-workers to view before I put it in production (externally).
Can someone give me any feedback about their current Windows set up or any websites or books that can help me set this up? Before when I tried this, I have done some googling before and it was of some little help but my mysql pages I couldnt get to run over the network. Currently, I am using my local machine with WAMP but this will need to change becasue I want other people to pull up the websites from their computer and interact with the pages before I publish them to the web.
thansk
-
I have not read that but I figured it was something else I need to configure. I do have my second website working but not like it should. All I have to do is type the location of the website in the address bar for it to run which will work for now.
But I will need to learn this because I am about to set up a stand alone testing web server and I will have 4 websites I will need to host on there for testing.
-
I am currently using WAMP as my web server and it only allows me to host one website at a time is this right?? I have it installed on my C: drive under wamp/www. It seems it wont allow me to add multiple root folders under the www folder which is currently my only root folder that works. Can someone give me some direction on how to set multiple web hosts.
I would think all I do is set designated folders in the www folder but that is not working.
-
You may have error handling turned off! If there is an error in your script instead of dispalying a error it displays a blank white page! Very fustrating but is more hacker safe!
Thats what my web host support said, but I cant see that be the case because it works fine on my local host just not his web server ???
I am still waiting on an email from them to tell me what he sees is wrong.
-
Then call your webhost support :/
already did.they are looking into it
-
Have you tried inserting a simple PHP script, something like this?
echo "Test";
yes, i have and something is wrong with the web host..not sure what it is because we dont host it ourselves.but we are looking into it
-
This is driving me bannannas!!!
Can someone tell me why my page shows up blank with the php code at the time but when I remove all my php code the page is displayed fine?
<?php session_start(); //connect to database include'db.php'; //gather the topics $get_topics_sql = "SELECT topic_id, topic_title, DATE_FORMAT(topic_create_time, '%b %e %Y at %r') aS fmt_topic_create_time, topic_owner FROM forum_topics_awi ORDER BY topic_create_time DESC"; $get_topics_res = @mysqli_query($mysqli, $get_topics_sql) or die(header("Location: error.html")); if (mysqli_num_rows($get_topics_res) < 1) { //there are no topics, so say so $display_block = "<p align=\"center\"><em>No topics exist.</em></p>"; } else { //create the display string $display_block = " <table cellpadding=\"0\" cellspacing=\"0\" border=\"1\" align=\"center\" bordercolor=\"#0033CC\"> <tr> <th>TOPIC TITLE</th> </tr>"; while ($topic_info = mysqli_fetch_array($get_topics_res)) { $topic_id = $topic_info['topic_id']; $topic_title = stripslashes($topic_info['topic_title']); $topic_create_time = $topic_info['fmt_topic_create_time']; $topic_owner = stripslashes($topic_info['topic_owner']); //add to display $display_block .= " <tr> <td><a href=\"display_post_c.php?topic_id=".$topic_id."\"><strong>".$topic_title."</strong></a><br/> Created on ".$topic_create_time." by ".$topic_owner."</td> </tr>"; } } //free results mysqli_free_result($get_topics_res); //close connection to MySQL mysqli_close($mysqli); //close up the table $display_block .= "</table>"; ?> <HTML> <HEAD> <TITLE>American Warrior</TITLE> <script language="JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } function P7_autoLayers() { //v1.2 by PVII var g,b,k,f,args=P7_autoLayers.arguments; var a = parseInt(args[0]);if(isNaN(a))a=0; if(!document.p7setc) {p7c=new Array();document.p7setc=true; for (var u=0;u<10;u++) {p7c[u] = new Array();}} for(k=0; k<p7c[a].length; k++) { if((g=MM_findObj(p7c[a][k]))!=null) { b=(document.layers)?g:g.style;b.visibility="hidden";}} for(k=1; k<args.length; k++) { if((g=MM_findObj(args[k])) != null) { b=(document.layers)?g:g.style;b.visibility="visible";f=false; for(j=0;j<p7c[a].length;j++) { if(args[k]==p7c[a][j]) {f=true;}} if(!f) {p7c[a][p7c[a].length++]=args[k];}}} } //--> </script> <script language="JavaScript"> <!-- function MM_reloadPage(init) { //Updated by PVII. Reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); function P7_ReDoIt() { //v1.21 by PVII if(document.layers) {MM_reloadPage(false);} } function P7_Snap() { //v2.62 by PVII var x,y,ox,bx,oy,p,tx,a,b,k,d,da,e,el,args=P7_Snap.arguments;a=parseInt(a); for (k=0; k<(args.length-3); k+=4) if ((g=MM_findObj(args[k]))!=null) { el=eval(MM_findObj(args[k+1])); a=parseInt(args[k+2]);b=parseInt(args[k+3]); x=0;y=0;ox=0;oy=0;p="";tx=1;da="document.all['"+args[k]+"']"; if(document.getElementById) { d="document.getElementsByName('"+args[k]+"')[0]"; if(!eval(d)) {d="document.getElementById('"+args[k]+"')";if(!eval(d)) {d=da;}} }else if(document.all) {d=da;} if (document.all || document.getElementById) { while (tx==1) {p+=".offsetParent"; if(eval(d+p)) {x+=parseInt(eval(d+p+".offsetLeft"));y+=parseInt(eval(d+p+".offsetTop")); }else{tx=0;}} ox=parseInt(g.offsetLeft);oy=parseInt(g.offsetTop);var tw=x+ox+y+oy; if(tw==0 || (navigator.appVersion.indexOf("MSIE 4")>-1 && navigator.appVersion.indexOf("Mac")>-1)) { ox=0;oy=0;if(g.style.left){x=parseInt(g.style.left);y=parseInt(g.style.top); }else{var w1=parseInt(el.style.width);bx=(a<0)?-5-w1:-10; a=(Math.abs(a)<1000)?0:a;b=(Math.abs(b)<1000)?0:b; x=document.body.scrollLeft + event.clientX + bx; y=document.body.scrollTop + event.clientY;}} }else if (document.layers) {x=g.x;y=g.y;var q0=document.layers,dd=""; for(var s=0;s<q0.length;s++) {dd='document.'+q0[s].name; if(eval(dd+'.document.'+args[k])) {x+=eval(dd+'.left');y+=eval(dd+'.top');break;}}} if(el) {e=(document.layers)?el:el.style; var xx=parseInt(x+ox+a),yy=parseInt(y+oy+b); if(navigator.appName=="Netscape" && parseInt(navigator.appVersion)>4){xx+="px";yy+="px";} if(navigator.appVersion.indexOf("MSIE 5")>-1 && navigator.appVersion.indexOf("Mac")>-1){ xx+=parseInt(document.body.leftMargin);yy+=parseInt(document.body.topMargin); xx+="px";yy+="px";}e.left=xx;e.top=yy;}} } //--> </script> <style type="text/css"> <!-- .style1 { font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; } .style13 {color: #FF0000} .style19 { color: #000000; font-size: 24px; } .style20 {color: #FF0000; font-size: 18px; } .style22 {color: #000000; font-size: 18px; } .style23 {color: #000000} --> </style> </HEAD> <BODY aLink=#6666ff bgColor=#848483 leftMargin=0 link=#cc0000 text=#000000 topMargin=0 vLink=#660000 marginheight="0" marginwidth="0" onLoad="MM_preloadImages('../images/btn_cummins_b.gif','images/btn_our_people_b.gif','images/btn_our_name_b.gif','images/btn_our_history_b.gif','images/btn_our_philosophy_b.gif','images/btn_our_commitment_b.gif','images/btn_broussard_b.gif','images/btn_columbia_b.gif','images/btn_columbus_b.gif','images/btn_gretna_b.gif','images/btn_engines_b.gif','images/btn_compressors_b.gif','images/btn_waukesha_b.gif','images/btn_caterpillar_b.gif','images/btn_electric_b.gif','images/btn_dresser_rand_b.gif','images/btn_ariel_b.gif','images/btn_knox_western_b.gif','images/btn_gardner_denver_b.gif','images/btn_parts_inventory_b.gif','images/btn_component_repair_b.gif','images/btn_service_technicians_b.gif','images/btn_new_units_b.gif','images/btn_unit_repackaging_b.gif','images/btn_welcome_b.gif','images/btn_branchlocations_b.gif','images/btn_parts_service_b.gif','images/btn_fabrication_b.gif','images/btn_engineering_b.gif','images/btn_leasing_b.gif','images/btn_maintenance_contracts_b.gif','images/btn_contact_us_b.gif','/images/btn_our_people_b.gif','/images/btn_our_name_b.gif','/images/btn_our_history_b.gif','/images/btn_our_philosophy_b.gif','/images/btn_our_commitment_b.gif','/images/btn_broussard_b.gif','/images/btn_columbia_b.gif','/images/btn_columbus_b.gif','/images/btn_gretna_b.gif','/images/btn_engines_b.gif','/images/btn_compressors_b.gif','/images/btn_waukesha_b.gif','/images/btn_caterpillar_b.gif','/images/btn_electric_b.gif','/images/btn_dresser_rand_b.gif','/images/btn_ariel_b.gif','/images/btn_knox_western_b.gif','/images/btn_gardner_denver_b.gif','/images/btn_parts_inventory_b.gif','/images/btn_component_repair_b.gif','/images/btn_service_technicians_b.gif','/images/btn_new_units_b.gif','/images/btn_unit_repackaging_b.gif','/images/btn_welcome_b.gif','/images/btn_branchlocations_b.gif','/images/btn_parts_service_b.gif','/images/btn_fabrication_b.gif','/images/btn_engineering_b.gif','/images/btn_leasing_b.gif','/images/btn_maintenance_contracts_b.gif','/images/btn_contact_us_b.gif')" onResize="P7_ReDoIt();P7_Snap('leftanchor','menucloser',0,0,'leftanchor','Layer1',0,0)"><!-- #BeginLibraryItem "/Library/la.lbi" --> <script language="JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <body onLoad="MM_preloadImages('../images/btn_cummins_b.gif')"> <div id="menucloser" style="position:absolute; width:200px; height:150px; z-index:1; left: 0; top: 0; visibility: hidden"> <table width="200" border="0" cellspacing="0" cellpadding="0"> <tr> <td><a href="javascript:;" onMouseOver="P7_autoLayers(0)"><img src="/images/shim.gif" width="200" height="150" border="0"></a></td> </tr> </table> </div> <div id="Layer1" style="position:absolute; left:0px; top:0px; width:152px; z-index:2; visibility: hidden; height: 70px; background-color: #000000; layer-background-color: #000000; border: 1px none #000000"> <table width="152" cellpadding="0" cellspacing="0" bordercolor="#000000" border="0"> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td nowrap bgcolor="#000000"> <div align="center"><a href="/our_people.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('our_people','','/images/btn_our_people_b.gif',1)"><img name="our_people" border="0" src="/images/btn_our_people.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td nowrap bgcolor="#000000"> <div align="center"><a href="/our_name.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('our_name','','/images/btn_our_name_b.gif',1)"><img name="our_name" border="0" src="/images/btn_our_name.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td nowrap bgcolor="#000000"> <div align="center"><a href="/our_history.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('our_history','','/images/btn_our_history_b.gif',1)"><img name="our_history" border="0" src="/images/btn_our_history.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td nowrap bgcolor="#000000"> <div align="center"><a href="/our_philosophy.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('our_philosophy','','/images/btn_our_philosophy_b.gif',1)"><img name="our_philosophy" border="0" src="/images/btn_our_philosophy.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td nowrap bgcolor="#000000"> <div align="center"><a href="/our_commitment.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('our_commitment','','/images/btn_our_commitment_b.gif',1)"><img name="our_commitment" border="0" src="/images/btn_our_commitment.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> </table> </div> <div id="Layer2" style="position:absolute; left:0px; top:0px; width:153px; z-index:3; height: 57px; background-color: #000000; layer-background-color: #000000; border: 1px none #000000; visibility: hidden;"> <table width="152" height="57" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000"> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr><td nowrap><div align="center"><a href="/broussard.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('broussard','','/images/btn_broussard_b.gif',1)"><img name="broussard" border="0" src="/images/btn_broussard.gif" width="150" height="14"></a></div></td></tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td nowrap><div align="center"><a href="/columbia.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('columbia','','/images/btn_columbia_b.gif',1)"><img name="columbia" border="0" src="/images/btn_columbia.gif" width="150" height="14"></a></div></td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td nowrap> <div align="center"><a href="/columbus.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('columbus','','/images/btn_columbus_b.gif',1)"><img name="columbus" border="0" src="/images/btn_columbus.gif" width="150" height="14"></a></div></td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td nowrap> <div align="center"><a href="/gretna.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('gretna','','/images/btn_gretna_b.gif',1)"><img name="gretna" border="0" src="/images/btn_gretna.gif" width="150" height="14"></a></div></td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> </table> </div> <div id="Layer3" style="position:absolute; left:0px; top:0px; width:152px; z-index:4; visibility: hidden; background-color: #000000; layer-background-color: #000000; border: 1px none #000000"> <table width="152" cellpadding="0" cellspacing="0" bordercolor="#000000" border="0"> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td> <div align="center"><a href="/engines.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('engines','','/images/btn_engines_b.gif',1);P7_Snap('engines','menucloser',150,-10,'engines','Layer4',150,0);P7_autoLayers(0,'menucloser','Layer3','Layer4')"><img name="engines" border="0" src="/images/btn_engines.gif" width="150" height="14"></a></div> </td> </tr><TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td> <div align="center"><a href="/compressors.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('compressors','','/images/btn_compressors_b.gif',1);P7_Snap('compressors','menucloser',150,-10,'compressors','Layer4b',150,0);P7_autoLayers(0,'menucloser','Layer3','Layer4b')"><img name="compressors" border="0" src="/images/btn_compressors.gif" width="150" height="14"></a></div> </td> </tr><TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> </table> </div> <div id="Layer4" style="position:absolute; left:0px; top:0px; width:152px; z-index:5; visibility: hidden; height: 35px; background-color: #000000; layer-background-color: #000000; border: 1px none #000000"> <table width="152" cellpadding="0" cellspacing="0" bordercolor="#000000" border="0"> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td> <div align="center"><a href="/waukesha.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('waukesha','','/images/btn_waukesha_b.gif',1)"><img name="waukesha" border="0" src="/images/btn_waukesha.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td> <div align="center"><a href="/caterpillar.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('caterpillar','','/images/btn_caterpillar_b.gif',1)"><img name="caterpillar" border="0" src="/images/btn_caterpillar.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td> <div align="center"><a href="/electric.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('electric','','/images/btn_electric_b.gif',1)"><img name="electric" border="0" src="/images/btn_electric.gif" width="150" height="14"></a></div> </td> </tr><TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td><div align="center"><a href="/cummins.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('cummins','','/images/btn_cummins_b.gif',1)"><img name="cummins" border="0" src="/images/btn_cummins.gif" width="150" height="14"></a></div></td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> </table> </div> <div id="Layer4b" style="position:absolute; left:0px; top:0px; width:152px; z-index:6; visibility: hidden; height: 50px; background-color: #000000; layer-background-color: #000000; border: 1px none #000000"> <table width="152" cellpadding="0" cellspacing="0" border="0" bordercolor="#000000"> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR><tr> <td> <div align="center"><a href="/dresser_rand.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('dresser_rand','','/images/btn_dresser_rand_b.gif',1)"><img name="dresser_rand" border="0" src="/images/btn_dresser_rand.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td> <div align="center"><a href="/ariel.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('ariel','','/images/btn_ariel_b.gif',1)"><img name="ariel" border="0" src="/images/btn_ariel.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td> <div align="center"><a href="/knox_western.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('knox_western','','/images/btn_knox_western_b.gif',1)"><img name="knox_western" border="0" src="/images/btn_knox_western.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td> <div align="center"><a href="/gardner_denver.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('gardner_denver','','/images/btn_gardner_denver_b.gif',1)"><img name="gardner_denver" border="0" src="/images/btn_gardner_denver.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> </table> </div> <div id="Layer5" style="position:absolute; left:0px; top:0px; width:152px; z-index:7; visibility: hidden; background-color: #000000; layer-background-color: #000000; border: 1px none #000000"> <table width="152" cellpadding="0" cellspacing="0" bordercolor="#000000" border="0"> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR><tr> <td> <p align="center"><a href="/parts_inventory.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('parts_inventory','','/images/btn_parts_inventory_b.gif',1)"><img name="parts_inventory" border="0" src="/images/btn_parts_inventory.gif" width="150" height="14"></a></p> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td> <div align="center"><a href="/component_repair.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('component_repair','','/images/btn_component_repair_b.gif',1)"><img name="component_repair" border="0" src="/images/btn_component_repair.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td> <div align="center"><a href="/service_technicians.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('service_technicians','','/images/btn_service_technicians_b.gif',1)"><img name="service_technicians" border="0" src="/images/btn_service_technicians.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> </table> </div> <div id="Layer6" style="position:absolute; left:0px; top:0px; width:152px; z-index:8; visibility: hidden; background-color: #000000; layer-background-color: #000000; border: 1px none #000000"> <table width="152" cellpadding="0" cellspacing="0" bordercolor="#000000" border="0"> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR><tr> <td> <p align="center"><a href="/new_units.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('new_units','','/images/btn_new_units_b.gif',1)"><img name="new_units" border="0" src="/images/btn_new_units.gif" width="150" height="14"></a></p> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td> <div align="center"><a href="/unit_repackaging.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('unit_repackaging','','/images/btn_unit_repackaging_b.gif',1)"><img name="unit_repackaging" border="0" src="/images/btn_unit_repackaging.gif" width="150" height="14"></a></div> </td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> </table> </div> <A name=top></A> <!-- #EndLibraryItem --><table border=0 cellpadding=0 cellspacing=0 width="100%"> <tbody> <tr> <td bgcolor=#000000 width="100%" colspan="3"><img src="spacer1.gif" width="1" height="4"></td> </tr> <tr> <td bgcolor=#000000 width="100%" colspan="3"><img height=1 src="images/null.gif" width=1></td> </tr> <tr> <td bgcolor=#cc0000 width="100%" colspan="3"><img height=4 src="images/null.gif" width=1></td> </tr> </tbody> </table> <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD bgColor=#000000 width="100%"><IMG height=1 src="images/null.gif" width=1></TD> </TR> <TR> <TD nowrap> <div align="left"><img src="images/corner_fade_leasing_01.jpg" width="336" height="99" name="leftanchor"><img src="images/logo_w_word.jpg" width="400" height="99"><img src="images/spacertop.gif" width="40" height="8"></div> </TD> </TR> <TR> <TD width="100%"> <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR vAlign=top> <TD><img src="images/corner_fade_leasing_03.jpg" width="152" height="1"></TD> <TD bgColor=#000000 rowSpan=3 width=1><IMG height=1 src="images/null.gif" width=1></TD> <TD bgColor=#000000 width="90%"><IMG height=1 src="images/null.gif" width=1></TD> <TD bgColor=#000000 rowSpan=3 width=1><IMG height=1 src="images/null.gif" width=1></TD> <TD rowSpan=3 width=10><img src="images/spacerside.gif" width="20" height="1"></TD> </TR> <TR vAlign=top> <TD width=150> <table border=0 cellpadding=0 cellspacing=0 width=150> <tr> <td><img src="images/corner_fade_leasing_05.jpg" width="152" height="57" border="0"></td> </tr></table> <!-- #BeginLibraryItem "/Library/nav.lbi" --> <table border=0 cellpadding=0 cellspacing=0 width=150> <tbody> <tr> <td bgcolor=#000000 width=150><a href="javascript:;" onMouseOver="P7_autoLayers(0)"><img height=2 src="/images/null.gif" width=150 border="0"></a></td> </tr> <tr> <td bgcolor=#000000 noWrap width=150> <div align="center"><img height=1 src="/images/null.gif" width=7></div> </td> </tr> <tr> <td bgcolor=#000000 width=150><img height=3 src="/images/null.gif" width=1></td> </tr> <tr> <td noWrap width=150><a href="/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('welcome','','/images/btn_welcome_b.gif',1);P7_Snap('welcome','menucloser',150,-10,'welcome','Layer1',150,0);P7_autoLayers(0,'menucloser','Layer1')"><img name="welcome" border="0" src="/images/btn_welcome.gif" width="150" height="14"></a></td> </tr> <tr> <td bgcolor=#000000 width=150><img height=1 src="/images/null.gif" width=1></td> </tr> <tr> <td noWrap width=150><a href="/branch_locations.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('branchlocations','','/images/btn_branchlocations_b.gif',1);P7_Snap('branchlocations','menucloser',150,-10,'branchlocations','Layer2',150,0);P7_autoLayers(0,'menucloser','Layer2')"><img name="branchlocations" border="0" src="/images/btn_branchlocations.gif" width="150" height="14"></a></td> </tr> <TR> <TD bgColor=#000000 width=150><IMG height=1 src="/images/null.gif" width=1></TD> </TR> <tr> <td> <div align="center"><a href="/engines.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('engines1','','/images/btn_engines_b.gif',1);P7_Snap('engines1','menucloser',150,-10,'engines1','Layer4',150,0);P7_autoLayers(0,'menucloser','Layer4')"><img name="engines1" border="0" src="/images/btn_engines.gif" width="150" height="14"></a></div> </td> </tr> <tr> <td bgcolor=#000000 width=150><img height=1 src="/images/null.gif" width=1></td> </tr> <tr> <td> <div align="center"><a href="/compressors.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('compressors1','','/images/btn_compressors_b.gif',1);P7_Snap('compressors1','menucloser',150,-10,'compressors1','Layer4b',150,0);P7_autoLayers(0,'menucloser','Layer4b')"><img name="compressors1" border="0" src="/images/btn_compressors.gif" width="150" height="14"></a></div> </td> </tr> <tr> <td bgcolor=#000000 width=150><img height=1 src="/images/null.gif" width=1></td> </tr> <tr> <td noWrap width=150><a href="/parts_service.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('parts_service','','/images/btn_parts_service_b.gif',1);P7_Snap('parts_service','menucloser',150,-10,'parts_service','Layer5',150,0);P7_autoLayers(0,'menucloser','Layer5')"><img name="parts_service" border="0" src="/images/btn_parts_service.gif" width="150" height="14"></a></td> </tr> <tr> <td bgcolor=#000000 width=150><img height=1 src="/images/null.gif" width=1></td> </tr> <tr> <td noWrap width=150><a href="/fabrication.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('fabrication','','/images/btn_fabrication_b.gif',1);P7_Snap('fabrication','menucloser',150,-10,'fabrication','Layer6',150,0);P7_autoLayers(0,'menucloser','Layer6')"><img name="fabrication" border="0" src="/images/btn_fabrication.gif" width="150" height="14"></a></td> </tr> <tr> <td bgcolor=#000000 width=150><img height=1 src="/images/null.gif" width=1></td> </tr> <tr> <td noWrap width=150><a href="/engineering.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('engineering','','/images/btn_engineering_b.gif',1);P7_autoLayers(0)"><img name="engineering" border="0" src="/images/btn_engineering.gif" width="150" height="14"></a></td> </tr> <tr> <td bgcolor=#000000 width=150><img height=1 src="/images/null.gif" width=1></td> </tr> <tr> <td noWrap width=150><a href="/leasing.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('leasing','','/images/btn_leasing_b.gif',1)"><img name="leasing" border="0" src="/images/btn_leasing.gif" width="150" height="14"></a></td> </tr> <tr> <td bgcolor=#000000 width=150><img height=1 src="/images/null.gif" width=1></td> </tr> <tr> <td noWrap width=150><a href="/maintenance_contracts.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('maintenance_comtracts','','/images/btn_maintenance_contracts_b.gif',1)"><img name="maintenance_comtracts" border="0" src="/images/btn_maintenance_contracts.gif" width="150" height="14"></a></td> </tr> <tr> <td bgcolor=#000000 width=150><img height=1 src="/images/null.gif" width=1></td> </tr> <tr> <td noWrap width=150><a href="/contact_us.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('contact_us','','/images/btn_contact_us_b.gif',1)"><img name="contact_us" border="0" src="/images/btn_contact_us.gif" width="150" height="14"></a></td> </tr> <tr> <td bgcolor=#000000 width=150><img height=1 src="/images/null.gif" width=1></td> </tr> </tbody> </table> <!-- #EndLibraryItem --><div id="Layer7" style="position:absolute; left:0px; top:330px; width:282px; height:130px; z-index:9"> <div align="center"><img src="images/awlease5.jpg" width="250" height="165"></div> </div> </TD> <TD bgColor=#ffffff width="90%"> <table border=0 cellpadding=4 cellspacing=0 width="100%"> <tbody> <tr bgcolor="#CDC6BB"> <td colspan=3 width="100%"><font color=#ffffff><img src="images/t_leasing.gif" width="418" height="41"></font></td> </tr> <tr> <td colspan=3 width="100%"><img height=13 src="images/null.gif" width=1></td> </tr> </tbody> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="150"><img height=1 src="images/null.gif" width=150></td> <td valign="top"><br> </td> <td valign="top"><img height=1 src="images/null.gif" width=10></td> </tr> </table> <div align="center"><br> </div> <p align="center" class="style13"><strong><span class="style19">Company Information </span></strong></p> <p align="center" class="style20"> </p> <p align="center" class="style13"><span class="style22">Message Board</span> </p> <p align="center" class="style23"> <?php echo $display_block; ?><br /> </p> <blockquote> <blockquote> <blockquote> <blockquote> <blockquote> <blockquote> <p><a href="post_c.php">Post new topic</a></p> <p> </p> </blockquote> </blockquote> </blockquote> </blockquote> </blockquote> </blockquote> <p align="center"><strong>Emergency Contacts </strong><br /> 1-866-218-8106 </p> <p align="center">available 24/7/365</p></TD> </TR> <TR vAlign=top> <TD width=150><IMG height=1 src="images/null.gif" width=150></TD> <TD bgColor=#000000 width="90%"><IMG height=1 src="images/null.gif" width=1></TD> </TR> </TABLE> </TD> </TR> <TR> <TD width="100%"><IMG height=10 src="images/null.gif" width=1></TD> </TR> <TR> <TD width="100%"><!-- #BeginLibraryItem "/Library/footer.lbi" --> <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD width=300><img height=1 src="/images/null.gif" width=300></TD> <TD> <div align="center"><SPAN class=footer><SMALL><font size="1"><a href="/index.htm"><font size="2">Welcome</font></a><font size="2"> | <a href="/branch_locations.htm">Branch Locations</a> | <a href="/engines.htm">Engines</a> | <a href="/compressors.htm">Compressors</a> | <a href="/parts_service.htm">Parts & Service</a> | <a href="/fabrication.htm">Fabrication</a><a href="/engineering.htm"><br> Engineering</a> | <a href="/leasing.htm">Leasing</a> | <a href="/maintenance_contracts.htm">Maintenance Contracts</a> | <a href="/contact_us.htm">Contact Us</a></font><br> </font><font color="#CCCC33"><b>All contents copyright 2001, American Warrior Inc.<br> <span><a href="http://www.point2point.org/" target="_blank">website hosted by point2point</a> </span></b></font></SMALL></span></div> </TD> <TD width="20"> </TD> </TR> </TABLE> <!-- #EndLibraryItem --></TD> </TR> <TR> <TD width="100%"><IMG height=13 src="images/null.gif" width=1></TD> </TR> </TABLE><br> </BODY> </HTML>
-
thanks...........shift and enter was it
-
$auth = @mysqli_query($mysqli,$val) or die(header("Location: error.html"));
-
yeah I know. even we I delete the <p>tag it doesnt do anyhthing. DW doesn't do this all the time. It depends on where I am in typing the text in.
thx I'll figure it out.
-
This is stupid and has been driving me crazy. Can anybody tell me when you type in text on a web page it automatically double spaces my paragraph? I have a tough time trying to get it to single space.
It does this...... But I want this.........
8KW-Marine 8KW-Marine
Model 6HKP08/1PF1P
Model 6HKP08/1PF1P
This stupid does this alot.
-
thanks for the info. I dont think security will be too much of an issue since my website will be a simple and informative, no dynamics. I think I will explore with BSD, Fedora and Debian.
-
I know this question can have more than one answer depending on personal taste. now that I am doing some research I am liking Fedora but I see alot of info on Ubuntu in this forum. can someone share what kind of set up they have. or what is known to be a secure effecient web server. any comments is gladly appreciate it. thanks.
-
thanks for the feedback. I just came across that after I posted and I am downloading that right now.
-
I am new to setting up a linux server but not new to php, apache, and mySQL. My plan is I want to host a website at home on a linux server but I am not sure what Linux platform to use. Also I will be using L.A.M.P. as a web server.
I have a P4 processor, 512 RAM and 80 gig hard drive. I am looking something that is relatively simple because I dont have the time to sit down and learn all the configurations that is involved in some open source software . I have looked at FreeBSD and Fedora. Can someone reccomend a Linux OS that would make a great web hosting server and easy to install?
-
I have the following salt function...
<?php function genHash($Text, $salt = null) { if ($salt === null) { $salt = substr(md5(uniqid(rand(), true)), 0, SALT_LENGTH); } else { $salt = substr($salt, 0, SALT_LENGTH); } return $salt.sha1($salt.$Text); } ?>
my INSERT query is ....
$sql = "INSERT INTO employees (username, password, f_name, l_name, email) VALUES ('$username', genhash('$password'), '$f_name', '$l_name', '$email')";
mysqli_query($mysqli, $sql);
which works as far as I can see
my query to get logon info to match the password is...
//create and issue the query
$sql = "SELECT username, f_name, l_name FROM employees WHERE username = '$checkuser' AND password = 'genHash($checkpassword, 1)' LIMIT 1";
$result = mysqli_query($mysqli, $sql) or die(header("Location: error.html"));
can someone tell me if I am matching this right at login?
-
I am sure 32 works. its just a habit. I never thought to much about it. I just used 50 for mostly everything. I will probably change it. yes, I think sha1 might be 64 or somehting I will look it up.
-
I solved this. All needed to do was change my varchar type to 50 so it can handle the hash in the table properly. thats why I couldnt decrypt at that site it or logon. thx for your help. I learned alot and still do in this forum
-
that was it!! I would have never figured that out by myself. Just went over my head but was simple. I also got my UPDATE loop doing the same principle to work too. All I had to do was change my varchar to 50 which I thought it was or to whatever can handle md5 or sha1. Another careless mistake I did.
thx
-
oh. that never occured to me . maybe thats why my UPDATE loop didnt work when I tried to logon with the real passwords. so I need to change my datatype to match the hash functions. I will try both my UPDATE and INSERT codes and see if I can update the table with the hashed passwords and see if I can login. thx again
-
great well I got it to work. it was the wrong file name. my mistake. Sorry. It worked without the commas? im not sure if I need them? topic solved thanks for your help
-
thanks for pointing the index out I changed that but thats not all. The output is still the same as previous post. I think the problem is somewhere in these lines. I just not sure what? .....
$handle = fopen("pass.csv","r");
while(($data = fgetcsv($handle, 1000, ",")) !== FALSE)
and here is my whole csv file..
user1 pass1
user2 pass2
user3 pass3
user4 pass4
user5 pass5
[SOLVED] trying to access apache server from another computer through Internet explorer
in Apache HTTP Server
Posted
I am trying to access my web server from another machine through internet explorer but I am receiving this message"Forbidden You don't have permission to access /localhost:80 on this server."
In the address bar, I am typing in the name of the computer and the port like this..........."http://computername/localhost:80"
can someone tell me how to allow access to this? Or what am I doing wrong?