39,310 Topics

Member Avatar for
Member Avatar for Gerbiler

I was just wondering if anyone knew how to make a WordPress menu item only show to an Administrator.

Member Avatar for diafol
0
64
Member Avatar for aaraf

[B]hi since I began programming in php the most thing I used is form but today I wanted to use form inside an html page that have a css style BUT THE FORM INSIDE IT DO NOT WORKED IT IS VERY SIMPLE AND RIGHT BUT IT DON'T WORK i used …

Member Avatar for aaraf
0
156
Member Avatar for vijaygupta

Hello, I am building a stock market website and i want to show all commodities prices rise fall even charts later .first of i want to know whether it is possible or not.If yes please guide me through.Please help any kind of help appreciated

Member Avatar for smantscheff
0
103
Member Avatar for pebesoft

Greetings, This problem kept me searching for a solution for days. I hope someone can help me. I can't find spelling errors Below is part of the form. (The whole form can be had at [url]www.pebesoft.co.nz/ir4312.htm[/url] The other part of the form works OK A Var dump does not show …

Member Avatar for markmatt
0
210
Member Avatar for methuselah90

[QUOTE]Warning: fopen() expects parameter 1 to be string, array given in /home/speedycm/public_html/speedyautos/carphoto.php on line 42 Warning: filesize() [function.filesize]: stat failed for Array in /home/speedycm/public_html/speedyautos/carphoto.php on line 43 Warning: fread(): supplied argument is not a valid stream resource in /home/speedycm/public_html/speedyautos/carphoto.php on line 43 Warning: fclose(): supplied argument is not a valid …

Member Avatar for diafol
0
320
Member Avatar for RisTar

Hi, Im working on an application that works on a timer. There is a timer on a product, and when the timer expires, the application dispatch the NextProduct method that set the next product in queue to be the active one and resets the timer. The timer is basiclly an …

Member Avatar for diafol
0
87
Member Avatar for jambla

Hi, I have been searching here and Google for the past few days but I haven't been able to find an answer. I want to have a script that will download one page of a website with all the content i.e. images, css, js etc... I have been able to …

Member Avatar for langsor
0
3K
Member Avatar for azegurb

hi All I have script that dont has any forms but there used $_POST method I dont understand that function and why there used $_POST method if there is not any Form here is script [CODE]<?php define('INCLUDE_CHECK',1); require "connect.php"; if(!$_POST) { if($_SERVER['HTTP_REFERER']) header('Location : '.$_SERVER['HTTP_REFERER']); exit; } ?> <!DOCTYPE html …

Member Avatar for azegurb
0
111
Member Avatar for mirvine

Ok so let me start off by saying I am not a NOOB. There... So i need help trying to figure out an export of just my 2 colums from a table. Got it done. Now i need to make sure that I only export from a date range and …

Member Avatar for mirvine
0
141
Member Avatar for puvi

Hi ppl, I have a dynamic form, where user can add/remove rows and enter data. This form is basically a invoice. On clicking save button, the data should get saved into db, also a pdf file containing the details of the invoice should be generated. I came across this [CODE] …

Member Avatar for puvi
0
2K
Member Avatar for begueradj

Hello, I have a form from which I post some data into 3 tables: when I click on the submit button I don't get any error message from mysql_error(); but when I look to my 3 tables I see no one of them has received the data I just posted …

Member Avatar for begueradj
0
249
Member Avatar for bangla

[CODE]<tr> <TD VALIGN = 'TOP'> <a href="sendGift.php" TARGET = _BLANK><font color = "#0000FF" size = "3" face = "verdana"> <b>Send Gift </b></font></A><BR></TD> <TD VALIGN = 'TOP'> <a href="sendMoney.php" TARGET = _BLANK><font color = "#0000FF" size = "3" face = "verdana"> <b>Send Taka </b></font></A><BR></TD> </TR>[/CODE] when i click first link(send gift), …

Member Avatar for happytogether
0
148
Member Avatar for aithabuddy

I have code here for a form that submits the data to receivers email. When I click the send this form button, it submits the email to receivers address. Following is the code that i'm using to send email [CODE]function send_mail_users($myname, $myemail, $contactname, $contactemail, $subject, $message) { $headers .= "MIME-Version: …

Member Avatar for aithabuddy
0
211
Member Avatar for RicardoE

