Passing a values in URL
Hey Guys. I am working on an API for automated voice application. I was just wondering if it is possible to send a URL value with out assigning anything to it. For example if someone presses a key...
View ArticleScope question
Simple question about scope. I want to run different sql statements depending on a boolean value in a variable. The value would flip back and forth depending what the user is doing. What/where is...
View Articlebest way to crypt a password
session_start(); ob_start(); *host detail stuff here* mysql_connect("$host", "$dbusername", "$password") or die ("cannot connect"); mysql_select_db("$db_name") or die ("cannot select DB"); $username =...
View Articleany suggestions
hey guys/gals I'm curious if anyone has any ideas here - I visit a site today that once I logged into the site it produced a popup with an offer.. I would like to mock the same tactic but can't...
View ArticleRecreating An Uploaded Image to Protect It Against Virus ?
Hi All, Is recreating an uploaded image an efficient way to protect it against a potential virus ? I came across this solution at the following address :...
View Articlerun function from class on mysql array results
Hello, I think I've been staring at this too long and now cannot see it straight anymore so another pair of eyes would be greatly appreciated. I have the below code that pulls a result from mysql...
View ArticleRunning pdo in seperate file
Hello, I keep getting a 'Fatal error: Call to a member function prepare() on a non-object' error. My goal is to have a function where I can pass in sql statements and get back the $row and...
View Articledelete images from database
hi, I'm kind of confused and rookie about the delete image file name from database, I have five images file name in database and store image file in the folder, each table column name is (image_1,...
View ArticleJSON Seach
I am trying to create a search query for either the YearBuilt (yachts.theskywatergroup.com/yatco_data_feeds/datafeed_customer/query2.php) or LocationState a Vessel is located in...
View ArticleConnected - Input Does Not Populate Table
Hello. I have been working at this for quite awhile now. It is a rebuild of a successful DB from years ago (But I no longer have access to that code which is on a disabled machine). Simply put, I...
View ArticleForm Posting
I've been trying to work on a form in PHP. I've got it all set up and submitting but the only problem is that I try to display the data back on the page for testing purposes but every time I hit...
View Articlephp and lightbox coding.. help! :)
so, I'm doing this website, and for the most part I've been able to handle the php with what little I know. http://njypprojects.com/jeffswp/ The desired effect is inside the menus area, I would...
View ArticleAES Key
Hi Guys, I need to generate an AES file key (CBC/PKCS7/256bit) using PHP and then obviously need to store the key. The second phase is to encrypt a string using the key generated and stored above,...
View ArticleWrong Rates Appearing
Hi I have been trying to create a shopping cart builder, i am using PHP and Javascript. but i need to pass three values through ajax, Could some one kindly help. Attached Files index.php 9.29KB...
View ArticleGD Library - How to scale imported image
I made this tool: http://chemistryhelper.eu.pn/ with PHP and what I need it to be able to do now is to make some of the lobes grow or shrink. How I made this script is there is one script which loads...
View ArticleCurl - String is too long?
Here is my code to add message on my forum. I have a problem, because I give too long text in the variable $ message is on the side instead of the ready message only appears the error: "Momentary no...
View ArticleHow to parse this XML array?
Hello everyone, For an application I'm working on I'm connecting to a webservice which gives me an XML as response. I have no influence on how that XML is formatted and I am trying to figure out how...
View ArticlePermute multi-dimensional array
Hi,Does someone know of a recursive way to permute $data? Currently I am using iteration and that sucks.. I tried without luck, online examples were only about 1-dimensional array's. $data = [ [1,3,4],...
View ArticleCircular reference of classes
I have a core class that does the majority of the heavy lifting for my framework. I also use an external class "access" to check for user access to resources. While trying to streamline things a bit...
View ArticleInsert query not working: Pls respond as soon as possible
The given query is not working, it is echoing "You are doomed". so don't know hwat is the bug. <?php session_start(); $host = 'localhost'; $db = 'cramis_2012'; $user =...
View Article