39,323 Topics

Member Avatar for
Member Avatar for lisan28

Hello everyone! I was trying to follow along with this tutorial: [url]http://www.sitepoint.com/article/watermark-images-php/[/url] and everything worked fine until the end. Basically I'm trying to write a script that both resizes and watermarks images for a couple of websites I'm working on, so that I don't have to go through and do …

Member Avatar for lisan28
0
112
Member Avatar for theimben

Hello. Ive got this script which scrapes [URL="http://www.imdb.com"]IMDB[/URL] for their top 250 movies list but its not parsing and Im not sure why. Could you help me out please.... [code=php] <?php function get_inner_string($a,$b,$c) { $y = explode($b,$a); $x = explode($c,$y[1]); return $x[0]; } //Get Page $file = 'http://www.imdb.com/chart/top'; //Open Page …

0
56
Member Avatar for desiguru

For some reason when i was creating my database I messed up in inserting data into mysql and now all dates are in yyyy-mm-dd format so when the data are displayed it seems like (2007-06-26) How do i change that to (mm-dd-yyyy) in php for users to understand it better. …

Member Avatar for buddylee17
0
219
Member Avatar for mjta18

hi.. anyone knows a code for converting text files to .pdf, .jar, .ppt... is there a code for converting text file to these files... pls help.. thanks...

Member Avatar for almostbob
0
138
Member Avatar for shaneog

Hi there, I am trying to divide a single array into multiple arrays using a $variable. The $variable is the number of fields / columns in my db table. For example, if $variable = 3... Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] …

Member Avatar for shaneog
0
62
Member Avatar for wwwmadeasy

hi there i want help doing the following.. user come to the web site there will be a form for registration when he submit the information it will store in the database but only admin can verify his account ... can any one plz help me in that... thanks in …

Member Avatar for wwwmadeasy
0
164
Member Avatar for bhavik_thegame

Hello Guys, Is there a way or module I can integrate drupal along with jquery?

0
88
Member Avatar for bigbadbrad

I am developing an application for an inbound call center to enter orders. They need to be able to record each call automatically from within the web application. (I want this to be invisible to the user if possible). I want to launch sound recorder when a user clicks a …

Member Avatar for sanishan
0
180
Member Avatar for aodpreacher

