39,402 Topics

Member Avatar for
Member Avatar for sandi009

Hello Everyone I am using 2 different database servers to retrieve my data. Some of my query retrieve data from one database server and some from other database server. I had made connection successfully, But there is one problem. The problem is that when I am retrieving data it is …

Member Avatar for masterjiraya
0
166
Member Avatar for yy886

I am thinking to implement a forum like Private Message into my website for those who are a registered member. (<100 Member anyway) So Member A can send a message to Member B. Member B will have a notification popup within some seconds saying that he received a new message …

Member Avatar for masterjiraya
0
231
Member Avatar for amar k

here i found the solution for windows 8 while installation apache , mysql , php http://connectwww.com/how-to-install-and-configure-apachephpmysql-and-phpmyadmin-on-windows/457/

Member Avatar for masterjiraya
1
126
Member Avatar for shakayu

Hello guys Am still a newbie in php in codeigniter Hmm, am creating a website..for that when a user log in...the session has to be kept..while she is browising between several page in the website. how can i include this? Header or something? I have already do the login part.. …

Member Avatar for shakayu
0
168
Member Avatar for irfath

I Have a problem about display an image and a descryption to a web page. as admin or some how i need to upload photos to my web site.(only to admin). so for that i need a help to do it (PHP CODE) please! im actually new to PHP.it would …

Member Avatar for masterjiraya
0
280
Member Avatar for shimira

hi, am Gilbert i developed a desktop application in java and i craeted an autorun of the application. and i made a webbased application using php. how can i run the desktop application via php?

Member Avatar for masterjiraya
0
194
Member Avatar for sandi009

I am working with HTTP & RTSP Protocol. For live streaming video I am using RTSP Protocol. For RTSP live streaming my URL is something like this: rtsp://www.sitename.com:554/video/exp.mp4 But it's give me error "Cannot play video". Can any one suggest how RTSP will work & is there any other setting …

Member Avatar for masterjiraya
0
553
Member Avatar for Kniggles

Hi all this should be an easy one, Trying to move an input from text box1 to text box2 and return back to page1. page 1 reads, <HTML><HEAD><TITLE>php scenario move text </TITLE><META content="text/html; charset=utf-8" http-equiv=Content-Type><META name=GENERATOR content="MSHTML 9.00.8112.16457"><STYLE type=text/css>BODY { FONT-FAMILY: verdana, arial, sans-serif }</STYLE></HEAD><BODY><P> </P><P><FORM method=post action=2.php> <TABLE border=1 …

Member Avatar for masterjiraya
0
378
Member Avatar for aritanks

I'm working on building a forum in PHP and am trying to include a feature that would log a user out after a certain amount of time. It would also direct them back to the login page after the elapsed time. I've built the forum using separate php pages for …

Member Avatar for lukas.vandendijssel
0
241
Member Avatar for lukas.vandendijssel

