39,316 Topics

Member Avatar for
Member Avatar for damnpoet

Hi, I trying to create some dirs like this: [CODE]@mkdir("photos/$cat/$sku", 0777, true)[/CODE] it creates the first directory with 0777 permissions, but when it creates the second is uses 000 as it's perms, so it fails to create the third. A workaround this please? Thanks, Richard.

Member Avatar for nith
0
70
Member Avatar for futhonguy

Hi i am trying to display on the web browser to allow user to see information before the latest data is been updated. Hence, it will show: [B](1)previous existing data, (2)latest data and (3)data which is not found on the latest data list[/B]. To make things clear to solve the …

Member Avatar for futhonguy
0
143
Member Avatar for dreamerscove

Hiya! Nice place you have here :) I would like to set up sms text jokes for my website. I hope I'm asking the right thing?! I want members to be able to send text jokes to their friends. Nirvana would be if they could send text, pics/video, and mp3. …

Member Avatar for Forged
0
78
Member Avatar for mikeandike22

Hello I am developing a module / script that gets information stored about user nodes in the drupal database and sends it to our Salesforce lead generation form. So I am pretty new to this and have a couple of questions that I think the community might be able to …

Member Avatar for mikeandike22
0
80
Member Avatar for hireaprogrammer

Hello, Just need quick help in PHP + SQL SERVER 2005 DB CONNECTION ...i having problem while connection SQL SERVER 2005 WITH PHP APPLICATION WHICH WORKING PERFECTLY IN LOCALHOST AT MY PC BUT IT NOW NOT WORKING ON THE SERVER SO DON'T KNOW WHATS WRONG ? I THINK ANY SERVER …

0
84
Member Avatar for psank

Hello, I am trying to generate pdf on the fly in through php using TCPDF package. My table contains 70 columns, which i need to write into pdf. Only some 5-8 columns are writeen into pdf and rest of the data is cut as the width of the pdf page …

Member Avatar for psank
0
78
Member Avatar for daryll1

Hi I'm writing a piece of code to update a users password when they have forgotten it, but, for some reason I cannot seem to get it to work. It is always echoing out that the secret answer is wrong. It's probably something stupid that I have looked over, if …

0
81
Member Avatar for 4789787

I have this game and it either takes REALLY long to load a page, or sometimes it loads in a second, and half the time you get a 500 internal server error. What would cause this iradic behavior of loading really well sometimes and giving an error other times, or …

Member Avatar for whiteyoh
0
45
Member Avatar for tapuwa2002

Please help, I have designed a form, that contains an upload button. The form can only take file upto the size of 1mb. Every time I press the submitbutton I get: [B]Notice: Undefined index: myfile in F:\wamp\www\Site\CRUD\Upload\insertscript.php on line 9 Invalid file type [/B] this is my form and below …

Member Avatar for whiteyoh
0
1K
Member Avatar for freezman

Hello, im from Norway and doing a job i php. I was wondering if you could help me. Im makeing a script for a tender web site. The web site will contain as following: Home Register Tender Register Company Contact When i register a tender i must fill out information …

Member Avatar for rokape
0
85
Member Avatar for Szabi Zsoldos

