Jake Giddens
Forum Replies Created
-
Actually this might be what you’re looking for. I don’t know how good it is but it’s a free WYSIWYG web editor:
The “Ice Cream Man“
-
I’ve heard good things about Dreamweaver although I’ve never used it. I’m not sure it’s cheap though. Something low budget would be like Microsoft FrontPage I suppose.
The “Ice Cream Man“
-
Ok I found out that that can’t be done.
Hmm… Ok how about this – is there a way I could include a variable in a new variables name?Example
$number=”4″;
$image4=$file; //with “4” coming from the variable $number
The “Ice Cream Man“
-
Oh no. I’m sorry – that’s a real pain. Do you have to reconstruct your website from the ground up?
The “Ice Cream Man“
-
Abraham,
It displays a custom 500 error for me. Looks like it’s only temporarily down. Hope it comes back up for you soon.
The “Ice Cream Man“
-
Ah! Nevermind I was right the first time. I’ve gone mad.
I can’t simply echo it because it needs to go in this:$theimage = getimagesize($dir/$image);
The “Ice Cream Man“
-
Right – only thing is I don’t need to echo $image. I just need to have it appear in another variable like this:
$display_image=”$dir/$image”;
And oh my God – wouldn’t you know it – I’ve overthought this one way too much. All I need to do is this:
echo “$dir/”;
echo $image;Boy am I stupid. Sorry to have wasted your time with this.
Thank you for taking the time to help me out.
The “Ice Cream Man“
-
Sort of. And that would work except I need the output of the javscript, eg “cow.jpg” to be used in $image so that I can run the image through this:
//Gets the width and height of the image and outputs it as $theimage[0] (width) and $theimage[1]
(height)
$theimage = getimagesize($image);
$width = $theimage[0];
$height = $theimage[1];like I said I think this can be done with a function() but I don’t know – I’m not very experienced with using function()
The “Ice Cream Man“
-
Yeah I’m using a reflection Javascript similar to that – it’s really awesome. I’ll look into the Ajax carousel. That should be a nice touch. Thank you very much.
Here’s one last question [hopefully :)] :
I made this javascript, which is printing a js array, a php variable (took out the “<"s so it would display): script type='text/javascript' document.write(photo[0]) /script I am then inserting that variable into another like this: $image="$dir/$java"; This is creative the link for the image. And of course it outputs the full javascript code instead of printing the array. My question is how do I get the array name to show? I'm thinking it must be done with a function() . . . The “Ice Cream Man“
-
Oh ok. Thanks I’ll have to check that out. By the way on the code you posted I keep getting this:
Fatal error: Call to undefined function imagecreatefromjpeg() in C:\Server\Apache2.2\htdocs\picrotate.php on line 7
Do you know what that’s all about?
thanks again.
The “Ice Cream Man“