The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 ViewsWorks fine for me.
try refreshing the page after you submit. It normally will pop up with a message telling me that I am using POSTDATA and when I click ok it refreshes the page but deactivates the <link> tag.
Side note: As echo is a language construct and not a function, it doesn't need the parentheses.
I know, but it just is easier for me to use parentheses because it seems more organized for me :/
sorry for the triple post (really >>;) but you might have to refresh the page once before it strips the tag.
okok, disregard my last post. I made a little example of what happens. (You might need firefox for it to work).
http://jelix.heliohost.org/testing/index .php
Just click the submit button on that page. It's just a simple form with not even any code or anything in it, but when you use it, it strips the <link> out and makes the CSS code on the page not import.
That's what I was trying to explain.
I'm not the css expert either, so I'm not going to attempt to help and end up messing up worse, but I did notice that your #left and #right div's background image fields don't have quotes around them. Don't know if that would fix anything.
the <link> is in the head
and as to what the function does "that's the form code. and when I click the submit button to run the shoutbox function which adds the user input into a flat file."
I can tell I doubt I'm going to get much help on this one :/ I'll just rewrite the entire code in a different way and hope it works.
Thanks for explaining the onclick/javascript thing though (:
You'd have better luck looking here
<h2>ShoutBox</h2>
<p>
<form method = 'post' action = 'index.php'>
Name: <input type = 'text' name = 'name' class = 'textarea' /><br />
Msg: <textarea name = 'msg' rows = '4' cols = '15' class = 'textarea'></textarea><br />
<input type = 'submit' value = 'Submit' name = 'submitBtn' class = 'submitBtn' onClick = '<? shoutbox(); ?>' ><br />
</form>
</p>
<p>
<? echo($fData); ?>
</p>
that's the form code. and when I click the submit button to run the shoutbox function which adds the user input into a flat file. $fData is the information from the file.
When I click the button sometimes it'll (normally only in firefox) strip the <link> tag for some reason and the entire page will just be pure html.
I know the way you are supposed to include external css is <link>, but it's been conflicting with my php code when I use the <link> tag for some reason.
Would I be breaking some standard or something by using <? include('cssfile.css'); ?> instead of just importing it through <link>?
I don't think it would be inefficient or wouldn't work right, but I haven't heard of anyone doing it like that before and I wanted to check before I base an entire site's style off of that method of importing.
point·less (point'l%u012Ds) Pronunciation Key
adj.
1. Lacking meaning; senseless.
2. Ineffectual: pointless attempts to rescue the victims of the raging fire.
point'less·ly adv., point'less·ness n.
make sure your saving it as a ".html" file and not a ".txt" file.
try this code instead to see if your using the correct code.
"<img src = 'http://www.google.com/intl/en_ALL/image s/logo.gif' />"
it should show the google.com logo.
At 7/29/07 03:59 PM, DannyIsOnFire wrote:At 7/29/07 03:47 PM, manuneves wrote: 4FUN!!!!!!!!!!!!!!!!!!!1Quiet you.
He just wanted to be a smart programmerman too D:
I AM ALL 4 THE NOTION OF 4FUN!!!!!!!!!!!!!!!!
To bad we'll all be dead before its set in stone and what not :(
Nah, I think think we'll still be around. I think I will be at least. I'm 15 now so by the time I'm 40 or 50 or somthing it should be like how I just described it if the fields continues to increase expotentially like it is and expected to.
Of course by that time the environmentalists better get work on fixing Earth or all the new technology and superhumans won't seem like much when the Earth is quickly dieing and global warming is flooding and messing up everything we make.
iframes can also become a search engines worst enemy when your site gets a bit bigger.
At 7/29/07 05:13 AM, smulse wrote:At 7/29/07 01:40 AM, DarkScythes wrote: 9382854363.324 * 844.435353 / 45?It's 176,071,420,809.8020487416, no calculator, 0.0001 seconds.
stick that in your pipe and smoke it!
I don't smoke.
But you see my point I hope? ;D
I've seen a few programs around that can turn images into text like that before :/
yeah, I noticed I missed the "()" right after I hit post. I'm so tired right now and not paying attention >>;
I'll take a look at serialize, thanks :D
Is it possible to hold arrays in sessions or not?
somthing like:
//
session_start();
$_SESSION['lol'] = array['dawg' => 'daaawwwgggggggg'];
//
or would it not work?
Have all of you forgotten about the everevolving fields of neuroscience?
Humans won't be replaced, humans will coexist.
Eventually everything biological about us will probably just about disapear from new technologies and whatnot and we will become robots(or close enough) ourselves.
Implants will enable humans to have the calculation speeds of computers, and of course body parts and whatnot could be replaced.
9382854363.324 * 844.435353 / 45?
You'd know in a fraction of a millisecond.
nah, it looked like that just shows the same game but he made it with 3 different languages.
I meant like if he has a website or somthing :/ I saw his email.
http://www.janis.or.jp/users/segabito/Ja vaScriptMaryo.html
Has anyone else seen that? o_o
I didn't know that was even possible with web scripting especially javascript.
Does anyone know anything about the makers of it?
I like the shoutbox, I don't like that it's one o' those generic "LOLFREESHOUTBOX" ones that you can get though.
I with there was a solid lighter color behind the content so the text was nicer on the eyes.
I don't like the frames because it makes so many scrollbars on the page.
The menu is nice but I think it should fill up the entire space for the menu. Same with the page views.
The site code is realy unorganized, and why in gods name is there a table above everything else with nothing in it? o_O
Just to let you know I just pointed out bad aspects, criticism is good for the soul <3
The main site and everything is a bunch of images and no texts D:
DO NOT WANT
thanks for clearing it up guys ._.;
I've only been doing CSS for one day and barely have a grasp on it so The question probably sounded really dumb.
I took out the float so it's just decorated divs and very out of order now >>; it's still not working though.
Hokay, so you can see on the page that I can't get the text to wrap and I've been following every tut's advice I can find but it's still not wrapping and staying in the float. Can anyone help me out with this so it'll wrap?
if you wanted to waste enough time getting into the files.
At 7/22/07 09:35 PM, DFox wrote:At 7/22/07 09:31 PM, DarkScythes wrote: $target_path = "uploads/";That's probably your problem. You're probably going to need the full path, which you can use $_SERVER['SCRIPT_FILENAME'].
Also, what error are you getting, because that should help indicate the problem.
That's the annoying thing, I'm only getting that text from the if statement saying that I should try uploading again and that there was an error. No real php errors are popping up to help me.
I'll try what you suggested though (B
I'm almost positive my code is working right. I'm just learning and this should make a file uploader right? (It passes the file from index.php already) After it passes the file though, it alwayse fails and never saves it to the server.
//
<?php
$target_path = "uploads/";
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
if(move_uploaded_file($_FILES['uploadedf ile']['tmp_name'], $target_path)) {
echo "The file ". basename( $_FILES['uploadedfile']['name']).
" has been uploaded";
} else{
echo "There was an error uploading the file, please try again!";
}
?>
//
I'm beginning to think somehow my host might have blocked file uploads or somthing. Is that possible or is it the code or somthing? :/
At 7/19/07 08:18 PM, elbekko wrote: You cannot use a resource identifier as an argument for filesize(). Use the filename.
oh thanks, It works now :]