-5
votes
0answers
45 views

I've spent a month without washing, shaving or leaving my office [closed]

Can you please look over http://www.interimspaces.co.uk and tell me what you think. specifically - problems and feedback. THank you
1
vote
1answer
45 views

PHP: Random imgur image loader

Just a little thing I made to load 20 random images from imgur. I looked at the way that imgur references images on its site, and I felt like I could probably generate a random string of letters and ...
2
votes
1answer
96 views

I need someone to check this out to improve it

Takes a name, 2 images and a birthday for an artist, uploads images and insert info into MySQL, I seem to be missing something and I'm looking to see if i'm following best practice. <?php ...
3
votes
1answer
49 views

Have I missed some obvious XSS vulnerabilities?

As the question states: have I missed some obvious security vulnerabilities in this code? Particularly interested in XSS... I'm trying to create something more robust that strip_tags, but simpler ...
-3
votes
0answers
33 views

need help to create a invoice ordering system [closed]

I'm developping a invoice system and need some help. I'll paste my code below, the form is working at about 90% of what I needed. I need help mainly to clean up the code (it's mixing html, javascript ...
1
vote
2answers
80 views

Assist cleaning up messy HTML/PHP code

I really hate messy code, but I seem to be rolling in it. I just want to see if anyone has some helpful advice on how to tidy this up. <table> <tbody> <tr> <th>Zona</th> ...
4
votes
1answer
63 views

Create a table from MySQL using PHP PDO

I am trying to simply present a table in HTML that is stored in a MySQL database. I would like to use Object Oriented PHP to access and fetch the data for the table. I have spent some time learning ...
3
votes
1answer
93 views

Optimizing PHP script fetching entire HTML pages

The following script should get links which are stored in a text file (line by line), then put them into an array and finally scan each links' source code for a certain line. If this line is found, it ...
2
votes
1answer
112 views

Proper conventions in PHP - admin page example

I'm learning php. I've designed the basics of an admin page i'd like to use for a small web site. I'd like to know if I'm using the language properly. Please rip apart the code and tell me where I ...
-1
votes
1answer
50 views

Optimisation for random generator code in PHP [closed]

I'm really confused about combining MySQL queries and please could you lend me a hand? Please explain in simple English. The code is: $result1 = mysql_fetch_assoc(mysql_query("SELECT COUNT( * ) ...
2
votes
1answer
67 views

I've embedded several PHP/HTML/Javascript in one page. How can I improve on the efficiency/performance?

Just a quick preface, I'm not a web developer. I'm simply doing this as a favor for a friend. My goal is to be done with it as quickly as possible, but still not have the coding be horrendous. With ...
1
vote
1answer
67 views

Suggestions for improvement of HTML table building function

User specification "var_dump($GLOBALS) is ugly as ... without wamp" General specification Produce a PHP function to display the contents of $GLOABLS in a user-friendly manner Must produce ...
3
votes
2answers
146 views

PHP Template Engine

I have been working on a php driven template engine. This is fairly light weight, and fast from all of my testing, but I was hoping to get some feed back on it. First I would like to show you an ...
3
votes
2answers
153 views

HIDING $_GET VARIABLES USING ENCRYPTION

I use the following functions to encrypt my $_GET variables (whenever I can't easily get away with using $_POST or some other way of passing information between pages. function decryptStringArray ...
-2
votes
2answers
93 views

How do I refactor (DRY) this code? [closed]

I was hoping somebody could help me refactor my Javascript. Due to it's length (500 or so lines) I don't want to post it here. But check it out here on pastebin to let me know how I can improve it ...

1 2 3
15 30 50 per page