39,316 Topics

Member Avatar for
Member Avatar for ChintuChowdary

Hi To All.. How to create cms(Content Management Site) without using database in php... Thanks In Advance...

Member Avatar for diafol
0
66
Member Avatar for xuexue

i could get the size of the file i uploaded, however, i want to convert it to MB, i dont want to make some computations, is there any easy way to do that????

Member Avatar for xuexue
0
78
Member Avatar for tones1986

I have created a drop down list from a SQL query as follows: [code=php] <?php echo '<form action ="boat_info.php" method="POST">'; $query = "select SHIP_NAME from SHIP"; $result = mysql_query($query, $link); if (mysql_num_rows($result)) { echo "<select name='boat' value='bname'>Ship Name: </option>"; while ($row = mysql_fetch_row($result)) { print("<option value=\"$row[0]\" name =\"bname[]\">$row[0]</option>"); } } …

Member Avatar for cybersat
0
974
Member Avatar for borntowin_786

//php file [code=php]$strSheetName = 'test'; $objXLApp = new COM( "excel.application" ) or die( "unable to start MSExcel" ); $objXLApp->Workbooks->Open( "path/test.xls" ); $objXLSheet = $objXLApp->ActiveWorkBook->WorkSheets( $strSheetName ); $i=3; do { $strCellName = 'B'.$i; $objXLCell = $objXLSheet->Range( $strCellName); $i++; echo $objXLCell->Value()."<br>"; }while($objXLCell->Value()); echo $i; //print $objXLCell->Value(); //objXLsheet.Range("A1:A100") //print "Cell $strCellName in $strSheetName: …

Member Avatar for borntowin_786
0
139
Member Avatar for k2k

i just downloaded a login script and the code below is the php backend for the login. It is originally using md5 encryption and decryption for the password. For some reason I want to manage the password without encryption for now. my database has a member with login name and …

Member Avatar for k2k
0
119
Member Avatar for xuexue

hi guys! this is my problem, let's say the user wants to edit the file's information, not the file itself. example, i have Document1.doc, that is my file, what i want is that the user could edit the information, let's say the time it was uploaded, the filename and not …

Member Avatar for xuexue
0
1K
Member Avatar for CFROG

I'm working on a script that handles a member sign up. Upon submission of new member info the script queries the users table to check for duplicate user name (in this case an email) and return an error if duplicate is found. If not I want it to just submit …

Member Avatar for humbug
0
137
Member Avatar for xuexue

hi guys, i already have a working upload.php, now the problem is that the file cannot accept pdf files? but other than that, it works very well, what do you think should i do with this? [code] echo"<form enctype='multipart/form-data' action='fileRecs.php' method='POST'>"; echo "<input type='hidden' name='MAX_FILE_SIZE' value =1000000/>"; echo "Choose a …

Member Avatar for xuexue
0
76
Member Avatar for cali_dotcom

hi, im not such a php expert and i want to parse a csv file located at [URL="http://www.totalbeauty.com/resource/lists"]http://www.totalbeauty.com/resource/lists[/URL]. does anyone know how i can do this, what to watch out for, the best way to do this and just general tips for parsing files. thanks..

Member Avatar for almostbob
0
128
Member Avatar for veledrom

Hi, This is actual link [inlinecode]http://www.xyz.com/list.php?id=1[/inlinecode] How can i show it like this [inlinecode]http://www.xyz.com/?id=1[/inlinecode] in the address bar? Thanks

Member Avatar for diafol
0
59
Member Avatar for codemaker

I find it hard to explain so I'm going to write down my code test.php [code=php]<?php if ($_GET['value']=="1") { $x='It is working fine'; exit(); } ?> <html lang="en"> <head> <script type="text/javascript" src="ajax.js"></script> </head> <body> <form method="post" action=""> <select name="s" onchange="makerequest('test.php?value='+ this.value)"> <option value="">Select One</option> <option value="1">One</option> </select><br/> <input type="text" id="res" …

Member Avatar for diafol
0
244
Member Avatar for kbjustin

Basically I have created a site where someone can view a table which contains information about various servers. They can also create a report from this table selecting the fields they want to see in their report. Each field can be selected through a checkbox and there are 16 different …

Member Avatar for kbjustin
0
79
Member Avatar for vikter

Hi, Kindly assist me on how to come up with a php script that can send sms via a cell-phone connected to my computer using AT&T commands

Member Avatar for Salem
0
127
Member Avatar for jameswoodhouse