Hi am a new programmer and i am a CS/Graphics major. i have already learned Python, xHTML/CSS and i am in the current stage of learning java( i don't think this top portion really mattered) my question is what should i learn next? PHP or Ruby on Rails? i am …

Member Avatar for aodpreacher
0
87
Member Avatar for digital-ether

I'm trying to create an Alpha Numeric List of links. Each alphabet links to a page that will display rows whose titles start with that alphabet or numeral. For each alphabet, I want to get the number of titles that start with that alphabet. This allows me to link only …

Member Avatar for digital-ether
0
266
Member Avatar for warren23

Hi everyone I am new to php or programming but am learning very quickly. only thing is i have been asked to build a site for a company that sells blinds, so the user needs to enter in measurements and i need to do a 9d array or 7 tables, …

Member Avatar for Will Gresham
0
69
Member Avatar for danielpataki

Hi everyone! I'm working on coding my own forum and I have no problem with this, I would like to ask those of you knowledgable about the inner workings of php and mysql about which method is faster. So far I have always been determining post counts, discussions started counts …

Member Avatar for danielpataki
0
135
Member Avatar for smartness

Hi, I'm maintaining a script, and want to add a CallBack home function, to know which domains are using the script! Can someone help me on this one! All i need is the script to show me the domain where the call is comming from! Thanks in Advance!

Member Avatar for mschroeder
0
341
Member Avatar for finance-blog

I have some code that is called from with other files, using readfile so there is no referer etc. To authenticate that the request is where it should be from, the php is passed a calling url as part of it parameters. The idea is that I can then check …

Member Avatar for digital-ether
0
113
Member Avatar for jrafique

Is there any difficulty in optimizing the php website? If it is then post here.

Member Avatar for canadafred
0
56
Member Avatar for bhavik_thegame

Hello guys. I am very much new to drupal. Its really fun working on it. Well, the problem I am facing is that How do I make menus in drupal. for e.g Categories are Car & in that I have the names of Cars. So "Car" is the parent menu. …

0
81
Member Avatar for dongodwins

am currnetly writing a scripts that can rorate banner ad.the scripts is working but still having problem its working perfectly,need something,Each advert change shall be logged in a file. Make a script that prints the log in a readable format when accessed through the web server.this is my codes can …

Member Avatar for dongodwins
0
90
Member Avatar for praveenvarghese

I am gonna create a site which rates the websites which are added to the list by completing a form. On typing the website name that website will be added to our ratings list. I am posting this thread to ask you guys whether my logic went right. It goes …

0
50
Member Avatar for smartness

Can someone help me creating a script that can check these things: if [B]latest.txt[/B] is chmoded 777 if [B]count.txt[/B] is chmoded 777 if [B]comments.txt[/B] is chmoded 777 Check if [B]cURL[/B] is enabled Check if [B]mod_rewrite[/B] is enabled

Member Avatar for smartness
0
170
Member Avatar for rajeesh_rsn

Hi , I want to show content of tables in a database in a PHP page. And I did it successfully. I had around 1500 rows in that table. Now the problem is the PHP page showing all the 1500 rows in a single page.. Please help me to limit …

Member Avatar for rajeesh_rsn
0
120
Member Avatar for nitu_thakkar
Member Avatar for Smurf_UK
0
231
Member Avatar for syazuchan

I want to build a simple search system. I have this one page call search.php which I had a multiple select box that i retrieve from the database.. some of the code are like this: [CODE]<form method="post" action="modulartabulated.php"> <table width="75%" border="0" align="center"> <tr> <td>Date:</td> <td><input type="text" name="date" /></td> </tr> <tr> …

Member Avatar for syazuchan
0
125
Member Avatar for marcosjp

Hi there, I'm building a multilanguage CMS based Web site using PHP 5- MySQL and I'm facing problems with languages. From what I've been reading I must use charset UTF-8 (as Wikipedia uses this I guess this is realy the right choice). Now, I must also know how to store …

Member Avatar for marcosjp
0
265
Member Avatar for SkyVValker

I m new in php.i want some help in my code..plz.. i have 15 image in mysql table .and i want to retreive atleast 3 images in first row.den other 3 in second row..how can i make it possible.. the code is given below..! [code=php]<?php include "dbconfig.php"; ?> <link href="main.css" …

Member Avatar for SkyVValker
0
206
Member Avatar for dourvas

Happy new year to everyone.. in my sql db there r 2 tables. mathimata and apousies from table -apousies- i "select" some data (the amount of absences) for a particular person (student) for every class he attended. i want for every class of the above result to search in table …

Member Avatar for DiGSGRL
0
170
Member Avatar for DennyW

I do not know the proper way to reword this to work in my version3.0.4. Any help would be much appreciated. This is what I have there now, 3.0.4, subsilver2: S_USER_LOGGED_IN --> <!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- …

0
113
Member Avatar for pnorten462

this is because of the time it takes to upload the files. if you upload too many at once your php script has a good chance of timing out while it waits for all of the files to upload and die. this is especially true if the files are big.

Member Avatar for DiGSGRL
0
108
Member Avatar for SOB224

I am trying to keep two menu lists' option in variables but i dont know whether to use "selected" or "select name" to assign value 1st one which brings "Student Numbers" rows from its column in selected class table. [code=php]$query="SELECT StudentNumber,Student_id FROM $CC"; $result = mysql_query ($query); echo "<select name=\"STUDENT\" …

Member Avatar for DiGSGRL
0
145
Member Avatar for SOB224

I have created two table by generating via forms. My question is although second table's foreign key appears on phpmyadmin it doesnt have that same value with the first table's primary key. currently foreign key has all zero values in all of the rows. Table codes: [code=php]$sql2='CREATE TABLE IF NOT …

Member Avatar for SOB224
0
187
Member Avatar for dourvas

hallo, i have align problems about my data into a html table. In Firefox everything is ok aligned to center. in IE everything is alligned to left and thats not ok my code [code=php]</head> <body bgcolor=#FF8000> <div align='center'> <table border='1' align='center' width="80%" cellspacing="0" cellpadding="0" bgcolor=#FFFFFF> <tr allign='center'> <td align='center' width="492" …

Member Avatar for dourvas
0
260

The End.