39,393 Topics

Member Avatar for
Member Avatar for Dr_Freeman

Greetings. I have a bit of situation here. I'm using symfony2 and facebook SDK to set up a web service for my IPhone and Android applications. The problem is that the background work can take quite a while. User is first redirected to facebook login page where he can proceed …

Member Avatar for chrishea
0
426
Member Avatar for geneh23

Hey everyone, I'm trying to create a form to upload files and create links from the uploaded files to download for whoever visits that particular page. I've gotten the files to upload to the folder and display as a link but whenever I refresh the page, the links go away, …

Member Avatar for geneh23
0
339
Member Avatar for yavindu

if(isset($_POST['adate']) && isset($_POST['atime']) && isset($_POST['discno']) && isset($_POST['babybht']) && isset($_POST['motherbht']) && isset($_POST['ward']) && isset($_POST['namebo']) && isset($_POST['address1']) && isset($_POST['address2']) && isset($_POST['telephone']) && isset($_POST['ageonadmission']) && isset($_POST['admissionweight']) && isset($_POST['bdate']) && isset($_POST['btime']) && isset($_POST['poaw']) && isset($_POST['poad']) && isset($_POST['bweight']) && isset($_POST['placeofdelivery']) && isset($_POST['admittedfrom']){} If I use so many boolean operators in a 'if condition' like above …

Member Avatar for diafol
0
109
Member Avatar for Linddha

i have table article 1. id_arc int (11) auto increament 2. judul varchar (225) 3. isi text 4. date datetime --ect i already create a script to input data and run well but if i try to input more than 2 paragraf this script doesn't work.. what happen? i use …

Member Avatar for diafol
0
208
Member Avatar for pritaeas

The following snippet shows how you can use binding in your queries when using MySQLi. For starters, here's the table structure I've used: CREATE TABLE `mytable` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `email` varchar(255) DEFAULT NULL, `dob` date DEFAULT NULL, `level` int(11) DEFAULT NULL, PRIMARY …

Member Avatar for pritaeas
3
1K
Member Avatar for karnan.yuvan

I m a web designer and developer at fusion web technology in coimbatore. I have 6 month experience in this field. But they give three thousand salary only. It's not enough for my allowance. How they give to parents as a salary. So i call to chennai for Web development …

Member Avatar for happygeek
0
265
Member Avatar for mangel.murti

http://www.vsshare.vsshare.hop.clickbank.net when i want to share or post above link (facebook) from my application it is not sharing it. any solution?

Member Avatar for pixelsoul
0
91
Member Avatar for suncica2222

I need regex for parsing phpbb forum style quote tags, general case with preserved items order. Like quoted, unquoted, quoted, quoted, quoted... etc... Also there are NOT NESTED quotes. I'll explain on example. some unquoted text11 [quote="person1"]some quoted text11[/quote] [quote="person2"]some quoted text22[/quote] [quote="person3"]some quoted text33[/quote] some unquoted text22 ... [quote="person4"]some …

Member Avatar for pixelsoul
0
350
Member Avatar for nsandberg

A few years ago I posted this: http://www.daniweb.com/web-development/php/threads/300959/checkbox-loop-in-php Looking for some help. I got the help that I needed and finished my project days after I got help. After using the PHP script for two+ years just last week an error started popping up. I never had a single issue …

Member Avatar for diafol
0
287
Member Avatar for SirMahlon

my form has an option where user can choose to fill but should that option be choose then the form will will submit to two tables if not chosen the one table using php/mysql.table being patient and insurance table. Prompt assistance will be appreciated.thanks $query = "insert into patients (title,patientid,name1, …

Member Avatar for SirMahlon
0
177
Member Avatar for Eagle.Avik

hi want my user to upload images to my server. There is a lot of security risks i am aware of, like: 1. client side validation is not a good idea. 2. PHP code can be embedded into various other data types.(like embeded in a image file) 3. by using …

Member Avatar for cereal
0
748
Member Avatar for RikTelner

Is there a secure PHP encryption on which NSA hasn't put or isn't able to put in future of 20 years it's hands on?

Member Avatar for pritaeas
0
227
Member Avatar for ronaldpaul

Friends, in my project i'm using onblur event in four text boxes and using that onblur event i wanna call different javascript functions i.e', like first text box onblur="test()" and in second text box onblur="test1()" etc. But only one onblur onblur is calling the function and other onblurs are not …

Member Avatar for gökhan_1
0
7K
Member Avatar for jtreyes

Hello! Could anybody please help. I need to be able to insert a set of user inputed form values to a database and then redirect to the same form with the values still in the fields. I tried to use "[I]$_SESSION['PHP_SELF'][/I]" in the form action. It redirects me to the …

Member Avatar for janetkissho
0
3K
Member Avatar for suika

Hi, I am using VB6 and phpMyAdmin connected by WAMPServer for my system. I am new in this language. Here's the code in my that seems to be wrong: Private Sub cmdsubmit_Click() Dim rs As ADODB.Recordset Dim strsql As String strsql = "insert into table1 ( surname, firstname, middlename, house, …

Member Avatar for hapticz
0
681
Member Avatar for cmps

I am coding a bbcode parser system. But I'm stuck with the nested tags. I would like to know if someone know the regex pattern to find for instance a [url] tag. Example: [url][url]Hello world .com[/url][/url]. I want the output for this to be <a>[url]Hello world .com[/url]</a> where [url]Hello world.com …

Member Avatar for cmps
0
266
Member Avatar for geneh23

Hey everyone, I have a question about how to dynamically change a link based on the current page. Sort of like the "breadcrumb" feature in wordpress. However I don't want it to read as follows: "index.php", "about-us.php"..ect. I want the link to be something like "Home" "About Us" ..ect. How …

Member Avatar for geneh23
0
254
Member Avatar for sara.alsaffah

hi iam working on building a website for maintaining PCs, and if anyone get in my site asking for help, if i try to answer him the answer will go to the werong person, so please any help <html> <head> <meta charset='utf-8'> </head> <body > </body> </html> <?php $dbhost = …

Member Avatar for pixelsoul
0
127
Member Avatar for wfray

The following PHP code works fine with javascript in Internet Explorer but fails in Firefox. Javascript is enabled in Firefox. It appears that when the button/icon is clicked, it enters the javascript function, but doesn't change the icon on the page. It also seems to return to the PHP code/page …

Member Avatar for wfray
0
344
Member Avatar for RikTelner

Resource: http://www.w3schools.com/php/php_xml_simplexml.asp I wasn't able to Google it since I don't know how to form question. So lets say the **xml** file is <?xml version="1.0" ?> <major> <point>Tower</point> </major> </xml> I can retrieve it by using **PHP**: <?php $file = simplexml_load_file("file.xml"); echo "Well, the point in on ". $file->point ."."; …

Member Avatar for RikTelner
0
111
Member Avatar for Naveed_3

here is my code <td align="right"><img src="images/follow.jpg" width="125" height="24" /><A HREF="http://www.facebook.com"><img src="images/facebook.jpg" width="23" height="24" /> I can not get directed to www.facebook.com but the link redirects it to www.mywebsitename.com/www.facebook.com. Please suggest the code Thank you.

Member Avatar for broj1
0
43
Member Avatar for Amr87

I have this array Array ( [0] => Array ( [post_category] => cat-1 ) [1] => Array ( [posts_count] => 33 ) [2] => Array ( [cells_num] => 1 ) [3] => Array ( [grid_num] => 0 ) [4] => Array ( [post_category] => cat-2 ) [5] => Array ( …

Member Avatar for Amr87
0
144
Member Avatar for Linddha

i have 3 table with different structure.. * article (content of only text) * download (content of text,file and image) * market (text, image) i want to show the search result from those table together but with different style (only text, or image, or both) but when i use UNION …

Member Avatar for urtrivedi
0
135
Member Avatar for ImZick

Hi i have input type text as date with a value of "2013-12-25" and i have a database with a field of month and a value of (December) and Year (2013). How can i convert the value of (2013-12-25) to a string of December and Year so i can use …

Member Avatar for broj1
0
328
Member Avatar for logicslab

Dear pals, I am searching a payment gateway which can do Credit/Debit/Internet banking in a single system. Do you know any thing in current existing system . Let me know and advise Thanks anes

Member Avatar for urtrivedi
0
454
Member Avatar for gsynr

Hi...All I am new to Ajax in PHP and trying the below code which works fine in Google Chrome but not works in IExplore.. Thanks in Advance <script language="javascript"> function showTeh(str) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, …

Member Avatar for gsynr
0
175
Member Avatar for daniel.conlinjr.1

if run to a delemia when im out of the hosue and not near a net work i want to be able to run on local, but i dont want to have to change the credientials is there a way i can have it try one and if it snt …

Member Avatar for ryantroop
0
96
Member Avatar for Salman Bukharii

<?php //////////////////////////// ////////////Kharcha Section //////////////////////////// $kid = 0; if(isset($_POST['kharcha_btn'])){ if(!empty( $_POST['karaya'] ) && !empty( $_POST['custom'] ) && !empty( $_POST['store-fees'] ) && !empty( $_POST['market-fees'] ) && !empty( $_POST['commision'] ) && !empty( $_POST['mazdoori'] ) && !empty( $_POST['wapsi-khracha'] ) && !empty( $_POST['munshiyana'] ) && !empty( $_POST['daktar'] ) && !empty( $_POST['kham-bekri'] ) && !empty( …

Member Avatar for broj1
0
143
Member Avatar for Tko_1

hello, when I echo $acfile; it shows up with the users name. when i try to insert the variable into the text field, the below code will show the value as blank. $HTML .= ' <input type="text" value="' . $acfile . '" id="contest-name" name="contest[name]" value="' . ( isset( $entry['name'] ) …

Member Avatar for broj1
0
99
Member Avatar for erum.saeed.75
Member Avatar for pelle12
0
172

The End.