39,402 Topics

Member Avatar for
Member Avatar for Acute

Anyone knows how to just view the Excel doc in a browser, so that it can be editable(it saves the changes when you close the browser tab)?? Try to open xls file with IE and it will ask you:Open or Save? Click on Open button and you will see what …

Member Avatar for chrishea
0
71
Member Avatar for jyotiu

Hi all I am using CURL to reach a page ,now i want to extract this from the page [ICODE] <object classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" width="640" height="303.33333333333" codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab" id="object701207571"> <param name="autoPlay" value="false" /> <param name="custommode" value="Stage6" /> <param name="src" value="" /> <param name="movieTitle" value="Titanic" /> <param name="bannerEnabled" value="false" /> <param name="previewImage" value="http://stagevu.com/img/thumbnail/oripmqeqzrccbig.jpg" /> …

Member Avatar for cwarn23
0
123
Member Avatar for OmniX

List of possible php functions validation: strip_tags() nl2br() htmlspecialcharacters() escapeshellarg() addslashes() stripslashes() realpath() basename() umask() is_uploaded_file() move_uploaded_file() magic_quotes_gpc() mysql_real_escape_string() Now obviously some of these are not required for input validation but I thought I might as well list them. Now I would like to make some function to check against …

Member Avatar for cwarn23
0
216
Member Avatar for tortoiseman

Hi, I've never used PHP before so I don't even know if I'm posting in the right place, but I'm wondering if it's possible to scrape information from a dictionary-like Web page. I want to take a list of words and retrieve piece of information about each word, but the …

Member Avatar for tortoiseman
0
139
Member Avatar for baudday

Can anyone provide me some tips on user management using php? What do you consider to go about registering users and allowing them to login.?

Member Avatar for baudday
0
103
Member Avatar for punitdam

Hi, I am new to PHP and Mysql development . I had installed RHEL5 Server, Apache, PHP5 and MYSQL5.1. I got below script which actually give status of the Apache, PHP and MYSQL. [code] <?php session_start(); ?> <!-- INSTRUCTIONS: 1. Please copy this file anywhere in the DocumentRoot of your …

Member Avatar for nav33n
0
202
Member Avatar for ChintuChowdary

HI TO ALL... how to find and get mac address using php. THANKS IN ADVANCE..........

Member Avatar for ChintuChowdary
0
109
Member Avatar for Acute

Hi everybody! I have a problem here while using an http authentication: when you open the page with http-auth code in the browser, the user-name and password box appears-it is Ok, however, I can't make the user-name&password box to apperar again....For example, if you login wrong user-name or pw you …

Member Avatar for jbennet
0
108
Member Avatar for dirtydoug08

hello, i have a website that has my portfolio its running almost 5 months until one day my host server crash and failed to recover my files and some data now i am stuck again with this simple code like before i have made a solution before but that was …

Member Avatar for dirtydoug08
0
127
Member Avatar for vanessia_1999

Hi everyone, I am new to PHP and I am not understanding some of it functions and rules on how to do things. I have a few questions but I will work on one at time so that I can understand and absorb the information giving to me. The problem …

Member Avatar for vanessia_1999
0
114
Member Avatar for rajeesh_rsn