Hello, I am sharing my webserver with a few people (it's my server) 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 …

Member Avatar for lukas.vandendijssel
0
564
Member Avatar for dhani09

This is my first PHP script, to add a user to my website but i keep getting these errors Cannot send session cache limiter - headers already sent Cannot modify header information - headers already sent mysql_num_rows expects parameter 1 to be resource boolean given I have a basic understanding …

Member Avatar for diafol
0
278
Member Avatar for mawar.melati.96930

Hi All, Help me please. I want insert to people_go table using checkbox. data.sql CREATE TABLE `people` ( `id` int(11) NOT NULL auto_increment, `p_id` varchar(20) NOT NULL, `name` varchar(50) NOT NULL, PRIMARY KEY (`p_id`), KEY `id` (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ; INSERT INTO `people` VALUES (1, 'P001', 'Ana'); INSERT …

Member Avatar for LastMitch
0
931
Member Avatar for shakayu

PM bmx322 Hi All, I am integrating JFormer with CI. I am able to get the form to build but the validation doesn’t work and there are no POST vars nor any values in the jformer formValues on submission. I load the JS files in a header template and have …

Member Avatar for shakayu
0
334
Member Avatar for akkbkht

Hello. Please guide me about how to get the options of select tab from mYSQL table. Where to insert php code and how to? Have a look on the code. <td><select name="tby" size="1"> </select></td> <td colspan="2">&nbsp;</td> </tr> <tr> <td colspan="4"><label>Issue/ Tests : <textarea name="issue" wrap="physical"></textarea> </label></td> Regards. Aamir Karim.

Member Avatar for akkbkht
0
262
Member Avatar for 72dpi

Case switching is a neat way to make your site a bit more dynamic. it gives you the ability to show blocks of information "on the fly". By attaching the variable name "Content" to our link, we pass that condition in the query string. Note that on the last link, …

Member Avatar for michel.cote
2
1K
Member Avatar for asprin

I'm trying to execute a binary on my Linux web server. The binary is called 'phantomJS' which is used mainly to create screenshots of a webpage. I logged into my cPanel and found the following information about my server: Operating system : Linux Architecture : i686 So I went ahead …

Member Avatar for AminM
0
274
Member Avatar for LastMitch

Hi I'm trying figure why I'm getting this error **Undefined offset: 1**. I'm practicing with **list()** function and with a **explode()** function. When I ran the code it kept mention this error: Undefined offset: 1 The line is this: list($bagsize, $candyprice)=explode("#", $_GET["size"]); The list is not an array. It's on …

Member Avatar for LastMitch
0
27K
Member Avatar for amith_ami

hi all pls help me.... im trying to select all related items of a particular product... related items are also another products... here is an example of my table product... prod_id related_id 100 101,102,103 101 104,105 102 101,100 103 100,101 104 103 105 104 if i select product with prod_id …

Member Avatar for diafol
1
146
Member Avatar for jithinjohny

Last Day I have installed wamp server 2.2 and I was using wamp server 2.0c till then. I have a strange problem, when i start wampserver and try to load pages on browser it shows the error > Deprecated: Function ereg() is deprecated http://tinypic.com/r/206g8is/6 Please help me , thanks in …

Member Avatar for jithinjohny
0
481
Member Avatar for eburlea

Hello. I am curious if it is possible to create functions dynamically in such a way, that (1) the names of the functions to be retrieved from an array and (2) these names could be used also inside the functions. I have a code that is solving the first problem, …

Member Avatar for eburlea
0
348
Member Avatar for jstfsklh211

I have a calendar built for course scheduling and I'm trying to have it auto book a google resoure calendar by sending an email using phpmailer with an ics attachment ics file BEGIN:VCALENDAR PRODID:-//company// Course Scheduler//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:PUBLISH BEGIN:VEVENT DTSTART:20130411T170000 DTEND:20130411T173000 DTSTAMP:20130410T110314Z ORGANIZER;CN=my@Email.com:MAILTO:my@Email.com UID:unique_id@email.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Test;X-NUM-GUESTS=0:MAILTO:myresource@group.calendar.google.com CREATED:20130410T110314Z DESCRIPTION: test LAST-MODIFIED:20130410T110314Z …

Member Avatar for LastMitch
0
1K
Member Avatar for Olagoke

Guys please, i really need your help real urgently. I've search the web times without number but couldnt get anything tangible. I have a php loop like this . 'While($row=mysql_fetch_array($dbquery)){$username=$row['username']; print("<input type='submit' value='$username'>");}' now i have a jquery code to select each value contained in the hidden input 'var x=$("input").attr('value');' …

Member Avatar for pixelsoul
0
217
Member Avatar for ajbest

This is not what I would consider a critical question but it has been bugging me a little. If I have a number of mysql queries that I drop directly into an array because there is only a single result. Doing so uses a line of code such as this …

Member Avatar for pritaeas
0
112
Member Avatar for Dani

I'm trying to debug my PayPal IPN code. Here is my PHP code: if ($this->input->post('payment_status') == 'Completed' AND in_array($this->input->post('txn_type'), array('web_accept', 'subscr_payment'))) { $query = 'cmd=_notify-validate&' . http_build_query($this->input->post()); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://www.paypal.com/cgi-bin/webscr'); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $query); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); curl_close($ch); if ($result == 'VERIFIED') …

