39,320 Topics

Member Avatar for
Member Avatar for lukas.vandendijssel

Hello, I am sharing my webserver with a few people and I am trying to create some sort of an admin panel for them. It has to be able to change Apache VirtualHosts and reload Apache. Now I can make the config-changing PHP code, but there are 2 Apache-related problems. …

Member Avatar for lukas.vandendijssel
0
299
Member Avatar for mark103

Hi guys, I really need your help, I have scraping the data from a website that i use to read the information on my php. I have a problem, I could not be able to scraping the right data from 5 hours backward of my current time, e.g my current …

Member Avatar for LastMitch
0
124
Member Avatar for Tinnin

I have a function that I intended to be able to remove duplicate rows in an excel worksheet. I pass it $objPHPExcel which has gone through the following function function checkExtension($inputFileName) { if (pathinfo($inputFileName,PATHINFO_EXTENSION) == "csv") { $inputFileType = 'CSV'; $objReader = PHPExcel_IOFactory::createReader($inputFileType); return $objPHPExcel = $objReader->load($inputFileName); } else { …

Member Avatar for Tinnin
0
4K
Member Avatar for MikeOxley

Firstly, I am new here so if I am postign in the wrong area I am sorry. Secondly, I am new to this so dont luagh at my stupidity I think of it as a talent for getting things messed up :) I have urgent problem, converting Html to PDF …

Member Avatar for tkdchamp
0
233
Member Avatar for daniel36

Is there any opensource classified website.I am searching it on google from morning but i did not get success.

Member Avatar for TonyG_cyprus
0
139
Member Avatar for milkman93

Hey Everyone, I am trying to create login page where if the user doesn't enter a value into the username and password textfields a box fades in (JQuery function) telling the user to enter info. I know I can just add the `required = "required"` to the input tag, but …

Member Avatar for milkman93
0
8K
Member Avatar for akkbkht

Hello every one. I am creating a form in php and trying to work with button in that. There are 3 buttons below then form. 1. Submit.(to insert data in BD) 2. Update.(to update data in table in DB) 3. Delete.(to delete data from table in DB) When I apply …

Member Avatar for akkbkht
0
225
Member Avatar for kgizo

Hello I want to send xml values to a database I just created, here is the xml file <record> <name>tcpmux</name> <protocol>tcp</protocol> <xref type="person" data="Mark_Lottor"/> <description>TCP Port Service Multiplexer</description> <number>1</number> </record> <record> <name>tcpmux</name> <protocol>udp</protocol> <xref type="person" data="Mark_Lottor"/> <description>TCP Port Service Multiplexer</description> <number>1</number> </record> I've got 4 columns in my database:- ServiceName, …

Member Avatar for shashik493
0
1K
Member Avatar for keeleyb

I want to synchronize the data on my machine with that held on a server using PhpMyAdmin. Can anyone tell me exactly what information is required on the synchronization page? I've tried loads of combinations and the, not helpful, response is always "Could not connect to the source". Any thoughts …

Member Avatar for keeleyb
0
462
Member Avatar for amit.chaudhari.71

hi friends i have develpoed a prog. for pay calculation for my office in php. now i want to show some thing like employee name in my pge which is currently processing or progress bar with persent if calcution has done. plz note i m useing POST methord

Member Avatar for amit.chaudhari.71
0
354
Member Avatar for Naga14

Hi, Need to Optimize the below Query. In database around 5,00,000 Records are there. Below query is taking around 1 min. to 1.30 min Execution Time. Need to optimize the query so that the result will be fetch in 5 to 10 Seconds. We've used full text indexing for Website …

Member Avatar for masterjiraya
0
161
Member Avatar for frankie.bailey.14

I am tring to have a user click the submit buttion and the status of that row/room will become closed and the user can reserve more than 1 room at a time <html> <head> </head> <body> <?php //include database configuration include 'config_open_db.php'; //selecting records $sql="select RoomNumber, Type, Cost, Status from …

Member Avatar for masterjiraya
0
404
Member Avatar for sumon_ahona

<?php $cardno = $_POST['cardno']; $c_status = $_POST['c_status']; $V_idno = $_POST['V_idno']; $c_name = $_POST['c_name']; $m_name = $_POST['m_name']; $f_name = $_POST['f_name']; $Phone = $_POST['Phone']; $email = $_POST['email']; $profession = $_POST['profession']; $age = $_POST['age']; $sex = $_POST['sex']; $m_status = $_POST['m_status']; $address = $_POST['address']; $District = $_POST['District']; if(!$con) { die ('could not connect'.mysql_error()); } …

Member Avatar for broj1
0
181
Member Avatar for zglows

After this piece of PHP code is added to my template (Wordpress) my server goes bananas. (I see lots of load peaks, it becomes unresponsive and the site won't load until I reboot the server.) The code just displays random posts from the database: [CODE] <?php $random_query = new WP_Query('posts_per_page=4&orderby=rand'); …

Member Avatar for gabrielcastillo
0
226
Member Avatar for Webville312

Hello; I am working on a project and in order to save resources, my supervisor says I should pass variables in an array. Some of which were working perfectly. However the fetching of the records from the database gives me the error below; Warning: mysql_query() expects parameter 2 to be …

Member Avatar for Webville312
0
349
Member Avatar for otengkwaku

my question is, how do i use python to check a web site to see if it has an rss feed link and return that link

Member Avatar for slate
0
139
Member Avatar for OsaMasw

hey there guys I need a PHP class to fetch news from different sites, I use rssphp.net class and its great if I need the **title** of article and the **short description**, but what I need is the full story somthing like ?type=rss2 in vBulletin forums the main output of …

Member Avatar for OsaMasw
0
299
Member Avatar for lwschjang

To begin with thank everybody for any help. I am trying to convert an html site into a Joomla site for a client, but I am having trouble converting the homepage slideshow into a working Joomla module. As far as I can see I have everything that I need, but …

Member Avatar for lwschjang
0
299
Member Avatar for garyrichard

I am using the below code ( PHP - Ajax ) ..It works fine on firefox,chrome, Bu not works on IE... Please help me as i am new to PHP-AJAX Thanks in Advance =============== var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else …

Member Avatar for LastMitch
0
154
Member Avatar for firelife12

Hey, I have been trying to create a chat with php, I keep ending up with a lot of problems, such as no refreshing, not allowing users to post. Can someone please help me create a chat? thanks!

Member Avatar for masterjiraya
0
223
Member Avatar for andika.kurniawan.121
Member Avatar for thebhatt

I am developing a social networking site.. and implementing chat function. it worked perfectly when tested outside, but when i integrated with my site page, it causes a css class disable. i am putting Code: <script src="jquery.js"> </script> link at end of page, b4 < /body tag. following is the …

Member Avatar for masterjiraya
0
160
Member Avatar for GordonUK

Hi everyone, I am developing a website where users can download songs from a particular page and just wanted to know if anyone knew any existing scripts that could be used for the downloading songs feature on this page? Many thanks, Gordon

Member Avatar for masterjiraya
0
113
Member Avatar for kyriacos1986

In a local database: I have a field content in a table where I store numbers and symbols in the following format {1,2,1,3,1,4,1,1,1} ∪ {1,2,198,776,455,666} When I ran the query in my php code SELECT * FROM table and echo it in the web browser only {1 is displayed I …

Member Avatar for masterjiraya
0
183
Member Avatar for yap.junjie.7

Help me look at the codes below. It has T_IF error and T_WHILE error. The errors are on line 7 and line 18. I hope anyone can teach me to repair it and the code function is still same. <?php require_once("db.php"); session_start() if (!isset($_SESSION['cart'])) { <---T_IF error $_SESSION['cart'] = array(); …

Member Avatar for TonyG_cyprus
0
392
Member Avatar for FreePuppy

I am working on a website and completely stuck on a paginator/editor... works perfect outside my framework... anyways... I decided to use Iframes I need to pass a var from main page to an iframe region on same page. When user is logged into wordpress: global $current_user; get_currentuserinfo(); I need …

Member Avatar for LastMitch
0
3K
Member Avatar for Rizi004

Hello everone, I have a webpage that have a form in iframe now the form submit in iframe and check from database and if found the username and password it start session and when i go to another page the session is lost, now how i can maintain session in …

Member Avatar for LastMitch
0
1K
Member Avatar for fheppell

I need to make a forgotten password system, which works like this * User puts email in * Email sent to user with a link * Link goes to a one time page which allows the user to change their password I understand about php mail() but haven't got the …

Member Avatar for Squidge
0
193
Member Avatar for er.durgeshkumar

hello friend i like to **add message box** on my web page in which i like to show inbox and outbox and message should be send and recieved by any user on my website with delete option

Member Avatar for Octet
0
59
Member Avatar for NoMansLand_MFGC

Hello Daniweb, I hae built a time/date counter for a private ticketing/support system, but I have run into a bug. After submitting a ticket it's fine, the counter starts counting, Perfect. Update the ticket to Closed/Answered/Anything else that changes the Status of the ticket, it "resets" the counter. It pulls …

Member Avatar for diafol
0
293

The End.