Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #864
~13.2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for simirnov

Hi All, I am a beginner in php and working on admin side of a small website. I have attached a PHP CKEDITOR to the admin page so that the admin may edit the pages text. Here, i am a bit confused about one thing and that is about how …

Member Avatar for Qaalid
0
2K
Member Avatar for avocado_juice

Hello, I want to ask.. I have a website which is fine to be opened using any other browsers except IE7. In IE7, some of the functions do not work well. I tried using IE8 and it worked fine. Anybody knows the solution? Thank you

Member Avatar for almostbob
0
244
Member Avatar for jacob21

Hello friends, I am new in php.I need your help in sending sms through HTTP. Could you suggest me what to do?

Member Avatar for mbarandao
-1
134
Member Avatar for public-image

Hi there :) I am doing a login log script and at first I didn't record the timestamp unlike all my newer logs, I was wondering is there a way to turn the date d/m/Y (15/02/2011) turned into a timestamp? I would appreciate any help given Thank you in advance!

Member Avatar for diafol
0
84
Member Avatar for TJJamal

[CODE=PHP] $query = "SELECT * FROM VISITOR"; if($result = $VISITOR->query($query, SQLITE_BOTH, $error)) [/CODE] Fatal error: Call to a member function query() on a non-object in ...file path. I keep getting this error. Can anyone help? Thanks

Member Avatar for TJJamal
0
110
Member Avatar for aitha

Hi, I am trying to write a .htaccess script that can redirect example.com to example.com/subdomain. This is my code but it's not working. Can you please suggest. RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC] RewriteRule ^(.*)$ [url]http://www.example.com/subdomain/[/url] [R=301,L] Thanks in advance

Member Avatar for Borzoi
0
119
Member Avatar for rokape

Hi Guys, As the title says really... Sounds simple, it is. But....! I'm dealing with huge numbers here. I'm dragging bandwidth from a logging system I am developing for a client and it returns it in BYTES... Very accurate :| This is the sort of number I'm dealing with here... …

Member Avatar for rokape
0
2K
Member Avatar for arthurav

I have a database of questions for some tests. They will be uploaded on a website so that the users can browse them but I would like to make it hard for the users to copy them. I am using php to interface with the database. I have thought of …

Member Avatar for quasipickle
0
107
Member Avatar for Stefano Mtangoo

Hi, I know this is not PHP issue but we here writes a lot of database SQL querries so I hope for a help. I have a bible script that is supposed to query the scriptures between two intervals. My table is named Bible and have columns: ID (int), Book …

Member Avatar for Stefano Mtangoo
0
361
Member Avatar for vaibhav1983

Hi All, I want to integrate a What you see is what you get editor for my website. I understand that the editor can be the one as I can see I am typing in. How do I store data in database so that when I retreive the data from …

Member Avatar for quasipickle
0
160
Member Avatar for mbarandao

I'm wondering if it is possible to skip certain fields in the mysql table in a sql statement. Here is what I mean: I have a table that has the following columns: firstname lastname phone dob Suppose I write the following statement: $[CODE]mysql_query=("insert db_table (firstname, lastname, phone) VALUES ('$firstname' ,'$lastname', …

Member Avatar for mbarandao
0
185
Member Avatar for mbarandao

