39,392 Topics

Member Avatar for
Member Avatar for spyros.lois

hello i try this form and script _____________________________________________________ <form action="insert.php" method="REQUEST">backend - insert new record<br> id: <input type="number" name="id"><br> manufacturer: <input type="text" name="manufacturer"><br> transferrate: <input type="text" name="transferrate"><br> cache: <input type="text" name="cache"><br> size: <input type="text" name="size"><br> RPM: <input type="text" name="RPM"><br> use: <input type="text" name="use"><br> price: <input type="text" name="price"><br> seller: <input type="text" …

Member Avatar for mmcdonald
-1
173
Member Avatar for mhd_arif123

Hi there ! The code(in model) given below generates the list structure: function getNavigation($parent_id = 0, $show_product = 0, $flg = 0 ){ $query = $this->db->get_where('categories', array('parent_id' => $parent_id)); //var_dump($query->result()); //exit; if($query->num_rows() ){ $this->navigation .= '<ul id="browser" class="filetree">'; foreach($query->result() as $v){ $this->navigation .= '<li> <span class="folder">'; if($flg) { if($v->categories_id == …

Member Avatar for diafol
0
1K
Member Avatar for dlaverick

I am running a custom query for my recent posts, code can bee seen at: http://pastebin.com/CFZdP3c9 This code is just for my recent posts, not the actual page content. My problem is that it shows my current page post item and I cannot figure out how to pass over it. …

Member Avatar for diafol
0
308
Member Avatar for kantigniter

I’m pretty much new to codeigniter and PHP. I need help with insertion of data in the db from multiple clone form fields(not using implode, I have used implode and managed to push data which I will post here), this from clone form fields(If I click add, it should display …

Member Avatar for renierdbruyn
0
2K
Member Avatar for Tinnin

Just a curiosity really. I can't find a reason for it anywhere. Why doesn't php mail() mailto allow you to use a semicolon to separate the email addresses?

Member Avatar for cereal
0
925
Member Avatar for Dani

We use `date_default_timezone_set('GMT');` and, subsequently, all timestamps are stored in our database in GMT format. Each individual community member specifies their GMT offset from a dropdown menu in their profile. Then, when we display the timestamps, we add the GMT offset to the timestamp while pretty printing it. The problem …

Member Avatar for pritaeas
0
137
Member Avatar for veledrom

Hi, I got "Fatal error: Call to undefined function printer_open() in C:\wamp\www\TEST\printer\index.php on line 3" when I run code below. [CODE]<?php $printer = "\\\\lukaka\\hp LaserJet 1320"; if($ph = printer_open($printer)) { // Get file contents $fh = fopen("testfile.txt", "rb"); $content = fread($fh, filesize("testfile.txt")); fclose($fh); // Set print mode to RAW and …

Member Avatar for crazy_chanaka
0
2K
Member Avatar for dbalas

Hi! I need help with bulk export of files from database to folder. I have upgraded a system that i made and now instead of storing files to database i store it in folder and save path to database. Now i have a problem because there are around 1500 parts …

Member Avatar for dbalas
0
264
Member Avatar for spothao

I am doing a project using the windows azure mobile service, and i want to implement it on php page, is it possible to make it on php page instead of html? because on the tutorial only have html and they are using other localhost as well Help!!!

Member Avatar for veedeoo
0
372
Member Avatar for cgull

Hello, I need help with htaccess and a sub domain. I have a site I developed with ci 2.1.3 My folders structure is: c:\sites\mysite c:\sites\mysite\application c:\sites\mysite\system c:\sites\mysite\public_html\index.php c:\sites\mysite\public_html\assets In the public_html folder I have the htaccess file: RewriteEngine On RewriteCond $1 !^(index\.php|assets|images|robots\.txt|captcha) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ …

Member Avatar for cereal
0
726
Member Avatar for numan.nomi.7186_1

I want to know the code for file handling function write(). Its should add a text in file from user input and shoe it to the screen in new window.Kindly if any one know the code reply here its urgent. Thanks.

Member Avatar for ryantroop
0
213
Member Avatar for renierdbruyn

Hi there, I am developing a site for a recruitment agency, and I have now come to the point where I need to develop a ranking system of some kind to pull the best candidates for a particular job out of the database and display it or notify the candidates …

Member Avatar for renierdbruyn
0
512
Member Avatar for judas princess

i have created a database with username,age,contact,email.now i want a column in which we can show whether the user is active or not.what sholud we do?if we create a column named as status,what sholud be type of column?boolean or binary or something else...??? i am using php to edit delete …

Member Avatar for pritaeas
0
232
Member Avatar for Shikha_1

* how to set random string that refresh after every 5 min itself without reloading the webpage in php ?

Member Avatar for diafol
0
156
Member Avatar for Shikha_1

how to implement ssl in wamp 2,apache 2.2.22,php 5.3.13 ,step by step procedure

Member Avatar for diafol
0
110
Member Avatar for PriteshP23

I am not able to insert data from CSV file with "¤" Character. Please help me to solve the problem. Thanks a lot in advanced. CSV File: FirstName¤LastName¤City¤Year |$| Bill¤Gates¤NW¤2013¤|$| David¤Beckham¤London¤2010¤|$| PHP Code: $csv_file = "Contacts.csv"; $csvfile = fopen($csv_file, 'r'); $theData = fgets($csvfile); $i = 1; do { $insert_csv = …

Member Avatar for PriteshP23
0
926
Member Avatar for PriteshP23

How to read **550 MB** XML file in php? I couldn't put data in php file like: $xml =<<<EOT <?xml version="1.0" encoding="utf-8"?> <data> ..... ... </data> EOT; In addition, when i did from command line, it "**kill**" the process. *Any idea ?*

Member Avatar for PriteshP23
0
537
Member Avatar for LegateLucius

i want to do something like this how do you do it? <?php $meat="cow"; <script type="text/javascript"> document.write($meat); </script> ?>

Member Avatar for mmcdonald
0
237
Member Avatar for PriteshP23

I would like to get **all** Equipment values. *I have used DOM Document.* It is reading **ONLY LAST Element**. *Equipment Id: 28*. I need all three. Thanks in advanced. XML File: <?xml version="1.0" encoding="UTF-8"?> -<Physical> <Catalog> </Catalog> -<Installed> -<Equipment> <Id>26</Id> <Ref>Tew12</Ref> -<Characteristic> <CharacteristicName>Height</CharacteristicName> <CharacteristicValue>160</CharacteristicValue> </Characteristic> -<Characteristic> <CharacteristicName>Tilt</CharacteristicName> <CharacteristicValue>30</CharacteristicValue> </Equipment> -<Equipment> …

Member Avatar for PriteshP23
0
593
Member Avatar for cgull

Hello, I am developing a site with CI 2.1.3 I have a blog module, in this blog I have a form to post a comment. I am calling this form inside a view with: `echo Modules:: run('blog/comment');` When I submit this form with ajaxForm, or refresh the page, the values …

Member Avatar for cgull
0
3K
Member Avatar for roseblue

How to add textbox values from a database table depending on user's choice from a combobox",in php wampserver can anyone help me..?

Member Avatar for broj1
0
134
Member Avatar for spothao

I am doing a simple server to capture the incoming SMS with the Gammu, but i a beginner in PHP. After the cofiguration, how do the php page use the GSM device? How do configure the Gammu to capture the incoming SMS?

Member Avatar for c-tech
0
208
Member Avatar for nacedo

I am searching for an e-commerce solution that integrates with paypal and wordpress wich can show the remaining balance for the payment for a customer. I sell services and sometimes my customer needs pay with multiple payments, within multiple days. For example : My typical price for my service is …

Member Avatar for nacedo
0
267
Member Avatar for newbie26

help. all of a sudden, UPLOADING of files in all my forms didnt work. i tried may things as i had googled it. i tested the code, $_FILES seemed to be empty. > free-up /tmp folder > check php.ini; increase post_max_size, upload_max_filesize, memory_limit > restart apache after each configuration > …

Member Avatar for newbie26
0
367
Member Avatar for veledrom

Hi, I try to do the examples in these pages but none works. When i run, it shows "Error" word on the status bar of my browser. What do you think it doesn't run? Thanks [url]http://www.w3schools.com/PHP/php_ajax_xml.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_database.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_responsexml.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_livesearch.asp[/url]

Member Avatar for kanoy83
0
458
Member Avatar for davy_yg

Hello, I wonder how to create a floating link like in: [Quick links](http://www.grinova.com) I am just thinking about changing the name into Contact Us for example or something else.

Member Avatar for cereal
0
42
Member Avatar for bradly.spicer

Hi again, Using a web script to show the servers I have, which are working here: http://www.bradlyspicer.net/ServerStatus-master/index.php Trying to add it into wordpress. And this is happening: http://www.bradlyspicer.net/server-status/ Saying it is down and saying N/A etc. If I go to http://www.bradlyspicer.net/wp-content/themes/twentyeleven/index_server.php it works. If I go to http://www.bradlyspicer.net/server-status/ it doesn't. …

Member Avatar for bradly.spicer
0
228
Member Avatar for Shikha_1

<?php session_start(); echo 'POST: '; print_r($_POST); echo '<br />SESSION: '; print_r($_SESSION); require("DBconnect.php"); $user=$_SESSION['username']; $pass=$_POST['password']; echo $pass; $salt = dechex(mt_rand(0, 2147483647)) . dechex(mt_rand(0, 2147483647)); $password = hash('sha256', $pass . $salt); for($round = 0; $round < 65536; $round++) { $p= hash('sha256', $password . $salt); } echo $salt; echo "...."; echo $p; $qry="update …

Member Avatar for Shikha_1
0
129
Member Avatar for Shikha_1

registration.html <!<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Register</title> <script type='text/javascript'> function refreshCaptcha() { var img = document.images['captchaimg']; img.src = img.src.substring(0,img.src.lastIndexOf("?"))+"?rand="+Math.random()*1000; } </script> </head> <body> <fieldset> <legend>Registration</legend> <form name="register" action="register.php" method="post"> <table width="510" border="0"> <tr> <td colspan="2"><p><strong>Registration Form</strong></p></td> </tr> <tr> <td>Username:</td> …

Member Avatar for cereal
0
725
Member Avatar for thearts.beach

I am trying to update the shirtnumbers in table crew, by the ID from the .php page before. <?php include('conect.php'); $page = (isset($_GET['page'])) ? $_GET['page'] : 1; $startPoint = $page - 1; $data = "UPDATE crew SET shirtnumber=$POST['shirtnumber'] WHERE ID=<?php $_GET['ID']?>"; $query = mysql_query($data); $data2 = mysql_fetch_array($query); $rowCount = 0; …

Member Avatar for thearts.beach
0
161

The End.