Hey guys, I know that the query is not good, but i CANT see the problem. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\XAMPP\xampp\htdocs\betania\modify.php on line 8 Could you please help me out? [CODE] <?php include "connection.php"; if(!isset($_POST[submit])) { $q = mysql_query("SELECT * FROM inscrieri WHERE …

Member Avatar for Szabi Zsoldos
0
142
Member Avatar for RichmondJim

I'd like to create a simple PHP form that will allow my website user to make a payment on their account with us using PayPal. I'd like them to enter their name, email address, account number, and the amount they'd like to pay. I would then like to pass this …

Member Avatar for RichmondJim
0
151
Member Avatar for P0lT10n

Hello, my name is Matias (Mathew for english people) and I am 16 years old. And I am from Argentina !!! I joined this Community because I know a lot of things that I can share here of simply respond... I am a student from an idustrial school call Huergo …

Member Avatar for MikeVera
0
203
Member Avatar for cloud09

I am wondering if it as good idea to set up a website that has only one actual page, but includes different pieces depending on $_GET variables. What are the pros and cons of setting up website this way? Would it be a better idea to have multiple physical pages …

Member Avatar for rokape
0
79
Member Avatar for canterorist

hi! i have problem with my class. if i require the class to my index page and their is get method. Something syntax error with my page. what other ways to correct this error?

Member Avatar for rokape
-1
59
Member Avatar for arunajasmine

Hi, how to write the MYSQL Query select count(*) from (SELECT user_id FROM `reports` group by report_id) as tb where tb.user_id=5 in Cakephp inside the Loop [CODE]$users=$this->User->find('all'); foreach($users as & $user): //for each $user['User']['user_id']; which gives the User ids as 1 2 3 4 5 ... endforeach; $this->set('users', $users);[/CODE]

Member Avatar for marck_don
1
168
Member Avatar for situ_info

How to coordinate a php variable with a javascript variable and store the final result in a php variable.

Member Avatar for urtrivedi
0
42
Member Avatar for rime
Member Avatar for rstill1
1
10K
Member Avatar for cloud09

Is there any reason not to echo content like this: [CODE] <!--Some content up here--> <?php if($variable === true) { ?> <span>Some Content</span> <img src="some_img.png" alt="img"/> <?php ;} ?> <!--Some more content down here--> [/CODE] Or should I be directly echoing everything that is dynamic?

Member Avatar for cloud09
0
130
Member Avatar for mcatominey

HI, I have a script which reads an xml feed then uses a loop to insert information from that feed into a multi-dimensional array. I need to sort the array by 'day' before outputting, day is a dimension of the array. Below is a print_r() of the array after the …

Member Avatar for nileshgr
0
147
Member Avatar for brookebb

Looking for help, I'm creating a form that would be filled in online and is then sent to me via email. I cant figure out how to get the email to populate a drop-down menu option. Here is the code of the email coming to me: [CODE=text]Name: [output name='Name'] Street …

Member Avatar for almostbob
0
87
Member Avatar for edwardsmarkf

hello all (first time posting for this newbie) lets say i have a query that looks something like this: SELECT whatever FROM myColors WHERE color [B]IN[/B] ('red', 'green', blue', 'purple') i would like to be able to use bind_param to access this query, something like: sql: SELECT whatever FROM myColors …

0
44
Member Avatar for sallecpt

the first image is what I have, the second image is what I want to achieve. below is my code. its basically displaying mysql data in columns. but I need to get rid of that huge gab. [CODE]<?php if (!function_exists("GetSQLValueString")) { require_once ($FolderFunctions.'getvaluestring.php'); } mysql_select_db($database_classi, $classi); $query_docategories = "SELECT catID, …

Member Avatar for sallecpt
0
105
Member Avatar for sallecpt

First of all, love the purple theme! If anyone could help me with this. I have read and tried numerous samples from other forums, but all is the same as what I have done. I am building a small classifieds site for my church. I wanted to display data in …

Member Avatar for sallecpt
0
170
Member Avatar for mrjoli021

Why am i getting this error: Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /Users/Joli/Sites/TestSite/index.php on line 47 [code] $conn = mysqli_connect("localhost","sql","password","db") or die("Query died: Connect"); $checkSql="select count(id) as eCount from address"; $result = mysqli_query($conn,$checkSql); $row = mysqli_fetch_assoc($result); if($row['eCount'] == 6){ $disable = 1; } [/code]

Member Avatar for ShawnCplus
0
105
Member Avatar for bjeffries

is it possible to use PHP to update an RSS feed. I dont already have the RSS feed created, but my site is finished, well for now it is, and want to know if it is possible to do this. My site is scripted using PHP and and every time …

Member Avatar for bjeffries
0
191
Member Avatar for kram54

hi everybody .. i want to use post method but not working i dont send to data ... pls help me[code]//i want to send userID and roleID in database .. i use to this code ::: <?php echo "<table border='1'> <tr> <th><font color='white'><h3>User ID</font></th> <th><font color='white'><h3>User Name</font></th> <th><font color='white'>Roles</font></th> </tr>"; …

Member Avatar for kram54
0
110
Member Avatar for Checkerboz

Okay first of I want to apologize for the horrible title, I really couldn't come up with a decent title to be honest. Here's my problem, I am kind of new to all this but I'd like to try making (just for fun of course) a database. I have a …

Member Avatar for Checkerboz
0
287
Member Avatar for kram54

hi my code is not working when to running .. it create to mysql files but ..not create to my table and it created to table 0 byte ... why ?[code]this is backup code :: <?php $backup=$_POST['text']; $host = 'localhost'; $user = 'root'; $pass = ''; $backupDir = 'c:\'; $backupFileName …

Member Avatar for kram54
0
90
Member Avatar for rutaba

i want to know tha is object oriented php is better or simple php? n which version of php is better yet easy to learn? how much is it different from normal structured php?

Member Avatar for Usernamex235
0
161

The End.