Hi i wrote a code for image upload and watermarking. It is working fine in Jpg but not in gif.... The code is [ICODE] $ext = end(explode('.', $final_file)); if($ext == 'jpg'){ $ext_new = 'jpeg'; } elseif ($ext == 'JPG' || $ext == 'JPEG'){ $ext_new = 'jpeg'; }else { $ext_new = …

Member Avatar for cwarn23
0
234
Member Avatar for silh

Hi guy I've been having a weird situation for a couple of day... I have this button that is suppose to pass parameter in the $_GET array but it doesn't. Here is the code: [code] <html> <body> <form action="test.php?action=test" method="get"> <input type="submit" value="Test"/> </form> </body> </html> [/code] what happens when …

Member Avatar for silh
1
276
Member Avatar for ashafaaiz

Hi, How can i upload a text file using move_upload_file() in php because it returns error like Warning: move_uploaded_file(/thenewcareers.com/httpdocs/newcareers/demo/jobseeker/resumes/email.txt) [function.move-uploaded-file]: failed to open stream: No such file or directory in D:\inetpub\vhosts\thenewcareers.com\httpdocs\newcareers\demo\jobseeker\upload.php on line 19 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\Windows\Temp\php99A0.tmp' to '/thenewcareers.com/httpdocs/newcareers/demo/jobseeker/resumes/email.txt' in D:\inetpub\vhosts\thenewcareers.com\httpdocs\newcareers\demo\jobseeker\upload.php on line 19 if anyone …

Member Avatar for cwarn23
0
181
Member Avatar for vidhyaponnusamy

Hi, I'am new to PHP but i'am currently doing the project in PHP only,i want to use function return values in another form,the return value is a value retrieved from MYSQL,just see my code ------------------------------------------------ form1//where i calling my function [code=php]selecttbl("user"); while($row=mysql_fetch_array($result)) { for ($i=0; $i<mysql_num_fields($result); $i++) echo $row[$i] . …

Member Avatar for vidhyaponnusamy
0
85
Member Avatar for prawin@123

Hi I am new bee to JS and PHP, i have a code to display the images from directory in the path C:\wamp\www\prawin\new\locations\test\admin But this code didnt works . can any one help me. My code is [ICODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> …

0
71
Member Avatar for queenc

hi, in my application i have using editor for the jobseeker to paste their resume.butthe editor is not working properly can anybody tell wat is are alternative.i wanted the user pasted data to as it is when it is viewed thanks

Member Avatar for queenc
0
86
Member Avatar for BzzBee

hello I want to execute some queries at specific date with out any action on event(i.e on load, on change). I want the file placed on my server will automatically execute at the first of every month. would you help me????? Its Urgent..

Member Avatar for BzzBee
0
151
Member Avatar for veledrom

Hi, I want use Drupal to develop an example web site. I have installed Drupal and done database things. It is ready to go. But how do i create pages. I think it is not same as what we do in Dreamveawer. Thanks

Member Avatar for ithelp
0
48
Member Avatar for darkagn

Hi all, I am trying to run a javascript function, RH_ShowHelp, that is stored in the file RoboHelp_CSH.js. The function itself should open a popup window containing our product's help system (written with Adobe RoboHelp) and the javascript file was supplied by Adobe as the standard call. I have managed …

Member Avatar for hemasow
0
20K
Member Avatar for cwarn23

Hi, I'm making a site security tester which is basically a bot that scans a selected website for any php security holes such as sql injections then reports them to the user. I have managed to write the bot and all but the last piece left is the function that …

Member Avatar for cwarn23
0
192
Member Avatar for alpha_gear

I'm doing a project and our structure of our page should be based to a current XML. now i am having difficult to find out how to generate the simpleType SOAP value found in the XML. and XML code looks like this. ... <simpleType name="useraccount"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="username"/> <xsd:enumeration …

0
64
Member Avatar for alpha_gear

I'm doing a project and our structure of our page should be based to a current XML. now i am having difficult to find out how to generate the simpleType SOAP value found in the XML. and XML code looks like this. ... [code=xml]<simpleType name="useraccount"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="username"/> <xsd:enumeration …

Member Avatar for junrest
0
183
Member Avatar for TheWhite

I've spent hours trying to get this to work, but I can't seem to figure it out. This site has been good to me with my java problems and I saw this php section so I figured I'd come back and give it a try. What I have and assume …

Member Avatar for TheWhite
0
1K
Member Avatar for EPierre

How can the user obtain a specific result by choosing values from 2 dropdown list. As a result, the value obtained can not be modified by the user.The table of ten rows by ten columns have to be stored in a mysql dbase.. It's certanly possible , but tedious and …

Member Avatar for EPierre
0
142
Member Avatar for thompson007

I want to check weather or not a string contains (alpha numeric characters and "-") only without spaces and other stuff... *but it must contain atleast one alpha numeric character and a maximum of two "-" example: value could be "-asd-"or "ads-" or "asd7" or "ads or "a-7ds" I am …

Member Avatar for ShawnCplus
0
66
Member Avatar for Borderline

I'm experiencing problems with this gallery tutorial - the following error message is being displayed: [B]Error message: Parse error: syntax error, unexpected T_ECHO in /equinefocus.co.uk/photos/2009-03-21/gallery.php on line 87[/B] I've tried altering line 87 but had no success so far. I removed lines 86-88 out of interest, but the error messageindicated …

Member Avatar for chrishea
0
213
Member Avatar for mrcniceguy

In my website i want to introduce a link where people will see who joined the site for example today,yesterday one week ago,2week ago and one month ago... how i`m i going to do this in php?

Member Avatar for darkagn
0
122
Member Avatar for chrishea

If you are still using AVG anti-virus Version 7 and you're about to install the latest version in response to the threats about end of support for Version 7, be aware that there are a couple of problems: [LIST] In Vista, the install can have a problem if User Account …

Member Avatar for cwarn23
1
122
Member Avatar for ekachai_sing

I use MySQL-Front tool create and call Stored Procedure successfully, but in my PHP code and phpMyAdmin it fails. How can i figure out this problem when i run on phpMyAdmin the error show #1305 - PROCEDURE joomla1.5.9.save_orders does not exist this is my code of procedure [code=sql]DROP PROCEDURE `save_orders`// …

Member Avatar for pritaeas
0
181
Member Avatar for santhanalakshmi

Hi, I need to pass more than one value to next form using header function.this is my sample code. header('location:option.php?$uname='.$myusername.'+password='.$mypassword); i am able to pass single value,but when i tried with more than one value as above,i am facing the problem please help me.In second page i retrive the values …

Member Avatar for santhanalakshmi
0
72
Member Avatar for xila

I have been trying on this code for so long but I can't seem to find out why the rows could not be displayed / could not be fetched. The checkboxes are present but no info Please help! :(( [code=php]<?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // …

Member Avatar for nav33n
0
129
Member Avatar for baudday

[CODE]$realUser = mysql_query("SELECT Username FROM my_db WHERE Username = $user ");[/CODE] This is not storing the $user value to $realUser. I am correctly using $_REQUEST['user'] to retrieve the value for $user from a form, and I am connected to my database. I understand there is an issue with PHP variables …

Member Avatar for nav33n
0
716
Member Avatar for Phaelax

I installed php (4 i think) and added the extension to iis. When I try to view a php file through the web browser, I get the following error: [quote] [b]CGI Error[/b] The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did …

Member Avatar for nav33n
0
131
Member Avatar for rEhSi_123

I have a issue with displaying wether a ADMIN or a USER on my forum. If a user is ADMIN then it displays the user as ADMIN but if the user isn't an ADMIN it still displays it as ADMIN which I dont want. Could somebody please check my code. …

Member Avatar for darkagn
0
122
Member Avatar for arvindikchari

I am using cubecart as the shopping cart for my website, I want to change the Order confirmation message from "Thank you, your order was successful and payment has been made! Your goods will be dispached as soon as possible. Please visit again soon." to the following message: [code] Thank …

Member Avatar for arvindikchari
0
137
Member Avatar for rajeesh_rsn

Hi i write a code for uploading images and re-size it in my site. I need to do a watermark in uploaded images. Please help me.. The code is as follows : [ICODE]$finalfilename="share/".$final_file; $src = $po($finalfilename); list($width,$height)=getimagesize($finalfilename); $newwidth=300; $newheight=200; $tmp=imagecreatetruecolor($newwidth,$newheight); imagecopyresampled($tmp,$src,0,0,0,0,$newwidth,$newheight,$width,$height); $filename = "share/".$final_file; imagejpeg($tmp,$filename,100); imagedestroy($src); imagedestroy($tmp);[/ICODE] Please help me …

Member Avatar for rajeesh_rsn
0
78
Member Avatar for murray_ramadhan

hey there this problem stuck me out how to display url like this [CODE]http://www19.domain.com/548ecedd7f87970e986dc19077ef2edd.rar[/CODE] [CODE]preg_match_all('#^(?:http://)www[0-99]([^/]+)#i',$url,$parts); foreach ($parts[1] as $test) { echo 'hehehe '. $test; }[/CODE] and the result is: [CODE] hehehe 9.domain.com[/CODE] it just stuck me out i'm already search the answer at least 5 hours :( i do not …

Member Avatar for murray_ramadhan
0
62
Member Avatar for mrcniceguy

have a script which i found online,through google for uploading and resizing photos when they are uploaded. It works well,the only problem is that there are some images when i upload them they are not detected as a file,but others are uploaded well. for example image of this properties is …

Member Avatar for mrcniceguy
0
163
Member Avatar for ryan311

im using dreamweaver everytime i preview my templates the image did not load in browser? please help. .

Member Avatar for ryan311
0
181
Member Avatar for BORAX

well first all, thanks for all help i have recive here before, just to make things cleare just cuse i olmoust got someone in trouble on other forum, this is not to make something ilegal or to cuse any spam. is for a privete forum and support i have!! this …

Member Avatar for BORAX
0
288
Member Avatar for kevin wood

this code was working fine until i changed the way the site loads the content (it now loads the content into a div tag) and since then it will not populate the menu. the page can be viewed at [URL="http://acmeart.co.uk/pip_new"]this site[/URL] you will need to go to the sub links …

Member Avatar for kevin wood
0
134
Member Avatar for chichi

hello All please help i have a website i got from Geodesic. but wen i try to log on to the backend /admin i get this error: The specified CGI application misbehaved by not returning a complete set of HTTP headers. please help anyone.

Member Avatar for AnDurugkar
0
214
Member Avatar for kevin wood

i have these two pages of information which are stored on a php page which then feeds the main div tag on the index page. the problem i have here is that a scrollbar shows up on the first page but not the second. so to see the rest of …

Member Avatar for nav33n
0
149
Member Avatar for srilakshmitr7

In php if we provide a particulr date how to display the name of the day i.e; whether that day lies on sunday or monday... Can you please give me idea.

Member Avatar for nav33n
0
102
Member Avatar for queenc

hi i have a date in which i want to add the the days .and find the date.

Member Avatar for queenc
0
124
Member Avatar for vssp

hai friends How to paly song when page laod using php code? I my php application when i load the home page automatically pale song Its possible !! ??Please give me any idea Thanks vssp

Member Avatar for vssp
0
173
Member Avatar for shasha821110

Hello, all I want to implement the required portfolio function and print out the customers related symbol name, symbol buyin price ,symbol quantity, symbol last trade price, the changes etc But i found some issues with it. Here is my code: [code=php] //fetch the element from mysql while ($row = …

Member Avatar for nav33n
0
121
Member Avatar for queenc

[CODE] $expiredate='2009/03/31'; $cdate='2009/03/03'; $dateDiff = $expiredate - $cdate; $fullDays = floor($dateDiff/(60*60*24)); [/CODE] the above method i am using to find the difference between two date.but it is not working.can any one tell me how to find the difference using php.

Member Avatar for queenc
0
77
Member Avatar for jessicama

This is urgent. I have a complied php file, the file appears to have been run through an intentional obfuscation process with something called ionCube. I need someone to de compile this file to source file ASAP. Please contact me at <SNIPPED> so I can send this file to him

Member Avatar for almostbob
0
72
Member Avatar for agent007

Hi all On my test Apache (2.2.11) & PHP (5.2.8) server, as most will be no doubt aware, placing custom php.ini files in individual document root directories override the directives in the master php.ini file which is in "/etc/httpd". Whilst this can be a useful feature, there are certain directives …

0
91

The End.