1
98
Member Avatar for ibn_sumal

I have 2 tables inside of my database and 2 forms on my website. 1 form works and sends information over to its table in the database while the other form doesn't although I have used the exact same method for both. Here is my code, please help me find …

Member Avatar for ibn_sumal
0
423
Member Avatar for luma64

I display records from one table. On every rows I add 2 columns (type of listbox). They are filled from another tables. How can I save choiced values from listboxes after Save? <!-- Anesteziolog --> <form name="myForm" action="cos_den.php" method="post"> <?php echo"<td >"; $cpquery = "Select anesteziolog from anesteziolog order by …

Member Avatar for luma64
0
136
Member Avatar for helpme005

Hello every one my problem is i made a website with registration and alot of other things but i want to make a form that have two main fields 'subject' and 'post' like this website and then when the user fills every thing and press submit a new page will …

Member Avatar for helpme005
0
237
Member Avatar for NardCake

Hello! I'm working on a mini framework and everything is going great, exvept this one part that I have gotten working but it brings more complications and it's extremely confusing to me. So I will summarize what is going on. Essentially I have a class (a controller, we'll call this …

Member Avatar for pritaeas
0
222
Member Avatar for shubham.sss05
Member Avatar for mohammed.ismail
0
174
Member Avatar for rajhoq12
Member Avatar for <M/>
1
501
Member Avatar for varunsara

when i put my code in the cron processing it shows an error message after sometime of execution. "Fatal error : Out of memory (allocated 65273856) (tried to allocate 10485761 bytes) ". But the execution is working fine with the localhost. Kindly anybody let me know whats the problem was?

Member Avatar for TonyG_cyprus
0
300
Member Avatar for beginnerpals

Another solution i've been searching for days now is for sending mail to actually existing accounts, but haven't quite found it yet. I have this functionality in my code where i can search and select professors individually for setting question papers. The search and select pages are working fine, so …

Member Avatar for LastMitch
0
591
Member Avatar for wolfgangcs

Is there a reason why this won't take aciton or submit. I don't get any movement on the browser. Neither of the forms move. <div data-role="content"> <?php echo "<table width=\"500\" border=\"1\" cellpadding=\"4\">"; while($row = mysql_fetch_array($showEmployees)) { echo " <div data-role=\"collapsible\" data-mini=\"true\" data-content-theme=\"c\"> <h3>{$row['employee']}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$row['phone']}</h3> <p> <form action='admin.php' method='post' accept-charset='UTF-8' id='editemployee' > …

Member Avatar for masterjiraya
0
598
Member Avatar for Abdulove

write php function that acceptsany number and checks, if the number is even then the function should display that number and the next following 5 even numbers, if the number is odd then the function should display the number and the text following 10 odd numbers.

Member Avatar for masterjiraya
-3
125
Member Avatar for Tinnin

Hi all, I'm trying to run an update query using the following code: <?php require_once('myConnect/connect.php'); $email = mysqli_real_escape_string($dbc, $_GET['e']); $ac = mysqli_real_escape_string($dbc, $_GET['ac']); $checkQuery = "SELECT subscribed FROM myUsers WHERE email='$email'"; $checkQueryResult = @mysqli_query($dbc, $checkQuery); $row = mysqli_fetch_assoc($checkQueryResult); if ($row['subscribed'] == 1) { echo '<p><b>This account has already been activated!</b></p>'; …

Member Avatar for diafol
0
218
Member Avatar for I-Bickerstaff

Hi! I'm working for a company that specializes in custom software development. Challenges are part of my daily routine and once I thought I want to share what my team has learned so far. You can find my thoughts here: http://cases.azoft.com/datagridbundle/ In a nutshell: *Recently, while working on one of …

Member Avatar for LastMitch
0
134
Member Avatar for nsam

Hi all, I am a completely new user of wordpress. Don't know I should post this over here or not. Can somebody please tell me this basic thing. How to insert data through wordpress in mysql.

Member Avatar for pzuurveen
0
162
Member Avatar for branding4you

I have searched for this problem on google and all solutions I have tried dont work I am new at PHP and used this method before but for some reason this one is giving me the run around. it echo's the text "Special Occasions" but the link it refers to …

Member Avatar for branding4you
0
176
Member Avatar for Naga14

I am not able to transfer file from one server to another using ftp_put() below is the warning its showing and also files are not getting transfered. If i put absolute path below error is coming **>Warning: ftp_fput() [function.ftp-fput]: Can't open that file: No such file or directory in ...**

Member Avatar for pzuurveen
0
278
Member Avatar for akkbkht

Hello. Can I add any data directly from table into data base using dreamviewer 8 by php? i mean in design view, i add table. then when i enter a data in the cell, so can i add this cell text to a field in DB table? Also how can …

Member Avatar for akkbkht
0
273
Member Avatar for nuno.freitas.meneses.monteiro

Hello guys, I am doing a Friend system on my website, and I did the friend request, to accept, but the friends list isn't alright in some part of code because it isn't take the correct id, anyone can help me? 1. <?php 2. 3. $users = $_SESSION['username']; 4. 5. …

Member Avatar for nuno.freitas.meneses.monteiro
0
167
Member Avatar for akkbkht

Hello every one. I am stuck in a place. I am entring medicine record in a table. That's most possible that medicine may exceeds from the rows i am providing. I would like to be assist how can i add new new with a hyperlink text. Also how this row …

Member Avatar for akkbkht
0
10K
Member Avatar for Tko_1

Hello again. I have this backup script to grab files/folders rar them and save them. What i have been tring to do is ignore certain files. ignore test.php within folder. Thank you <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> <script type="text/javascript"> function submitform(){ $('#myForm').post("backup.php", $("#myForm").serialize()); } </script> </head> <form action="backup.php" method="post" id"myForm"> <input type="hidden" …

Member Avatar for Tko_1
0
198
Member Avatar for devindamenuka

Hi all, I have a problem , I use codeiniter framework. it shows an error from the framework file. I got the following error A PHP Error was encountered Severity: Warning Message: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer Filename: core/MY_Lang.php Line Number: 155 …

Member Avatar for LastMitch
0
275
Member Avatar for Vijaysurya

Hai everybody, the string $password = $request->getParameter('password'); Contains at least 8 characters. Contains upper and lower case letters. Contains numbers or other non-alphabetic characters. What could be the reg ex for the above criteria? I am creating a check for stronger password . something like: if (len(password) >= 8 && …

Member Avatar for masterjiraya
0
206
Member Avatar for 4fridi

Sir I have a search engine on my website which get input by user and search it for the results and i am storing those keywords into seperate table name keywords, but now a days i m checking that there is a bunch of unknown characters into query strings, i …

Member Avatar for 4fridi
0
1K
Member Avatar for theHop

I recently undertook a development job where i needed to create a music player. We decided that the music should be managed from soundcloud.com (let them deal with the storage band width). There was one problem. to make it work in ALL modern browsers there needed to be be at …

Member Avatar for theHop
1
247
Member Avatar for Squidge

Hi All, I am creating an "About Us" portfolio page for a company. On this page will be a small bio and a photo. The bio is not a problem, uploading and storing/calling the image is not a problem, as i already have code i can reuse. The part i …

Member Avatar for Squidge
0
176
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
302
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
128

The End.