Hi I would like a crhon job to do the following: 1) copy a zip file, eg: [url]www.somesite.com/file.zip[/url] to [url]www.mysite.com/file.zip[/url] 2) unzip such file 3) move the unziped files to another directory, after reading one of those files. Please, I have no idea on how to do this... (my thing …

Member Avatar for RicardoE
0
137
Member Avatar for Aamit

Hi, I tried to read html content of 100 links. It is working for few links,after few links it is asking for captcha. E.g:- [B]It check 30 links then captcha come. Again After few hours gone. it start working[/B]. because of this i used proxy using cURL.But still captch coming. …

Member Avatar for Aamit
0
91
Member Avatar for shredder2794

Hello all, I am trying to strip all of the white space,front and back, from a variable that has the value of a text box in it. I've tried so many different techniques but to no avail... here is an example of some of my code... [code]var firstname =(document.registration_form.FirstName.value); if …

Member Avatar for ivatanako
0
395
Member Avatar for yorro
Member Avatar for yorro
0
222
Member Avatar for Kniggles

Hello , I am stuck on this line of code [CODE]echo $hits[0];[/CODE] i am trying to get it to echo into a text box as an integar. at the moment the code [CODE]<?php $count_my_page = ("hitcounter.txt"); $hits = file($count_my_page); $hits[0] ++; $fp = fopen($count_my_page , "w"); fputs($fp , "$hits[0]"); fclose($fp); …

Member Avatar for tomato.pgn
0
211
Member Avatar for Lalita_shah

Hi, I am adding content to my site using CMS.There are number of boxes in my site.I am adding text to that boxes.width and height of every boxes are 150.When i add more content in the boxes thr CMS-admin the matter is not viewable in that box i.e the matter …

Member Avatar for jkon
0
90
Member Avatar for showman13

I have an issue with an insert statement not producing what I think it should produce... Here are the relevant parts of the code: [CODE] $free_pos[0][0] = $free_pos[1][0] = $left_top = $row[0];// value is 10000002 $free_pos[0][1] = $free_pos[1][1] = $left_step = $row[1];// value is 1 $free_pos[2][0] = $free_pos[3][0] = $right_top …

Member Avatar for pool_89
0
327
Member Avatar for Clanstrom

Hi there. Thinking about creating a membership registration-enabled website, that will store people names and some info about them, after they register, but what i can't begin to make is a PHP code that whenever, a user searchs ( In a search box ) a name of another user, that …

Member Avatar for ivatanako
0
203
Member Avatar for nitnayak

Hi i am new for PHP. I want help, I added one selection box in my form and some text box and one Save button.When page load Selection box fills with some data form MySQL table,i know this much only now i want when i select other value from selection …

Member Avatar for saadsaidi
-1
844
Member Avatar for Kniggles

[CODE]<HTML><HEAD> <?php $ids = ("number.txt"); $id = file($ids); echo $id[0] ?> <INPUT value=("$id[0]") name="number"> </HEAD><BODY> </BODY></HTML>[/CODE] How come <INPUT value=("$id[0]") dos not = the out put 5 or what ever ("number.txt") is ? it should be in a read only text box id = number.

Member Avatar for Kniggles
0
168
Member Avatar for crazycat503
Member Avatar for chrishea
0
51
Member Avatar for nasir.perwaiz

I am developing a web application in php. My task is to download all the mails from a mail server and save it into the database and the attachments will be saved in a folder. The user then opens up the mails with their attachments inside the application. The mails …

Member Avatar for mindmyweb
0
111
Member Avatar for jrotunda85

I have a large amount of items stored in my DB (around 3,000 total and growing) and I have a list of them sorted alphabetically that displays on a page. I was interested; however, in having the items display in blocks instead that look something like: [INDENT][B]A[/B] [All items that …

Member Avatar for diafol
0
123
Member Avatar for jrotunda85

I am in the process of trying to create a search option for my database; however, I need the user to be able to submit one search which looks at three tables in the database. I'm using the following right now and it's working for each individual one (I have …

Member Avatar for jrotunda85
0
203
Member Avatar for navdeep7489

Can anybody tell me how to handle more number of requests on server using PHP ? If there are 1000 request capability of web server at a time and if more number of requests (say 1500) are encounter on server at a time, then how the SEVER maintains and process …

Member Avatar for chrishea
0
112
Member Avatar for ofir0803

Hi i have this string: [CODE]<div class="col-price"> <h4>you save</h4> <span ><span class="currency">$</span>32</span> </div> <div class="col-price"> <h4>discount</h4> <span >52%<span class="persent"></span></span> </div> <div class="col-price last"> <h4>original price</h4> <span ><span class="currency">$</span>62</span> </div>[/CODE] i want to be able to find the values of: [I]you save[/I], [I]discount[/I] and [I]original price[/I]. the desierd output: 32, 52, …

Member Avatar for kekkaishi
0
141
Member Avatar for veledrom

Hi, If you set [B]$dowhat [/B]to [COLOR="Green"]"Clean"[/COLOR], I get this error message : [ICODE]Warning: setcookie() expects parameter 1 to be string, array given in C:\wamp\www\....[/ICODE] which is line 18. However, if I remove unserialize() function from same line, I get [ICODE]Warning: Cookie names cannot contain any of the following '=,; …

Member Avatar for veledrom
0
2K

The End.