m1a2x3x7
-
Posts
17 -
Joined
-
Last visited
Never
Posts posted by m1a2x3x7
-
-
thats pretty nice. Not sure what your going to use it for. but i like it
-
I didn't see the first layout but this one is poor. Font alignment changes and so does the size throughout the site. Find a style and stick with it. Use use a sanserif font. Verdana is a very nice web font clean and easy to read, and keep it consistent. Your flash animation is weak too. The animation looks like its from the late 90s. If you're going to use a top nav don't use a side nav and vice versa.
just my .02
-
first thing i see when i go there is dontation...makes me want to turn around and walk out.
-
please post your code
-
you can use the html redirect
<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com">
put this in your head. The content is how many seconds you want before you are sent to that page.
-
"you cant share sessions across different domains and http - https make them different
why not drop the order details in the db before switching to https
you can get the last db_id and append it to the checkout link then perform a $_GET['db_id'] to catch the id in the https page. Then use the id to query the db and retrieve the order details"
a good programming friend told me this
-
I'm still working on it give me sometime
-
It is pretty simple hand over from http to https and maintain the session. Here's an example:
<?php
session_start();
if(@!$_SERVER['HTTPS']){ // Non - SSL session here
$_SESSION['test'] = 'This was set in the non-SSL part of the session!';
header('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].'?PHPSESSID='.session_id());
exit;
}
echo $_SESSION['test']; // Now we are in a secure session
?>
-
make sure your ms host supports php
-
ok 1 it you dont need two different if statements you can do a if else but ill let you run with this.
instead of if(empty($photo['image_name'])){ try if($photoCount = 0){
-
My main browser is FireFox, although I use that as well as IE and Opera when testing web development projects, especially because IE tends to do weird stuff with my CSS. Typically I write my CSS for FireFox and then go back and try to make it compatible for IE, while making it still work in FF. AAAAAAAAARRRGG!!!!
Maybe one day someone will either make and follow STRICT standards for web browsers, or just create a universal browser.
you pretty much need to create 2 css one specifically for IE
-M
-
a couple of things. I'm just looking at the main page.
At work I use a Mac so this might be just a browser conflict but as web designers this is something important and should be taken care of. Again I'm on a Mac using FireFox.
1. Your navigation bar disappears when I rollover "Our Products" also the navigation bar should be the same length of the banner.
2. Your "search by application" box jumps when you rollover "Mechanical Connections" because connections is dropping to another line.
3. The image under "Quick Product Selector" drops on top of the "NEW Product - Soldering Iron Maintenance Kits" box
4. Add a footer
other than that nice site.
-M
-
you server is only allowing you to add an image at a certain size you don't have to "flush it out" you need to do what lemmin said. next to your upload file input box add <input type="hidden" name="MAX_FILE_SIZE" value="100000"> the value (10000) is what sets the amount of bytes you can upload to the server. If the value is set at 100000 then you can only upload an image at no greater then that size. It's kind of like a safety feature so they don't max out your server space or add a virus.
-
ok the form submits right? but you get it as plain text?
ok
I believe in order to send it as a HTML format you'll need to store it on the server so in a database then have the page sent and request the data from the database depending on the email address. I think it would be kinda complicating so if you don't have much experience with php you should stick with a text file
-
are you requesting this page once the form is submitted? or is the form included on the php page?
-
a couple of things
1. lose the array_key_exists and use if (isset ($_POST['submit'])) {
2. lose the $mailSent = just use mail($to, $subject, $message);
3. you have $comment =$_POST['comment']; but your textarea id is comments
4. use action="<?php echo $_SERVER['PHP_SELF']; ?>" for your form
should work
Updating Multiple Rows at once
in PHP Coding Help
Posted
Hey guys,
A client of mine would like to be able to turn on and off zip codes for certain states. So on the admin side of things I have two radio buttons on and off one has a value of 1 on the other has a value of off. I want them to be able to set all the zip codes to on and off at one time with one submit.
I have everything working except for multiple zip code changes it will only update the first one.
Here is my code.
and here what it looks like right now.
http://www.schultzstudio.com/freelance/index.php
I'm pretty sure I need to use an array but I can say I've really experimented with them so any help would be great.