Hi there, basically i'm trying to write a php script that allows me to retrieve the tour dates for my band from a MySQL table. I want the gigs.php page to show every upcoming gig that there is. On gigs.php i want a link to gigarchive.php which features all passed …

Member Avatar for diafol
0
144
Member Avatar for hitman123

I have created a search box which potentially works. But I wish to insert the results in to the text box rather than having them on the page. I've been working on this for literally 3 days but getting no where, please help. I have a text box and a …

0
48
Member Avatar for xuexue

i want to access the information of my uploaded file in php, let's say that i have Document1.doc, i want to edit its information, let's say the time it was uploaded, its filename and like that, not necessarily the file itself. thanks in advance...

Member Avatar for diafol
0
95
Member Avatar for thatko

Hi everybody, I tried to login [URL="http://muare.vn/Dangnhap.aspx?returnUrl=/forum/default.aspx?group=2"]this site [/URL] by cURL. But i keep getting this error: [QUOTE]Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed …

Member Avatar for diafol
0
415
Member Avatar for whiteyoh

Hi All, Im trying to find a method to allow files to be: 1. Uploaded and stored in a mysql database 2. List them, with "change" and "delete" options 3. Allow them to be downloaded, or even just viewed I have tried using blobs, but to no avail. I have …

Member Avatar for diafol
0
97
Member Avatar for gmchun83

I just want to dispay all row from mysql table but got error as following: Note:I am using hostgator and try to display 40,000 query. [CODE]Warning: mysql_query() [function.mysql-query]: Unable to save result set in /home/firstint/buygadget/sitemapg.php on line 11 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in …

Member Avatar for Menster
0
101
Member Avatar for xuexue

hi guys, i have my upload.php, now the problem is that it does not download pdf files, it says that there is a problem with regards to the uploading. can you help me??? thanks in advance...

Member Avatar for xuexue
0
1K
Member Avatar for elamigosam

Hi I was wondering if there is a way to make a tutorials website with php, like html tutorial, show code in the site. then... have a database with the tutorials then pull the title in a tutorials.php site then to be able to add html code and php code …

Member Avatar for diafol
0
104
Member Avatar for srimks

Does anyone has "Leave Application Format" where leave is categorised into SICK & EARN LEAVE, here one needs to enter information into mysql throught PHP and retrive it. I have few queries, how do I take care of following - (1) If any public holidays comes between SL or EL …

Member Avatar for guru12
0
80
Member Avatar for gagan22

Hi all, I am working on an application. In this application i am using one form and in this form i am using security_code is neccessary to fill and that code should be correct. But problem is that when i am running this submit form on localhost or on my …

Member Avatar for gagan22
0
133
Member Avatar for nostalgia149

where in php can we use the id of a web page....... whose property this id is....... is it ogf the target page or the current page v r refering to.................

0
47
Member Avatar for xuexue

i can already the upload and download files, the thing is that i want to access the folder "uploads" because all the uploaded files are in here, the thing is that when i'm using this one, it works when the uploaded files are merged with my php files, the problem …

0
85
Member Avatar for xuexue

hi guys, just wanna know, how could i download a file using php script? it is possible with visual basic 6 but the problem is how would i do that using php???

Member Avatar for xuexue
0
121
Member Avatar for xuexue

this is what i want to happen, the user uploads the file to the database, (i already have the upload file), now what i want is that the user will be able to download what he had just uploaded to the database. in this case, he will have a chance …

Member Avatar for xuexue
0
102
Member Avatar for Facte

The string below runs as a maintenance script on one of my sites and at the moment it emails anyone who's plan has expired (which is fine) but it also emails people who haven't selected a plan yet because the value is less than today. I was wondering if someone …

Member Avatar for =OTS=G-Man
0
171
Member Avatar for darthvegan117

This is effect I want: [URL="http://haptictheory.com/clients/jh/nav/"]http://haptictheory.com/clients/jh/nav/[/URL]. I want the current page to have the green image behind it so people know what page they're on. This is what I have: [URL="http://haptictheory.com/clients/jh/index2.php"]http://haptictheory.com/clients/jh/index2.php[/URL]. The current page doesn't display the background image except on hover. CSS here: [URL="http://haptictheory.com/clients/jh/css/global.css"]http://haptictheory.com/clients/jh/css/global.css[/URL] Thoughts?

Member Avatar for darthvegan117
0
124
Member Avatar for Facte

All I am trying to do is create an XML feed so that I can submit it to a site. However no matter what I do (albeit with my limited size of brain) all I get are errors. It hates pound signs and apostrophes even if I try the only …

Member Avatar for mschroeder
0
231

The End.