39,320 Topics

Member Avatar for
Member Avatar for BenzZz

Hi, I'm creating a web app that downloads sms messages from an M2M server using a Soap Client. The problem I am getting is that the SoapClient is not being found when i do this: $m_obj_client = new SoapClient($m_wsdl); The error i receive is: Fatal error: Class 'SoapClient' not found …

Member Avatar for BenzZz
0
140
Member Avatar for athulram

My site needs a way to know whether a user is an admin or not in multiple pages. So is it safe to store whether a user is an admin or not in session variable? Or is there a better alternative (Maybe another superglobal variable?), It will only hold a …

Member Avatar for BenzZz
0
201
Member Avatar for ak47carbon

i want when any user type a mar.com/work.php it aces the page but url is showing mar.com/

Member Avatar for ak47carbon
0
235
Member Avatar for mogaka

I am trying to process an array to get variable name and its value. below is the code. $s = explode("&",$mine); foreach($s as $k=>$v){ $v=explode("=",$v); for($i=0;$i<count($v);$i++){ $a[$v[$i]]=$v[$i+1]; } print_r($a); } The prolem is that the array repeats itself in output. as shown(look at it keenly): Array ( [APIresult] => 000;APIresultexplnation …

Member Avatar for diafol
0
129
Member Avatar for imstella

Hello, Can somebody help me with my contact form? I am getting this error message "Parse error: syntax error, unexpected T_IF in contact/contact-form-handler.php on line 5". I tried adding more parenthesis but I can't seem to figure it out. Thank you! <?php $errors = ''; $myemail = 'emailaddress@gmail.com';//<-----Put Your email …

Member Avatar for imstella
0
196
Member Avatar for turt2live

Hello, I currently have this setup for a "download a mp3" php page: [CODE] <?php include "class.php"; $account = new account(0); $id = $_GET['id']; $u = $_COOKIE['username']; $a = mysql_fetch_array(mysql_query("SELECT * FROM items WHERE id='$id'")); $file = $a['actualPath']; header("Cache-Control: public"); header("Content-Description: File Transfer"); header("Content-Disposition: attachment; filename=$file"); header("Content-Type: audio/mpeg"); header("Content-Transfer-Encoding: binary"); …

Member Avatar for vibhaJ
0
1K
Member Avatar for athulram

I have a website which holds articles. So right now theres a page called viewarticle.php and i use GET to send the article id so that it will be retrieved by MySQL database (for eg. viewarticle.php?id=2 loads article no. 2) But instead of that is there a way of refering …

Member Avatar for vibhaJ
0
185
Member Avatar for LastMitch

Hi I have a question. I haven't try this yet but rather have someone tell me that it will work or not. For example I have this let's call this **1.php** file **1.php** has these two categories SKU: <?php echo stripslashes($row1['sku']);?> Item ID: <?php echo stripslashes($row1['itid']);?> I want to submit …

Member Avatar for LastMitch
1
157
Member Avatar for akgeek

I think I have a relatively simple problem, but forgive me, I'm new at this. I'm trying to take output from a dynamically created checkbox in php to a foreach statement to make a new string that I can use to request an update from mysql. In the foreach loop, …

Member Avatar for diafol
0
3K
Member Avatar for jclinx

Hi, currently working on tutorial on how to create simple login php for my juniors. I learnt to create login php using dreamweaver cs4 and xampp, it works. This time, I try to modify the code and using zymic database [http://mysqlquery.zymichost.com](mysqlquery.zymichost.com) first i create the index.html <html> <form action="login.php" method="POST"> …

Member Avatar for diafol
0
70
Member Avatar for stephen_UK

I would be great if someone could spot the problem with this code please. I have a MySQL table that was populates an Options list which works well when adding new records to another database table. The code is: $query="SELECT id, types FROM $table ORDER BY types ASC"; $result = …

Member Avatar for moonknight33
0
207
Member Avatar for vijayram

Hi everybody, I created the userlogin page.user give username and password .afterthat this error was comming.but this code work in online server.i adding the new module so,i copied and paste the my local drive.

Member Avatar for diafol
0
58
Member Avatar for Heinz Stapff

OK. I have an Ajax getproduct() function that calls getproduct.php page with the id of li tag elements from multiple uls in #sidebar div. The id of each li tag references a table in the database as `'$q=$_GET["q"]'`. All the rows in the tables called are the same and each …

Member Avatar for Biiim
0
121
Member Avatar for kakalahori

hi i installed wamp5 1.7.4in windows 7 and started wamp server using komodo edit i created a file with a test command <? php phpinfo(); ?> but all i get is blank page i tried html it would work fine but none of the command for php is working

Member Avatar for urtrivedi
0
123
Member Avatar for vijayram

HI everybody, I have this error.i created a user login page using sfguard user.(symfony framework) but i include php.ini Windows: "\path1;\path2" ;include_path = ".;c:\php5.3.8\PEAR" but still same error was comming.what is the problem.plz anybody help me. Fatal error: require() [function.require]: Failed opening required '/' (include_path='.;C:\php\pear') in C:\wamp\www\public_html\lib\vendor\symfony\lib\view\sfPHPView.class.php on line 75

Member Avatar for veedeoo
0
101
Member Avatar for polycinco

I got this error on my page when I tried to login, I don't know what happened please someone help me. What do I need to do? Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'steve_wff'@'208.113.246.18' (using password: YES) in /home/steve_wff/worldfamousflags.com/usssa/system/database/mysql.php on line 6 Error: Could not make a database connection …

Member Avatar for veedeoo
0
83
Member Avatar for Jake.20

Good Morning everyone, could some one please send me and image of an enrollment System for high school for my reference?

Member Avatar for Jake.20
0
90
Member Avatar for showman13

I have a question that will probably be easy for someone to answer. I have a form with about 20 fields +- to be entered... When submitted, I check for the validity and existance of a few of the fields that are important, but not all of them What I …

Member Avatar for showman13
0
289
Member Avatar for kjeu_kach

How to replace local file path to insert url link [download.php](https://github.com/apps-vn/download.php/blob/9ffc7c80efe57ad8d29f10897f04155c463778e3/.gitignore) // Free Downloads if (isset($_GET['free'])) { $row = $android->getFreeDownload($_GET['free']); if ($row) { $fname = basename($row['filename']); $file_path = ''; $android->fetchFile(BASE_DIR, $fname, $file_path); $fsize = filesize($file_path); $fext = strtolower(substr(strrchr($fname, "."), 1)); if (!file_exists($file_path) || !is_file($file_path)) { redirect_to(($core->seo == 1) ? $core->site_url …

Member Avatar for veedeoo
0
373
Member Avatar for viper139

hi i'm trying to create a search function for my website and I keep getting this error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/a7526299/public_html/SearchResult.php on line 158 <form action='SearchResult.php' method= 'get'> <input type='test' name='k' size='50' value='<?php echo $_GET['k']; ?>' /> <input type='submit' value='search' /> …

Member Avatar for diafol
0
501
Member Avatar for ayesha789

Hi, I have Folder Which Name is **LAPO** and There are three Folders insider whihc names are **North**, **Central** and **South**. In North Folder there are many Folders Like **9876** , **9877** , **9333**, **9853** etc. In all Folders there are files Named PO.pdf There are more then 1400 Folders …

Member Avatar for ayesha789
0
112
Member Avatar for manzoor.ilahi77

<select name="country" id="country"> <option value="IN">India</option> <option value="PK">Pakistan</option> <option value="UK">United Kingdom</option> <option value="US">United State</option> </select> When a user selects a country and clicks submit php gets the **value=""** ie, country code instead of country name.

Member Avatar for Biiim
0
224
Member Avatar for kakaliki

Any examiner, webmaster,graduate students in computer science or related in here? If yes can you please confirm if an online movie or concert/theatre/attractions booking system using php ,apache, mysql is a suitable topic as final year project? I would like the site to look a bit like stargreen.com or similar …

Member Avatar for Biiim
0
120
Member Avatar for sainigks

Hello Friends, i have created a page, here a sql query retrieve students name from database and put these values in drop down options. now i want, i select a value from drop down and send it ot another page. but it is not working. on my next page nothing …

Member Avatar for Biiim
0
177
Member Avatar for vizz
Member Avatar for HasNor

Hi all, i need your experties where i now in trouble. How can i avoid data jump to next row if user enter "," even data actually in same field..in CSV the row saperate by ",".. so my CSV file is look not stabil when the data convert to wrong …

Member Avatar for Biiim
0
3K
Member Avatar for itisnot_me

first off hi again. Now i dont know where to start this one script or let alone how to execute it. This is what i would like to learn how to do. I would like to output the current DB structure then take that and update another db with the …

Member Avatar for |-|x
0
288
Member Avatar for vijayram

Hi every body, I have this error anybody plz help me. Parse error: syntax error, unexpected '>' in C:\wamp\www\public_html\apps\frontend\modules\personal\templates\indexSuccess.php on line 30 this is the line 30. **>getPrimaryAlbumId()."_".$personal->getProfilePicture(), true) ?>" alt="Profile Picture" /></a>** <?php use_javascript('addTalk') ?> <?php use_javascript('schedule') ?> <?php use_javascript('sync') ?> <div id="profileName"> <?php foreach ($personals as $personal): ?> …

Member Avatar for vijayram
0
199
Member Avatar for melaki

Hi all, After spending 2 days going through this code, going through search engines and endless forums trying to find a solution, i find myself still on Square 1. Therefore just before I begin hitting my head against the wall (have pity on the poor wall) I thought I'd give …

Member Avatar for |-|x
0
177
Member Avatar for dgibbons82

I am new to PHP/MySQL and currently working on a project to learn it a little better. I have a bit of PHP code and it has a problem that I'm having a little trouble figuring out. Basically, it is taking session data and writing it to a MySQL database. …

Member Avatar for veedeoo
0
304

The End.