
Aurora078
Members-
Posts
103 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Aurora078
-
this is mainly what i used.. RewriteEngine on RewriteRule ([0-9a-zA-Z])\.png$ /images/?id=$1 and of course the image is fetched by the id of user, and some other variables all mixed up for reasons.
-
THe hash isnt really what im trying to say. Im just saying how would i get the image to come out at .png instead of .php ? so i could access it like image.png instead of images.php?image=theimage
-
I'm using GD to re-create an image from a url. The only problem is instead of serving the image from blah.php?id=imgid, i want to serve it from md5'd id-picname.png . How can this be accomplished?
-
Yeah acers arent very bad. Macs arent so good though. As far as quitting web dev, youll make more money and possibly have fun with graphics and video editing than you would doing web dev. If your really interested in all of that though, you can learn C and stuff like that. Make some software, ya kno, thats money right there if its useful.
-
Thank you(:. It works fine. I had to make a few adjustments for my structure, but you did most of the things i couldnt think of to do.
-
+1 even tho there isnt one. Its nice to see someone that doesnt take advantage of inexperienced coders. Ive met some people that would charge 5 dollars to fix one easy error on a script
-
Do you have any scripts that you just cant seem to find the error in? or maybe your new to php/mysql and have trouble fixing certain things? Well, i can help. I'll be doing around 3-5 requests a day, so if you have a script you need fixed just IM me on msn or something.. [email protected]. -Peace, Amy(:
-
Its an extremely small project, but i cant do it because i dont have photoshop on me, and im not good with GIMP. I need 2 shadows. One at the left, and one at the right. I need them both to be 25px each, and the entire image 950px. If anyone can do that it'd be nice.
-
Ok, so i did mod_rewrite. Anyway, i can't figure out how im going to make this function for it.. Basically its a function ill use for all my links i output, so if i ever want to change the rewrite, i can just edit a function and they all fix. Anyone have something similar or can help?
-
I'm trying to figure out how to use mod_rewrite to understand any queries that come, instead of writing new rules for every amount of queries,. Is it possible?
-
I'm rewriting my urls to make them look more clean. Should i use: RewriteRule (.*)\/(.*),(.*) $1.php?1=$2&2=$3 //Which would look like [url]http://blah.com/page/var1,var2[/url] or RewriteRule (.*)-(.*)-(.*) $1.php?1=$2&2=$3 //Which would like like [url]http://blah.com/page-var1-var2[/url] etc. If you don't suggest either of them, just reply with the end result of the url "http://example.com/whatever it should look like. Thanks, -Amanda
-
This is extremely simple, but i decided to give it out as it may be useful to some that are either looking for using actions for pages, or simply have a layout that demands a name for the page headers.. $pages = array('inbox' => 'Your Inbox', 'outbox' => 'Your Outbox', 'settings' => 'Your Settings'); foreach($pages as $action => $output){ if($_GET['action'] == $action){ $function = 'mail_'.$action; //Appends mail_ to the function name. echo '<h3>'.$output.'</h3> '; //Writes the page name for the specific page. if(function_exists($function)){ $function(); } } } I made it for my mail mod im making. I didnt want to go through and have to do every single echo to add lines, plus this also will give an error if the action isnt given or if the action doesnt exist in the array. Also, you may want to take off the mail_ from the function name and add something else, or just get rid of it. If you do want to have a simple appended thing to the function name, just remember to add that in front of the actual function's name. Unfortunately, I cannot remember a function that lets you use "as" besides foreach..
-
Just want some comments on this. I made a small array for the page names, $pages = array('inbox' => 'Inbox'); foreach($pages as $input => $output){ if($_GET['action'] == $input){ echo '<h3>[b]'.$output.'[/b]</h3> '; } else { echo '<h3>[b]Mailbox[/b]</h3> '; } } Would that be useful to you guys or would you prefer the old way?
-
Actually, There are probably about 5 Bounty/Hitlists floating around, but this bloody search is all messed up, so you wont find them. and i guess it would depend who the tea-bagger was.
-
Is it possible to POST, and then still get a response back? If so can you please just post a little snippet of how it would work. Thanks(:
-
Lock as in being able to go to the settings page and lock your inbox from recieving any mails? If so then good idea i may add it. @Paddy Green: Well, i was thinking of using divs for the mailbox. For the main inbox, a div container ( holds all the children divs ), any new mails from users the particular mail div is green, unread is red, and any mail from staff would be blue. As far as graphics go, I'm not really good at them. I'm sure i could figure out some web 2.0 but thats about it.Oh and i'm using jQuery for most of the JS, so i will make sure that when you delete mails, you stay on the same page, but the particular mail slowly fades out. and im using the idea of a other mailbox, in which you have two different pages, one shows the mails, and then one function shows the mail when you want to read. I was thinking also instead of re-creating images with GD, that i'll do an external link system, so if they want to view any images, they have to do it on another site, which i believe would have no effect on their game profiles if, indeed, someone was trying to do something with it.
-
Well, Heres my idea: 3 Mail(s) before captcha Fed Jail if they fail the captcha ( Due to botting ). Fail 3 times*
-
Well, Heres my idea: 3 Mail(s) before captcha Fed Jail if they fail the captcha ( Due to botting ).
-
Well, for spammers i could use a Captcha or something.
-
Yes, for anyone who ever had problems with their huge NTFS HDD's and were led to believe that fat32 cant hold more than 32gigs, your problem is solved. FAT32 can actually hold up to about 2TB( Terabytes aka Mr. 1k). People were led to this due to Windows 2000 and XP only formatting 32gigs or less into FAT32. Windows 98 has some restriction around 140gigs, but thats also their file system. Also... I hope I get to see a Zettabyte Hard Drive in my life time, i believe its the equivalent of 1 Trillion Gigs. Thats about the size of the entire internet right noww... Also i heard of Yottabytes, and Geopbytes, and all these other random ones that we probably wont see in our life time. However i heard they the new Petabyte or w/e how you spell are comming out in 2011. Thats a good 1000 TB right there i believe. Imagine what you could do with 1000 Terabytes lol... I don't think one single person could actually find that much stuff to put on it in one lifetime.
-
Well, the view user didn't go so well. But now im making a mailbox modification. Here are the features: New Settings page. Ignore feature built-in Display Pic in mails POSSIBLE: Limit to how many mails they can have at one time, to save space in your mail table. POSSIBLE: 9 different themes to choose from. JS/Ajax functionality for a few things to make it more interactive. Nothing else planned so far, feel free to suggest. So, I'm going to be releasing it free, and i give credit to anyones ideas i use, so yeah(:.
-
Basically caching is a way to improve your sites loading time. Try this site for a detailed explanation: http://www.mnot.net/cache_docs/
-
Eh, true. Either way its a free mod, and it works, so thats good enough.
-
Because not everyone has secured their mail from executing things like javascript, and that'll atleast help a bit. Its not gonna fix the whole thing, but it helps
-
I understand how to convert the RR, GG, BB values into hexidecimal, i just cba to write about the colors they bring. First, take RR for example: RR=50. 50 / 16 = 3.125 = 3 ( which based on the 16 possible outcomes of hex, is actually 4 ) Now we take the remainder, .125 in this case...: .125 x 16 = 2 (which is 3 in hex), so for a RR of 50, you would get #43. Then you just do it for all the other values and come up with the color.