Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~15.0K People Reached
Favorite Tags

20 Posted Topics

Member Avatar for FreddieBambino

Right. Im trying to communicate with the expedia travel API, exchanging xml feed with them. It goes somehow like this: I send them info of the query I want, they send me the query back in xml form. Here is an example of a query I would want to send …

Member Avatar for FreddieBambino
0
228
Member Avatar for FreddieBambino

Hi guys. Im not really capable of programming much in javascript but if you guys can guide me a bit here, that would be great. I get this problem alot with Internet explorer, I have a file with table design, and I have expander/collapse button to show and hide the …

0
90
Member Avatar for mrnutty

Weather Jesus existed or not is irrelivent to the question of God. I can start claiming now I am the son of God, and then 500 years from now, my followers would start referencing news articles and so on about my existence, this my followers would obviously use to claim …

Member Avatar for Member #46692
2
1K
Member Avatar for VengefulWrath

Why the cookie thing? Why not just Form that sends post username and password. Then make variable of username and password with trimming and stripping tags for exampe: $username = strip_tags(trim($_POST['username'])); Then check if there are dangerous characters, for example make sure that only alphanumeric letters: if(!ctype_alnum($username)){ $deny_access = TRUE; …

Member Avatar for Member #120589
0
270
Member Avatar for kolibrizas

I built a "form generator" to speed up making forms with alot of fields. The way I programmed it is that I open a page on my server with all 50 rows of input. In each row I decide what text I want beside the input field, what kind of …

Member Avatar for Member #46692
0
393
Member Avatar for calebcook

Have you tried commenting out the mail function and echo out the emails instead to see if you are actually getting any results from the mysql query? Also echo "Hello World" inside the while loop to see if the code is going in there. If the query is working ok …

Member Avatar for minitauros
0
185
Member Avatar for Aamit

Dont know if this is what you are looking for, I see you have thumbnail of a calender in your question, but I programmed a small calendar one time and you can use it if you like: [CODE]function determine_next_months(&$month, &$year){ if($month == 1){ $prev_month = 12; $next_month = 2; $prev_year …

Member Avatar for urtrivedi
0
9K
Member Avatar for yongj

Dynamic table in what sense, do you mean rows or columns or both? For example: [CODE]<?php $db = insert your database credentials here. query = ("select mommy, daddy, sister, brother from table"); $result = $db -> query($query); $counter = $result -> num_rows; if($counter > 0){ echo "<table>"; for($i = 0; …

Member Avatar for FreddieBambino
0
2K
Member Avatar for jatpatel1

If above fails, try this: [CODE] function rcarriage($string){ $string = str_replace("\n","\n<br>", $string); return $string; }[/CODE]

Member Avatar for urtrivedi
0
94
Member Avatar for lokodomain

see this page about real_escape_string() function before you publish the login page since your login form is vulnerable to sql injection. [url]http://is.php.net/manual/en/function.mysql-real-escape-string.php[/url] If you publish your login page like this a hacker can easily drop your database(if the connection has the privilage for it) and if the connection only allows …

Member Avatar for jogesh_p
0
198
Member Avatar for RazorRamon

You dont need to create a chatroom table everytime there is new chat launched. Ive never programmed a chatroom but I would guess the database would rather be two tables. 1st table for a chats with columsn for example: "id, created_by, launched, chat_title". 2nd table is all the comments with …

Member Avatar for FreddieBambino
0
187
Member Avatar for sarz87

Keeping it simple. Add columns to the table which you store your users, columns could be for example child1, child2, child3 etc. Create another table for children with columns for example idnumber(auto increment primary), name, age, eye color, bla bla. Then when user registers, you send the information about each …

Member Avatar for karthik_ppts
0
156
Member Avatar for yongj

It seems you forgot session_start(); You always need to include this on the VERY TOP of your page to use sessions.

Member Avatar for FreddieBambino
0
144
Member Avatar for DarkBerzerk

There are serious security vulnerabilities in your code, both regards to sql injection and cross side scripting attacks. for example: print "<font color=red>{$_GET['nextstep'] Here you are printing out raw data coming from user, for example javascript cookie script. $qo=$db->query("SELECT i.* FROM items i WHERE i.itmid={$_GET['wepid']}"); again working with raw data …

Member Avatar for FreddieBambino
0
192
Member Avatar for FreddieBambino

Right. Im styling my html forms and I have the effects on them exactly like I want. My main problem is that I dont want these effects to take effect on all forms. I have hover over effect on the text input fields. The thing is I have some forms …

Member Avatar for FreddieBambino
0
79
Member Avatar for FreddieBambino

Hi. I was wondering, is there any way for php to automatically check if links are valid. For example, lets say I have 10 links and I want a cronjob to check if they are valid or not, and if they are invalid I would throw a query statement to …

Member Avatar for FreddieBambino
0
155
Member Avatar for Mi-Dia

[QUOTE=Mi-Dia;1409226]Anyone. I basically want to make it so I have 1 template file per page, and make a function to repeat a certain bit for rows or posts ect. So I need a function where it can look at a string, find the html between the html comments then return …

Member Avatar for Mi-Dia
0
127
Member Avatar for FreddieBambino

Right. Im a php developer and I have never taken the time to study Javascript, and it always gives me a hard time. I have a drop down menu with 2 options. The default option is just Choose Payment. If I go to credit card, then nothing is supposed to …

Member Avatar for hielo
0
117
Member Avatar for FreddieBambino

Hi. For some reason the real_escape_string is not working. Here is a function that doesnt seem to work. function add_mail(){ $host = ""; $user = ""; $pass = ""; $database = ""; //this function assigns correct values to the variables to access the database. get_variables_db2($host, $user, $pass, $database); $db = …

Member Avatar for FreddieBambino
0
102
Member Avatar for FreddieBambino

Ok, I have been searching everywhere for solutions for charset problems I have. I have php website and backend Mysql database. In some fields I need to put in letters from the Greek alphabet. If I use a form to send info to the database and type in Greek letters, …

Member Avatar for colweb
0
268

The End.