cmgmyr
Members-
Posts
1,278 -
Joined
-
Last visited
Never
Everything posted by cmgmyr
-
I don't think the suggestions were intended to point you to a "blog look" but rather to recommend you read up on the workings of a blog, since what you describe is almost identical in scope to what a blog does. Yes, you want it to be customized, but the principle of posting comments and content is very blog-like in nature. If you get a feel for how the blog structure works, you'll be well on your way to being able to develop the site you're after. ...correct
-
[SOLVED] PHP / MySql Website from scratch!
cmgmyr replied to igor berger's topic in Website Critique
If you have that many pages, why would you hard code it on each page? You should have used a "template" system like in dreamweaver or used a php include for the links. Then you just have to edit one page and not 25,000+. -
let me see if I can iron this out... if you view source on an html page you will see <html><body> and so on... in a server side script the ACTUAL code would be say include "header.php"; and header.php would be <html><body> and so on... SO when someone views a source of a php page they see <html><body> and so on... and NOT include "header.php"; hope that makes sense.
-
well the problem would be with the php not the javascript. So you should change the ini_set and maybe put a message saying "please wait...this might take a while" or something like that. You can also get javascript to do that on the wait state.
-
do you have any code to show?
-
1. brochure (static) type site - it doesn't matter if people see the source code...it doesn't have anything "valuable" in it 2. dynamic/secure sites - server side scripts don't allow you to see the source of the actual code...only the output, plus server side is a lot more flexible 3. a simple site with a few dynamic elements. like an informational site with a news section. - All of their main sections stay the same but the client just wants to change one page. is this what you were looking for?
-
[SOLVED] PHP / MySql Website from scratch!
cmgmyr replied to igor berger's topic in Website Critique
instead of having that long link list on the left, maybe you can look into using a chained select for choices OR Just put the link section titles as links, then when you click that it takes them to the next page with more choices. But you really shouldn't keep the long list as is. -
I'm sure you can find a decent blog tutorial online. All you would have to do is alter it slightly to accept multiple users and having the admin approve new posts. good luck
-
ALTER TABLE your_table AUTO_INCREMENT = 1
-
no problem
-
you can start by serching "wiki" or "blog" and php/mysql I'm sure you will come up with TONS of tutorials
-
Why would you want to change a user's unique iD? Another way you can do this is to load the query into an array, clear the table, and re-enter the data into the clean table.
-
2 1/2 hours away from me. I'm in Syracuse
-
How about a pic too?
-
I hardly ever have time to watch TV. So maybe on a good week it would be 1-5 hrs/week.
-
Better SEO, more content, and more sites linking to yours will help you out.
-
Take a look at this: http://www.unixwiz.net/techtips/sql-injection.html you would be better off storing the username and/or userid in a session (or something) then running a query from that after they are signed in.
-
yes, that is the only thing that i'm looking for...the physical storage of the images. All of the images will be in a database. Thanks for all of the input so far.
-
It's not really a bad thing. I just thought that dividing it up might help performace a little bit...but maybe not. I also generate a new image name when they upload, this is a unique 16 char name.
-
*bump* anyone?
-
Displaying different interfaces for different users on the same page
cmgmyr replied to bachx's topic in PHP Coding Help
You can also include/forward them to a different page: if ($array['user_type'] == "0") { include "user.php"; } else if ($array['user_type'] == "1") { include "admin.php"; } -
if you go into a table (structure) you can use the buttons on the left of each column to set them as different indexes
-
phpMyAdmin is a great tool, you should check it out
-
The 6000 is on the compatability list here #9 down and go with SATA hard drives
-
I only see one problem with your page... ...You need MORE pics of her! damn she's hot haha. Lightbox looks good too...