38,019 Topics

Member Avatar for
Member Avatar for IWDesigns

hi, just a quikkie.... i have an idea to build one of my sites as a facebook app...not just a basic app but i want the site to be run solely through facebook like a farmville or mafia app works. i have a complete site already built, is it possible …

Member Avatar for ko ko
0
66
Member Avatar for omer.merdan

Hello, does anybody know why below 2 echoes are providing diferent results [CODE] <?php $in ='textInputTest'; $key ='AAAABBBBAAAABBBB'; $iv ='AAAABBBB'; echo base64_encode(mcrypt_encrypt(MCRYPT_RC2, $key, $in, MCRYPT_MODE_CBC, $iv)) .":"; echo base64_encode(openssl_encrypt($in, 'rc2-cbc', $key, true, $iv)); ?> [/CODE] (results: I6twEgBKQEaNzeP0nMeLJg== : 7bJWXaOJf31WYcJn2UcDrg==) ... second result is the same that C# and some other …

Member Avatar for omer.merdan
0
244
Member Avatar for VengefulWrath

Hi all! I'm wondering if you could look at my login code and tell me how secure it is. I know it seems to work pretty well, I'm just not very good at picking out security hazards. [B]Main login.php page:[/B] A simple form which submits to itself to check for …

Member Avatar for diafol
0
248
Member Avatar for cliffcc

How to increase the security of using the $_GET[ ]? Since it is easily discovered by the visitor and change the path and the edit the information? /albums.php?albums=1 /albums.php?albums=2

Member Avatar for diafol
0
109
Member Avatar for didi00

Hi everyone! I've worked on a shopping cart and I have a small problem. When an order is made, it doesn't send a notification email. It all seems ok but I don't know why it doesn't work. Here is the code: [code]<?php header ('Content-type: text/html; charset=utf-8'); require_once 'utf.php'; require_once 'library/config.php'; …

Member Avatar for didi00
0
203
Member Avatar for tom356

Hi I have a developer working on a gift App for me, i have seen in for instance that the app bank were you can create your own gift APP all you do is upload a gif and when it is sent to the users wall page, there is a …

Member Avatar for twiss
0
71
Member Avatar for didi00

Hi everyone. I need a shopping cart script that uses PHP and MySQL that can be incorporated into site. I've already tried the PlainCart and seriously, that script just has too many issues that need to be solved, and I don't have the time. Also making my own is not …

Member Avatar for didi00
0
197
Member Avatar for kolibrizas

For each of the step (even that specific as what editors and other software to use) included into building an application (for me mostly - web (php-mysql-html-javascript)) I really need tips on how to improve them so I could start working really really fast and be able to generate all …

Member Avatar for iamthwee
0
389
Member Avatar for monada

I googled how to call dll from php. I found that I should use the COM extension to do this. I followed some examples that use the COM to call the Internet Explorer application and othee applications . $browser = new COM ("InternetExplorer.Application"); and run all these examples successsfuly. **But** …

Member Avatar for charlie hsia
0
3K
Member Avatar for Ole Raptor

