bd1e0d0
-
Posts
27 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by bd1e0d0
-
-
PHP My Admin
in PHP
I got WAMP (PHP+MySQL+Apache [i got sick of IIS]) and it came with PHP My Admin. What is this?
-
I believe the best way to go is by MySQL and sessions. So I have no clue. Do your homework on those and you should get what you need .
-
-
-
if($handle=opendir('.')) { while(false!==($file=readdir($handle))) { if($file!=".") { echo("$file<br />"); } } closedir($handle);}
I think I'm using a generic file lister, ergo I think I'm screwed. Is there anyway through this script that I can make all the directories (folders) list first? If not, can anyone tell me a script that can?
-
Nah, I just put that put there as what I liked. ASP and PHP are, like, the dominant server-side languages. CGI is dying ...Doesn't ColdFusion cost money?I don't know why so many people like it if it's not free http://www.macromedia.com/software/coldfusion/ -
new message
in PHP
If you mean JavaScript alert, try this:
<html> <body onLoad="alert(document.getElementById("text").value);"> <input type="hidden" id="text" value="<?php echo($_POST['your_var_here']); ?>" /> </body></html>
-
Ask an admin or a mod to clean it up, that's all I can think of.
-
If you meant to check the code, I can't from the site itself. You need to email the page or something to get at the PHP script. Also, PHP is increadibly easy, you could learn the basics in less than 5 minutes, tops, here: http://www.w3schools.com/php/php_syntax.asp.
-
It's staring you right in the face! Your form was set to POST, and your variable was set to $_REQUEST. Use $_POST to get the variable. But if you wanted to use $_REQUEST, set the form to GET. Here (fixed up some of the XHTML for ya, too, also got rid of the comments beacuse I knew you put them there for this board):HTML File:
<html> <head> <title>What’s your name?</title> </head> <body> <h1>What’s your name?</h1> <h3>Writing a form for user input</h3> <form method="post" action="/hiUser.php"> Please type your name: <input type="text" name="userName" value="" /><br /> <input type="submit" /> </form> </body></html>
PHP File:
<html> <head> <title>hiUser.php</title> </head> <body> <h1>Hi User</h1> <h3>PHP program that receives a value from "whatsName"</h3> <?php $userName=$_POST['userName']; echo("<h3>Hi there, ".$userName."!</h3>"); ?> </body></html>
-
Or if you have XP Pro, you could install IIS then PHP. IIS also comes with ASP. I find I really don't need that other stuff. PHP, ASP, and ColdFusion are what I like.All in one.Apache server, PHP, and others such as CGI, Perl, MySQL, PhpMyAdmin, etc.Uniform Server -> http://sourceforge.net/project/showfiles.p...ackage_id=48193 -
Hope you got it as "\n."nm, i got it<?php echo("<textarea>Hello.\nHow are you?</textarea>");
-
I kinda sorta knew how to make the Google search anyway. Although it's more simple to do this:In the meantime, you could get a basic Google Search box.Check this page out http://www.google.com/searchcode.html<html> <head> <script language="JavaScript" type="text/javascript"> function gsearchme() { window.location="http://www.google.com/search?q=" + document.forms.google.q.value + " site:http://my.web.page/"; } </script> </head> <body> <form name="google" action="javascript:gsearchme();" method="get"> <label for="q">Google</label> <input type="text" name="q" /> <input type="submit" value="Google Search" /> </form> <body></html>
It works, trust me. All browsers.
-
I don't do sessions, I view them the same as cookies. They're stupid and I hate them. [i actually don't know hoe to do them, heh heh ... ]if you want a content search (which i believe is what you want) AND your site has database content, it would be very easy.But if your site doesn't have database and you want to perform a search in the content embedded in the files, you'll have to be very creative and it may become a bit complex...If you want the latter and don't know how to start, I suggest you could create a separeted file containing only keywords and references to the sessions of your site. -
How do I make a search script in PHP? I want simple because it's for a single site only. I was thinking of just having a form linked to Google, but I want that to be a last resort.
-
You sure? With Firefox, I didn't need any.Try these two:http://xulplanet.com/tutorials/xultu/http://xulplanet.com/tutorials/xulapp/But be forewarned that with the exception of Mozilla based browsers, a user will need to download a plugin to view the pages that its used on. -
-
I need some help with XUL. I've seen some sites with it, but I can't figure out how to use it. Does anyone know XUL? Or of a better site to help me? (Don't say W3Schools, cause they don't have it, they should, though .) I wanna use it on a portion of my site, one that's very deep in XUL where I'll have to use gzip compression on (well, hopefully ).
-
Make sure that you know the difference from Class and Id. Use classes if it's going to be use more than once. Use ids if its only going to be use once or if it's going to be used with a JavaScript function.
-
I find it easier to do this:
<% dim x x=request.queryString("x")%>
And this when it's needed in the page:
<%if x="blah"%> BLAH<%elseif x=null or x=empty%> BLAH<%else%> BLAH<%end if%>
I don't mean to be mean, but it hurts my hand if I type to much, so I thought other people might benifit from this.P.S. - So that's what <!--#include virtual=""--> does! I usually just do <!--#include file="include.inc"-->. Looks like I'll be using it in the future.And for safety reasons, 022012, you might want to use the Post method so people can't steal your stuff.
-
Live with it, VBScript is just easier with ASP.Somehow, you can have just regular JavaScript it the ASP tags and have it be plain ol' JavaScript. (Just not be seen by the client in the source code view.)Maybe because of this, they don't need to have you learn it again. It'd be just a waste of space on the server.
-
It's right there underneath the XP install. Click here if you don't believe me.Note: You cannot run ASP on Windows XP Home Edition. -
Cross-browser support is a pain to deal with. Believe me, I've seen my pages just fine in Firefox, then I try IE for the heck of it and it's all screwed up.
-
I find it easier on me and my mind to NOT use frames.
Vbscript and menu compatibility
in VBScript
Posted
You can have JavaScript on VBScript on the same page?