Facebook Like
Hello every one... I'm developing a project for my friend and i've some queries... How to control facebook like page system.. Means the user will not able to login into his account after...
View ArticleDate, timezone problems after upgrading server to PHP 5.3.27
Hi all ! I need some help. I'm not a programer but I would like to solve problem with my website by myself. After upgrading PHP on server where is my web page ( www.osmrtnica.net ), i'm getting a lot...
View ArticleUnsure on some php code
I'm not a PHP programmer and I have very little experience with PHP in general. However, I've got some code that I believe comes from a php module file. I was wondering if anyone could either explain...
View ArticleHTML/PHP help needed
DISCLAIMER: this is my first time on this site, and I am a very beginning programmer still in high school, so please bear with any mistakes I might make. (if you have ANY advice or comments, feel free...
View Articlemysqli prepared statements help
Try though I might I cannot find a solution to this problem. When replacing ? with an actual value it works fine. Why can't I get bind_param to work with this? What am I doing wrong? Thanks....
View ArticleError: No input file specified when sending email
I have html a page that takes the email details and pass it to semail.php but whenever I try it this error appears No input file specified. This is the html form: <form method="POST"...
View ArticlePHP & Mysql wierd problem
Hello right now i'm kind of lost becuase i used db4free.net database and well it crashed but now its upp again on another server but the problem here is that the registration form wont send any data to...
View ArticlePHP coders help pls
Pls i need your help.i have a pxroject that am working on..i dont know if u can help me with the one time password.thus so that if a student tried to access his/her result,he needs to enter a pin and...
View ArticleBad Words filtering
PHPfreaks your script woks fine. However I would like to make a few modifications and apply it inside input fields, how do I do that? Lets say my input fields are as foolows: <input type='text'...
View Articlefile_exists with FILE_APPEND
I have this: $txt = file_get_contents("http://example?a=".$text); $file = "texts/".md5($text).".txt"; file_put_contents($file, $txt, FILE_APPEND); and everything is okay. Except when I access the file...
View ArticlePositioning element to top
I'm kind of noob to php. I'm using Wordpress 3.6.1 and I installed a plugin to show feeds from a FB page. The plugin is called 'FBF Facebook Page Feed'. I've added the shortcode to a page and it...
View ArticleMYSQL Query Result to Arrays
Hi... How do you insert MYSQL Query Result to Arrays $user = $_GET["user_name"]; $con=mysqli_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); if (mysqli_connect_errno()){ echo "Failed to connect to MySQL:...
View ArticleDeleting data from a table
<html> <head> <meta charset="iso-8859-1" /> <title> Hjem </title> </head> <body> <?php include 'config.php'; session_start();...
View ArticleSending mail
Hello i have a question, about how to fix this. I made this and i want to send it in mail but design is not showing up. this is how i want and what i receive. Here below the script i use....
View ArticleAlternate Captchas
Hi guys, first time posting! Im trying to come up with new captcha ideas, I'm considering having the form either have a checkbox or radio buttons that say "I am a human". Has anyone here tried this?...
View ArticleHow to detect URL extensions (like ?this=value) in PHP
Hello, right now, I am making a PHP page and I want to know how to make PHP detect what I call 'URL or domain extensions'. For example, if the URL is index.php?code=123 , The URL is 'index.php'...
View Articlephp search and results same page
Hello, I want to use a search script on my page that searches trough a database and shows the results on the same page. I did place it all in one page to test but when I open the page it shows the...
View ArticleOperators not working correctly...
I am having a problem getting a small snippet of code to work correctly.... Here is my code::: $pol = mysql_query("select * from lma_links where ( ON_SALE = 'Y' and SUB = '159' or SUB = '111' or SUB =...
View ArticleDisplaying random YouTube videos ...
Can someone assist with a code snippet that will randomly display YouTube videos using their embed code? <iframe width="560" height="315" src="//www.youtube.com/embed/bYI_aOyCn9Y" frameborder="0"...
View ArticleUpdate query with nl2br and preg_replace, something funny happening
So what I have is a Rich Text editor I made myself it all works great except when I submit the form. My assumption is that it has to do with either nl2br or preg_replace. I have made my own bbcode...
View Article