hello, I have found a set of functions to return values from mysql queries. I have the array filled but I am not sure how I am going to display the data. Any help is greatly appreciated. [CODE] $db->select('awf_users'); print_r($db->result); [/CODE] my result is: Array ( [0] => Array ( …

Member Avatar for Ole Raptor
0
123
Member Avatar for TechySafi

[CODE]<script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP"); } function getData(dataSource, divID, data) { if(XMLHttpRequestObject) { var obj = document.getElementById(divID); XMLHttpRequestObject.open("POST", dataSource); XMLHttpRequestObject.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); XMLHttpRequestObject.onreadystatechange = function() { if (XMLHttpRequestObject.readyState == 4 && XMLHttpRequestObject.status …

Member Avatar for diafol
0
107
Member Avatar for Xcelled194

Hi guys, Recently moved into PHP for a personal application. Basically, it tries to connect some servers to see if they're online. It ultimately returns a string, which the caller echos. The main function is: [CODE] function IsServerOnline($IP, $checkforevent = TRUE, $ischannel = TRUE, $PORT = 11020) { global $UseGlobalOverride, …

Member Avatar for Xcelled194
0
152
Member Avatar for didi00

Hi everyone! So far I managed to make the shopping cart to work with utf characters, but I came across another problem. When I add a new product from the admin, it puts the data into the database. But the cyrillic characters are shown like ?????????. When I change the …

Member Avatar for didi00
0
109
Member Avatar for GuruMS

Hi Friends I Am Facing The Problem When I Try To Login My Admin Panel In Cake PHP Please Help Me How To Solve This Problem... Fatal error: Call to undefined method UsersController::header() in /home/tsiplanm/public_html/secure/cake/libs/controller/controller.php on line 725

Member Avatar for ko ko
0
86
Member Avatar for MasterGberry

So i am a very fluent C++ programmer, and am switching over to PHP/Javascript/MYSQL for some new work that I am doing. I know all the basics of C++ and some of the more advanced STL libraries. I know very basic PHP simply cuz I already know all the arrays, …

Member Avatar for chrishea
0
435
Member Avatar for vaultdweller123

hey guys im new to joomla and i don't know what caused this problem, i had created a new template myself, and successfully installed it and it displays correctly, but when i try to edit the template in the backend it doesn't show any any html code it only shows …

Member Avatar for digital-ether
0
182
Member Avatar for DarkBerzerk

Hey all, I'm making online web based game, but i have some thing wrong that the Armor that the character equip dont calculate in the fight :/ and i tryed to make NPC account with no armor and other account with the same stats and same everything but using armor …

Member Avatar for DarkBerzerk
0
154
Member Avatar for didi00

I have another problem. I try to modify the plaincart and the problem is that the images doesn't show. The code is this: [code] <?php if (!defined('WEB_ROOT')) { exit; } $productsPerRow = 2; $productsPerPage = 4; //$productList = getProductList($catId); $children = array_merge(array($catId), getChildCategories(NULL, $catId)); $children = ' (' . implode(', …

Member Avatar for didi00
0
154
Member Avatar for klemme

Hi all, I am trying to create a small login system, but so far I suck at it. I have a form in one page. It contains only: EMAIL, PASSWORD. I want to do this: When the form has been submitted to the processing page, I am trying to check, …

Member Avatar for ko ko
0
183
Member Avatar for Sorcher

Hello peeps! I am wondering, how can i make this to not require manually writing. [CODE]if($attackerSoldiers >10){$ASoldierPercent = "1";} if($attackerSoldiers >20){$ASoldierPercent = "2";} if($attackerSoldiers >30){$ASoldierPercent = "3";} if($attackerSoldiers >40){$ASoldierPercent = "4";} if($attackerSoldiers >50){$ASoldierPercent = "5";} if($attackerSoldiers >60){$ASoldierPercent = "6";} if($attackerSoldiers >70){$ASoldierPercent = "7";} if($attackerSoldiers >80){$ASoldierPercent = "8";} if($attackerSoldiers >90){$ASoldierPercent = …

Member Avatar for Ezzaral
0
125
Member Avatar for calebcook

Hello everyone! I've created a mailing list where users can subscribe with a form, and the results are added to a MySQL database. They can also unsubscribe. The subscribe/unsubscribe pages work GREAT, but the page where I send out the email is giving me some trouble. It says that the …

Member Avatar for minitauros
0
183
Member Avatar for chudapati09

[CODE] $info = ldap_get_entries($ldap, $search); for($i = 0; $i < count($info) - 1; $i++) { $people = array( $i => array( 'first' => $info[$i]['givenname'][0], 'middle' => $info[$i]['initials'][0], 'last' => $info[$i]['sn'][0], 'email' => $info[$i]['mail'][0], 'username' => $info[$i]['uid'][0] ) ); } [/CODE] I have the following code working, but what happens is …

Member Avatar for chudapati09
0
102
Member Avatar for dyingatmidnight

I'm having a weird problem with myphpAdmin and webpage design. I've been having trouble getting my layout to do what I wanted to so finally I hit the net for examples I could tweak and what have you. So I found this example [URL="http://www.sebastiansulinski.co.uk/demos/three_column_layout/three_column_layout.php"]http://www.sebastiansulinski.co.uk/demos/three_column_layout/three_column_layout.php[/URL] I used the div layout as …

Member Avatar for Kraai
0
181
Member Avatar for chudapati09

[CODE] <?php echo '<script type="text/javascript"> if(confirm("Your time has expired. Do you want to logout?")) alert("Five minutes were added on too your session"); //User will five minutes added on else alert("You are logged out"); //User will be loged out </script>'; ?> [/CODE] How do I put in PHP code inside the …

Member Avatar for chudapati09
0
2K
Member Avatar for simirnov

Hi, I am new to PHP Development. I am retrieving data from my database table clf_email. I am having a mysql_num_rows error in results. I cannot understand where i am going wrong and what error i am doing in the code. Please help in removing this error. [CODE] <?php require_once("../db.php"); …

Member Avatar for simirnov
0
264
Member Avatar for Aamit

Hi, I want to find All no of week in any month. And first and last date of that week. Assume Month is Jan 2011 date in Y-m-d 1st week -> Start date=2011-01-01 End date=2011-01-01 2nd week -> Start date=2011-01-02 End date=2011-01-08 3rd week -> Start date=2011-01-09 End date=2011-01-15 4th …

Member Avatar for urtrivedi
0
9K
Member Avatar for kaizerkiller

I got a database named file a table named product has these fields: id | name | sizes | price 1 | Shoe | 9,9.5,10 | 40.25 You can see in the sample record the field sizes. I want to display each sizes in a button, but I don't know …

Member Avatar for diafol
0
122
Member Avatar for ebanbury

Hi Firstly I apologise if this is the wrong forum. The code is a mix of PHP and Javascript, but my overall page is PHP. What I have is one dropdown box, which depending on what is selected produces the appropriate second dropdown box. This is all great and works …

Member Avatar for twiss
0
138
Member Avatar for ebanbury

Hi There. I have a property website, which already has some extensive search criteria for users to filter which properties they would like to see. I need to add to the search queries that fact that only properties which are within 21 days from the date they were submitted should …

Member Avatar for ebanbury
0
115
Member Avatar for bangla

Hi, I am a beginner in php and mysql. Someone pls be kind to help me the following if possible. 1. I know the host name, database name, table name 2. The table has 3 fields-State, Name, Specialty. 3. I want to have a drop down list name ‘State’. In …

Member Avatar for twiss
0
214

The End.