Hello: I have the following challenge I need assistance with. I have a mysql table [CODE] -- phpMyAdmin SQL Dump -- version 3.3.3 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Dec 01, 2010 at 01:22 PM -- Server version: 5.1.48 -- PHP Version: 5.2.13 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; /*!40101 SET …

Member Avatar for mbarandao
0
134
Member Avatar for vishalkhialani

Hi, Below is the data format which I am passing to php via javascript in json format. [CODE] {"name":"Secret","value": "checked","name":"OldSpice","value": "unchecked","name":"Degree","value": "unchecked","name":"Dove","value": "unchecked","name":"Axe","value": "unchecked","name":"Maxim","value": "unchecked","name":"Nivea","value": "unchecked",}[/CODE] I can access the data successfully using the code [CODE]echo $_POST['name'];[/CODE] I want to convert it to an array. I tried to use json_decode() …

Member Avatar for vishalkhialani
0
286
Member Avatar for kavkazi

-------------------------------------------------------------------------------- I am trying to create a madlibs game .. I have a txt file with paragraphs in it .. Some of the sentences have the following tags in it <#noun>, or <#verb>, etc ... I need to parse the file in php and display the content in between the …

Member Avatar for kavkazi
0
567
Member Avatar for Sorcher

Can someone help me insert a "white list" in this code? i already have a black list in it but thats pretty stupid when i only want these extensions; 'jpg', 'gif', 'png', 'bmp', '2bp', 'abm', 'afx', 'apd', 'art', 'arw', 'avatar', 'bm2', 'bmc', 'bmf', 'cal', 'cals', 'cam', 'can', 'cd5', 'cdg', 'cdg', …

Member Avatar for cossay
0
161
Member Avatar for lifeworks

Hi Ive written my own MVC framework, which uses the mod_rewrite apache tool... first part of the url is the controller and second part is the 'action'... some of my controllers have functionality which is publicly available, and other functionality which i want to restrict to logged in users... i …

Member Avatar for quasipickle
0
433
Member Avatar for choosenalpha

Hello All, I have went through my code and checked for any whitespace or blank spaces and also missing closing marks and etc. But the error message clearly states that it is initiated at line 8 of my php code. Is it my echo in the code? Can someone please …

Member Avatar for choosenalpha
0
247
Member Avatar for mrickert

I'm reading in a file's contents as a string. From this string, I want to get a substring. All I know is the text that is beginning of the substring and the end ot the substring, I do not know what is contained in the string between the beginning and …

Member Avatar for quasipickle
0
81
Member Avatar for iammirko

Hi, I recently bought a domain. As usual, the domain provider has given email accounts facility. The problem is that, I can access the email accounts only through the webmail address provided by the domain registrar (which has a pathetic interface) or through POP based email clients like outlook. Is …

Member Avatar for iammirko
0
142
Member Avatar for Kniggles

anyone know how to make the colour text box w2 change to a random colour when button clicked please ? [CODE] </html> <FORM NAME = frmOne> StartA X: <INPUT TYPE = Text NAME = x SIZE = 5 value ="0"> Two B Y: <INPUT TYPE = Text NAME = y …

Member Avatar for ko ko
0
191
Member Avatar for HelenLF

Is it possible to make the first letter of every word uppercase unless it is one of a group of words? I have to get some data from a database and present it on a page as a menu. The format would be that all words would start with a …

Member Avatar for quasipickle
0
80
Member Avatar for showman13

I have a question that I can't seem to find a satisfactory answer to by searching the site, and I'm not entirely sure I am searching with the correct keywords. Anyway, here goes. I am working on a free membership script, and would like to use the members username as …

Member Avatar for showman13
0
184
Member Avatar for jamesyrawr

can anyone help me out with these errors i'm getting please? and if they can explain why im getting them and how i can avoid them in future thanks :) Notice: Undefined index: prod_name in C:\wamp\www\uniwork\update_database.php on line 17 Notice: Undefined index: prod_price in C:\wamp\www\uniwork\update_database.php on line 24 Notice: Undefined …

Member Avatar for jkon
0
165
Member Avatar for ceeandcee

Good Afternoon, I am looking to create a page where I can enter data into a form and use INSERT to enter into the database. In the code example below, I have shown only 3 fields, but my page will have 13 fields and I want to designate 8 of …

Member Avatar for epicrevolt
0
138
Member Avatar for gptArun

Hi there, I used code to fetch email address record from table abc on server but shows " Access denied for user 'mysqluser'@'serverip' (using password: YES) " [code] /********code ********/ <?php include "connection.php"; $tableName = 'abc'; $todayDate=date("m-d-Y H:i"); $backupFile = '../backup/abc_'.$todayDate.'.csv'; $query = "SELECT email_address INTO OUTFILE ".$backupFile." FIELDS TERMINATED …

Member Avatar for gptArun
0
392
Member Avatar for MDanz

[code]foreach ($items as $product ) { echo $product; ?><input type="text" size="2" value="<?php \\display quantity here ?>" name="quantity" /><?php }[/code] $items is an array. It has multiple values, some duplicate. How do i count the duplicate values in the array and display in this foreach loop? i know array_count_values($product) but putting …

Member Avatar for cwarn23
0
240
Member Avatar for P0lT10n

Hello people. I was reading severals scripts, and I saw, all the time, that they used %s... What is the application of that ??? Becuase I'm searching about that and I don't find anything about it ! I know that it's about injection codes... Can anyone give me a web …

Member Avatar for mschroeder
0
135
Member Avatar for spideyprasad

I created a php page. this is my code. [CODE]$con=mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $sql = mysql_query("SELECT * FROM $tbl_name WHERE (Order = '" . $_POST['order'] . "')") or die(mysql_error());[/CODE] But its showing error like this You have an error in your SQL syntax; check the …

Member Avatar for monica singh
0
128
Member Avatar for joshisumitnet

Dear Friends, I am following the bestuff.com's active member session. I am doing the following thing... 1. when user logs in, I update my database's field with value 'O' (means user is logged in and fires query which has flag value 'O') But the problem is how to check user's …

Member Avatar for joshisumitnet
0
371
Member Avatar for ReMoN SaMiR

Hello, Few days ago I was searching online for a way to create a PHP forum though which the visitors can leave their messages and to automatically appear on the page. I found the a code and I used it to create the PHP form, but unfortunately I discovered the …

Member Avatar for ReMoN SaMiR
0
198