I'm writing very simple html code (the basics) and the browsers on my mac are not interpreting it. It just shows the code as I've written it in the browser. Browsers: Firefox, Safari Using: textedit
But, when I use the exact same code on my PC, the browsers interpret it just fine. Browsers: Firefox, IE Using: Textpad
Hi, I'm trying to change the look of my profile in a forum. I'd like to change the background color. I've seen someone do it once. They told me they used css/style (html) codes, but I have no idea where they could have put it to change their profile.
So I was thinking of using UBB codes, since UBB is used for forums, but I can't find one for background color...
I hope I am making sense? Any response would be nice.
Why does the second test not work? ignore the space in the <>. it was the only way to get the code to show.
?php session_start();
$number = $_POST['verify']; $test = md5($number);
if ($test == $_SESSION['image_random_value']){
$name=$_POST['name']; $number=$_POST['number']; $email="email@email.com"; $reply_email =$_POST['email']; $headers="Reply-to: <$email>\r\n"; $subject="Appointment"; $body[0]="$name would like an appointment on \n"; $body[1]=" $date \n"; $body[2]="They can be contacted at $number"; $body[3]="Their email is $reply_email"; $body=$body[0].$body[1].$body[2].$body[3];
if (strpos($reply_email, '@') !== FALSE && strlen($reply_email) > 6){ mail($email,$subject,$body,$headers); echo "Email has been sent"; } else { echo "< html>"; echo "< head>"; echo "< meta http-equiv='Content-Type' content='text/html' charset='iso-8859-1'>"; echo "< /head>";
This may be a basic problem, but it's an extremely frustrating one.
There are times using my computer when it is just extremely lag-gy. One of the primary times is when I come back to it and wake it from the screen saver. Let me give you an example of a usual situation, as it happened just now.
I came in to the computer room to look up something on the computer. It came out of the screen saver, and was sitting on a FireFox screen. I went to file and New Window, and it took THIRTY-FIVE SECONDS to open a new FireFox window. Once it dragged itself through all that it's fine, but that's a terribly annoying problem to have.
Heh, I just went to the search function to find Hijack This, and it took 17 seconds for the Search window to come up! It hasn't always been this way, things used to pop right up! Now, I know that a reformat would probably fix it all but...wow that can be a headache. Could it be anything else?
I am running a Compaq Presario with a 3200+ AMD Athlon XP Processor and Windows XP. 512 MB SDRAM, 200GB HD.
Logfile of HijackThis v1.99.1 Scan saved at 5:37:15 PM, on 5/30/2007 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)
how to people make such glamorous looking html tables in their userinfos like fakedisrepair? i tried to but it always turns out awful. i would like to have an image included in the table but keep it borderless.
i would really appreciate it if somebody helps me! please and thank you. =]
xml.lt has announced the release of DIY Framework. It is an open–source web application framework based on MVC architecture, object–oriented PHP 5, MySQL, and XSLT.
The Model is database–backed and generated by Propel ORM tool, the Controller is inspired by REST and RDF, and the View is based on XSLT stylesheets as templates.
The framework allows clean and precise sever–side development with a fully object–oriented code, absolutely no mixing of PHP, (X)HTML and/or SQL code, resources that have nice meaningful URIs with no extra effort, and many other features. On the other hand, it is tiny, flexible, and not overloaded with buzzword things.
I'm still working without Flash, though I'd like to learn it at some point. I am trying to incorporate all my animation with GIFs and HTML/CSS.
I'm trying to figure out the best way to do a marquee type effect on an image that is XHTML compliant. I understand that marquee tags are deprecated (though they seem to still be pretty well supported) and I'm wondering if anyone can suggest a CSS equivalent?
Basically, what I actually want to do is have one long image rolling slowly by like a film strip across the bottom of the page (horizontally). What's the easiest way to accomplish this? I'm not afraid of JavaScript, but I'm also not brilliant with it yet, so spell things out for me. :)
i'm having a problem with a site i'm working on. i'm a media student and one of our many subjects is system design, meaning we learn about java, python, php and more languages. i'm not the programmer person, and the subjects i like better in my studies are the design ones, so natuarlly i'm having major problems understanding and doing programming.
i know that i'm not the worst in it either, but with this exercise i've come to my limits. it's pretty simple. we started with making a layout using css, but then we had to add php code and a database to it so as to add new elements and edit existing ones to the database using forms.
so, the problem is a general and ususal one, meaning that there are errors in my code that i just can't find. i've gone through it a million times, asked collegues to give me their code to compare (since they didn't have time to sit down with me and help) and i've gone to message boards to ask for help (which wasen't very successful cuz they directed me to go read some basic php tutorial. i wouldn't have gone to the message board hadn't i done that already). anyway, i'm at a total loss as to what could be wrong. the zip file uploaded here contains everything of the page, even a text file of the database used that you can import into your server.
the problems i have are:
1) the 'DVD-Vols.php' file should just print out all the dvd volumes that exist of the series. beside each entry is a delete link to delete that entry from the database and a link to more detailed info on that dvd volume. the printing works out fine, but the delete link only deletes the entry of the database table that has the 'ID' '0'. the link to the detail info does not work either. i wanted use a php codeing that automatically fills in the 'ID' to it's corresponding entry in the db and passes it on, so the detail page of the dvd (DVD.php) knows which dvd volume to display.
2) on the 'DVD.php' page i want to print out only one of the table entries from the db, depending on the 'ID' the link from the previous page passes on.
3) the add and edit forms (there are two versions of each: Add-Form.php & Edit-Form.php) don't seem to work. a friend of mine told me they are correct, but when using them on my machine, nothing happens. what happens on mine regarding the add-form was the following:
i had started my table entries with an entry that i gave the 'ID' '1' to instead of '0', so when using the add form, the new entry was assigned that id. when trying to add another, the previous entry i made lost all it's 'contents'. the edit-form did not work at all.
4) in the home.html page i'm trying to add an image that moves from one side to the other, which seems to only work when first loading the page (it moves 5px to the right) but somehow the counter seems to not work, and i've got no clue why.
i know that this is a lot to ask, but i'd REALLY appreciate the help, on any of these problems.
Last month,I did a clean install of Ubuntu Feisty Fawn on my home computer removing the "dapper drake". But it is only now, I got a chance to sit down and install all necessary packages to set up my development server again.
With Dapper Drake, I had to use alien to convert MySQL5 rpm to .deb, because there was no version 5 in the repositories. Anyway, Feisty has all newest versions of software.
This is what I did for setting up my development server:
For installing MySQL server I ran the command: sudo apt-get install mysql-server. Then I installed the following:
MySQL Administrator: It is a Graphical User Interface for administrating MySQL: sudo apt-get install mysql-admin
MySQL Query Browser is a GUI for managing databases: sudo apt-get install mysql-query-browser
Apache: sudo apt-get install apache2
Apache Manual: sudo apt-get install apache2-doc
PHP: sudo apt-get install php5
PHP module for Apache: sudo apt-get install libapache2-mod-php5
Enabling public_html directories for users
Well, I am the only user in my computer. But I can create and edit files without running sudo if I have a public_html directory at my home. sudo a2enmod userdir. I then restarted Apache and created a 'public_html' directory in my home. Now I can access it with http://localhost/~username/.
I'm having some problems with this page. I feel that the main problem is the navigation menu. The page looks great in FireFox but as soon as I tried IE the entire thing fell apart. I cannot seem to find the problem and it is driving me insane! Any help would be appreciated.
WordPress in its infinite wisdom consumes one dash ( - ) and converts the other when there are two consecutive dashes like this: --. The solution is to use - twice instead of dash. - is the HTML escape sequence for a dash or hyphen or minus sign.
This ASCII character is a generic, multipurpose [...]
I'm developing a little php script and am having problems with checkboxes. I'm doing all processing in one php file, and need to reprint the form with checkboxes checked if there are errors. I'm able to correctly pull which of the checkboxes were selected upon submission, but somehow when I print "checked=" (either true or false), they ALL get checked. The resulting HTML shows correctly, and I tested the HTML theory without the PHP so I'm thinking this is the correct way to do it, but it's not working and starting to tick me off...
ETA: So, it does work when I change it to print checked="checked" if true and nothing otherwise, but I'm still confused as to why my pure HTML (with checked true/false) worked and yet this code acts up. Maybe it was a problem on my HTML testing, but really, it worked...
This one here clearly isn't the most sophisticated php script (although its actual intention will have a real use), but I would like to know (a) what I'm doing wrong in this instance, and (b) how the rest of you usually handle forms and checkboxes.
I have a script that collects information from a form and sends it to my account. I formatted it with a nice "Thanks for your submission" message. It mostly is all fine, but I noticed today that a strange "! " has shown up in the email. Can anyone tell me why?
Project information Number of travelers: $numtravel Duration: $duration Budget: $budget Related project: $project
"; $purpose="
Purpose: $purpose
"; $itinerary="
Itinerary: $itinerary
"; $objectives="
Objectives: $objectives
";
$submitinfo="
We have received your BII Travel Support Application. Please also complete the http://biistate.net/files/TravelerInformation.doc\">Traveler Information form and send it to travel@biistate.net. Applications are reviewed every month. You will be notified by email of the results of your application.
The BII Review Committee"; $project=$datetext.$contactinfo.$projectinfo.$purpose.$itinerary.$objectives.$submitinfo; echo $project; mail ("email@email.com","Travel support request", "$project","From: $email\n"."MIME-Version: 1.0\n"."Content-type: text/html; charset=iso-8859-1");
This is what the paragraph from the email looks like: We have received your BII Travel Support Application. Please also complete the Traveler Information form and send it to email@email.com. Applications are reviewed every month. You will be notified by email of the results of your applicatio! n.
I have been composing HTML emails for a company I do work for through Constant Contact for a long time. Since I've embroiled myself in the world of HTML email, I'd like to be able to send them myself.
This has turned me onto the fact that very few email clients actually allow you to compose HTML email. Wikipedia tells me Thunderbird will let you, but bizarrely, whenever I try to download Thunderbird and open it, everything freezes and I have to force quit or force restart.
I'm on a Mac. A few Macs, actually. Primarily I'm using OS 10.3.9. Can anyone suggest an email client to me (or tell me what the heck is up with Thunderbird)?
I'm needing to create a paid-membership site. I know it's rare but does anyone know of a place where I can purchase such a package already pre-made?
Here's what I want. I want people to be able to buy subscriptions in order to view ALL of the content available on my site. Imagine a subscription for an online magazine.
I'm good with html and php (basically) but I'm just not familiar with how to go about creating this.
I'm also thinking of maybe hiring a freelancer from hireme.com
Suggestions on where to start looking to find what I'm looking for?
I know it's vague/confusing. I'm not horrible at web design, but what I do know doesn't go much beyond php (nuke, that kinda thing) and such. I've never done any paid subscription type things before.
I recently started to customize my journal. Since I am only a beginner where CSS is concerned, that doesn't prove easy. Although I did manage to do the main stuff already, I still need help with the details. So does anybody of you know how I can change the style of the tag-box? So tha my tags wouldn't be listed as a cloud anymore, but rather as a list (without the middots though!). I noticed that other journals display the tag box that way, so I guess there is a way. Also, how can I change the position of my journals title and the links ("Recent Entries", "Friends", etc.)? I'm going crazy over this, I'm trying stuff, but since I started just about five days ago, it's still a little confusing for me. I've been writing HTML for years, but somehow that's not the same.