52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for best4earn

Whats the difference between Linux and windows hosting? Which Server is Best For Wordpress and custom PHP sites . I have Choosed goodady bcz its provide ssl, domain and hostin service in one place , kindly sejust me if another hosting provider best then godady

Web Development php web-server wordpress
Member Avatar for citizensith
0
543
Member Avatar for tahnooni

Hi there i would like to launch a classified website just like www.Dubizzle.com ,where can i get similiar theme ,what technolgoy are they using wordpress or what.Thanks

Web Development wordpress
Member Avatar for tahnooni
0
220
Member Avatar for Herve_1

Please answer these questions for me: Q1: Write a method, pow, that takes two (non-negative, integer) numbers, base and exponent and returns base raised to the exponent power. (No fair using Ruby's base ** exponent notation!). Q2: Write a method, sum which takes an array of numbers and returns the …

Web Development ruby
Member Avatar for Herve_1
0
149
Member Avatar for calebcook

I am using the [jQuery File Upload plugin by Blueimp](http://blueimp.github.io/jQuery-File-Upload/) to upload images to a server. The problem is, the sending server is `admin.example.com`, and the receiving server where the images are stored is on `www.example.com`. Same domain, different subdomain. I followed the [instructions here on setting up cross-domain uploads](https://github.com/blueimp/jQuery-File-Upload/wiki/Cross-domain-uploads#cross-site-xmlhttprequest-file-uploads), …

Member Avatar for calebcook
0
2K
Member Avatar for dstoltz

Hi all, I'm experimenting with hiding the .php extension for my webpages using the .htaccess file. Seems to work, but I have a few questions... Let's assume I have a page "www.mysite.com/test.php", and the rewrite changes it to "www.mysite.com/test" 1) I'm assuming my internal links should still reference "test.php" 2) …

Web Development php seo
Member Avatar for Dani
0
377
Member Avatar for lewashby

I created a small table with one entrey with three columns but I can't get it to show up in my php code. I'm not really doing anything with the form variables right now I'm mainly focused on getting the code below that to query my SQLite DB. <?php // …

Web Development php sqlite
Member Avatar for pritaeas
0
384
Member Avatar for jacob21

Hi, I am trying to populate year,day and month dropdown. It working fine without <option value="">Select</option> i.e empty option. But getting wrong no of days for month selection after adding select option <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>untitled</title> <script type="text/javascript"> var numDays = { '1': 31, …

Web Development javascript
Member Avatar for LastMitch
0
212
Member Avatar for Gopalkrishna_1

(1) 1)here i'm doing clone of a row...but this code is working only in eclipse [ ie ,cloning is working ] and it is also not working in anybrowsers. if i write <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "Page on W3"> to this code ,it will not work in …

Web Development javascript
Member Avatar for LastMitch
0
132
Member Avatar for Gloak

I've been doing computers for a few months now. Learnt a bit, but sometimes I don't know how to put my questions into words. I am developing a real estate page and I would like to do something similar to what we see in those real estate sites. I have …

Web Development google sql
Member Avatar for LastMitch
0
188
Member Avatar for pritaeas

http://phalconphp.com/ Anybody here who has already tried this one? Am curious to any experiences.

Web Development php
Member Avatar for LastMitch
0
110
Member Avatar for prnjn

Hi, I am learning struts 2 framework and i have also used OGNL in it for data transfer. The problem is when i run the Login.jps page on apache tomcat server through Eclipse Indigo , i get the error "HTTP Status 404 - /Priyanjan_banking/Login.jsp" Please help me out . The …

Web Development apache http-protocol java-jsp
Member Avatar for LastMitch
0
1K
Member Avatar for Dani

This seems kinda random but basically I have the following member function in my caching class: public function increment($key, $expires = 0) { // Requires OPT_BINARY_PROTOCOL return $this->cache->increment($key, 1, 0, $expires); } So then I want to do flood protection like this: $cache->increment('foo', 10) > 50 90% of the time …

Web Development caching-memcached php
Member Avatar for LastMitch
0
433
Member Avatar for amit.chaudhari.71

i have download php 5.3.27 windows installer from php.net then i download apache 2.4.4 windows installer from apache site. now i have successfuly installed apache 2.4.4. to check this i have write` http://localhost/` on the address bar and the out put is "its work". now the step to install php …

Web Development apache php
Member Avatar for veedeoo
0
6K
Member Avatar for dlmagers

Hello, everyone I am going to get right to the point. I am trying to create this index.php with a discounted display of the calculation. Here is my display.php page code. I have your classic $product_description, $list_price, and $discount_present. I think it might be working well the only problem that …

Web Development html-css php
Member Avatar for broj1
0
377
Member Avatar for adishardis

Hi, I have a table and I want to create a field to show whether it's the first occurrence (has the oldest date) of the id in that table. the table looks something like this and it's the last field I need help with creating a update code for. ----id----date_of_trans------custom_id--------cust_type----- …

Web Development mysql php
Member Avatar for broj1
0
187
Member Avatar for divyang.parmar

I have a displaytag to display results. But in this displaytag, I want the corresponding occid of the row. But I don't know due to some problem, it is showing me the id of the first row only. It works as follows- when i enter a name and click on …

Web Development display java-jsp javascript
Member Avatar for divyang.parmar
0
930
Member Avatar for kamilacbe

i have windows 2008 r2 server , and am trying to convert my videos from any type to mp4 format and everything is fine in local when am trying to do the same live webserver , Am able to upload the file and then when i try to convert the …

Web Development asp.net
Member Avatar for kamilacbe
0
1K
Member Avatar for kyle.santelices.31

hello kindly help , i have a login.php <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Login Form</title> <link rel="stylesheet" href="css/loginstyle.css" type="text/css" /> </head> <body> <div id="main-form"> <form name="form1" method="post" action="checklogin.php"> <input name="username" type="text" id="myusername"> <input name="password" type="password" id="mypassword"> <input type="submit" name="Submit" value="Login"> </form> …

Web Development html-css php
Member Avatar for kyle.santelices.31
0
2K
Member Avatar for joshl_1995

Hello Community, For my new service I'm making a way for users to make the're tracking links short. The URL is http://hitcounter.co but I can't think of any short versions of it because all the ones I've chosen have been taken such as http://hilnk.co, http://hlnk.co and http://hit.co. So I was …

Web Development
Member Avatar for joshl_1995
0
258
Member Avatar for adams2887

hi i am trying to upload an image but it doesn't work I have been trying for ages but without any luck. I was wondering if anyone would be kindly enough to take a look at it. Basicly i'm getting my echo error message "problem uploading image" displayed constantly, even …

Web Development file-system image php
Member Avatar for Raju_3
0
736
Member Avatar for devianleong

Here is my array: $a = array( “1” => “3”, “1” => “2”, “2” => “1”, “1” => “2”, “2” => “2”, ); and my expected output is : 1 = 7 , 2 = 3 How can I do that in foreach?

Web Development mathematics php
Member Avatar for pritaeas
0
14K
Member Avatar for Karry.Stewart

Hello, I`m seeking for an assistance in Payment Gateway integration to one of the web application which has already a paypal and needs replacing. The Integration Kit & API Documentation is available from Mobikwik wallet and where to start is what is confusing. They say in the instructions that simply …

Web Development api
Member Avatar for LastMitch
0
454
Member Avatar for calebcook

I'm using a plugin called [jQuery file upload](http://blueimp.github.io/jQuery-File-Upload/) to upload images to a page. Currently it uploads with the original image name as the file name (IMG_1234). I need a specific format for the image name on the server (eg 1.123456.jpg) I found this PHP code that works for changing …

Member Avatar for LastMitch
0
430
Member Avatar for azegurb

Hi all, I have taken from net drop down menu (Drop down chrome menu). it is written in Object oriented background. but i would like to get it simple and concise. i wrote it in a prosedural background again. below is original script. 1-is HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

Member Avatar for LastMitch
0
301
Member Avatar for Rachael_1

Hi, I would like to have my pop-up(upon clicking create order) to be visible even after an error msg appears. How can I do it? <?php $selection = ''; $type = ''; $size = ''; $bidprice = ''; $offerprice = ''; $stoploss = NULL; $takeprofit = ''; //////////////////////////////// $Error = …

Web Development html-css php
Member Avatar for LastMitch
0
273
Member Avatar for dfaulted

I'm testing my script in PHP 5.5, works perfectly until I switch from MySQL to MySQLi. Error: Stack trace: #0 C:\xampp\htdocs\url_rewrite.php(52): tep_db_fetch_array(NULL) #1 C:\xampp\htdocs\url_rewrite.php(106): transform_uri(Array) #2 [internal function]: wrap_href(Array) #3 C:\xampp\htdocs\url_rewrite.php(12): preg_replace_callback('/(<[Aa][ ???]{1...', 'wrap_href', '<!DOCTYPE html>...') #4 [internal function]: callback('<!DOCTYPE html>...', 9) #5 {main} Line 52 of url_rewrite: $cat_Q = …

Web Development mysql php
Member Avatar for dfaulted
0
423
Member Avatar for inheaven

I am creating a new ASP.NET MVC 4 application (actually my first MVC application) that is a part of my previous ASP.NET web forms application. I have never used ASP.NET inbuilt authentication methods in any of my project. This new MVC 4 app will be published on a sub-domain of …

Web Development asp.net
Member Avatar for LastMitch
0
251
Member Avatar for cirbab4

I have the following repeater item: <asp:Repeater ID="RptLeaveRequests" runat="server" onitemdatabound="RptLeaveRequests_ItemDataBound"> <ItemTemplate> <table id="tableItem" runat="server"> <tr> <td style="width: 100px;"> <asp:Label ID="lblDate" runat="server" Text='<%#Eval("Date", "{0:dd/M/yyyy}") %>'></asp:Label> </td> <td style="width: 100px;"> <asp:Label ID="lblHours" runat="server" Text='<%#Eval("Hours") %>'></asp:Label> </td> <td style="width: 200px;"> <asp:Label ID="lblPeriod" runat="server" Text='<%#Eval("AMorPM") %>'></asp:Label> </td> <td style="width: 200px; font-size:10px;"> <asp:Label ID="lblNote" runat="server" …

Web Development asp.net session
Member Avatar for LastMitch
0
850
Member Avatar for secretply

I have the following code executed on window load: var focuscheck = setInterval(focuswindow, 1000); $(anotherwindow).focus(function() { focuscheck = setInterval(focuswindow, 1000); }); $(anotherwindow).blur(function() { clearInterval(focuscheck); $("iframe:first", anotherwindow.document).on("mouseover", function(event) { focuscheck = setInterval(focuswindow, 1000); }); }); anotherwindow and focuswindow are fine so I won't post code for that. So this is how …

Member Avatar for LastMitch
0
688
Member Avatar for Ritesh_4

Hello, am currently facing an issue in tinymce 4 with the tiny_mce_popup.js (which is by default a 3.x plugin ported to 4.x in compatibility mode), when trying to insert an image in the text area using a custom filemanager, am getting errors in firebug on lines 45 and 108, and …

Web Development cms
Member Avatar for LastMitch
0
135
Member Avatar for gurungb03

I am a 3rd yr student and I have to do a FYP project. So guys can you please suggest topics that come across your mind( projects that you would do as your FYP). I am planning to make it web based system using HTML/CSS, PHP and the duration for …

Web Development html-css php
Member Avatar for diafol
0
289
Member Avatar for andreiviziru

I have a script that registers users and i want to implement in it this function to make for each user a folder with the name they supply so i used $user_folder = mkdir($_SERVER['HTTP_HOST'].'/user/'.$name, 0755); $name is the name they supplyed in the form so i get this "Warning: mkdir() …

Web Development php
Member Avatar for devianleong
0
151
Member Avatar for andreiviziru

so i have the following code and is not working // Make user folder if (!is_dir('../user/'.$name)) { $user_folder = mkdir('../user/'.$name, 0777); $user_index = copy('../login/user.php', '../user/'.$name.'/index.php'); if ($handle_append = fopen('../user'.$name.'index.php', 'w')) { echo 'Succes opening the file'; } else { echo 'Error opening the file'; die(); } $string = 'text to …

Web Development php
Member Avatar for andreiviziru
0
223
Member Avatar for Julia25

I found this slideshow http://jsfiddle.net/vengiss/QRWAD/6/ that works on my current project but the client requested to make the slideshow image clickable (with links), I tried adding "<a href="#"><img src" but it wont work :( any suggestion?

Web Development image javascript
Member Avatar for Julia25
0
3K
Member Avatar for NitsPatel

hello, My Plugins are in the Plugins Directory Plugin name is `acf-cf7`. and I include file in functions.php file like `include_once('acf-cf7/acf-cf7.php');` So, how i give Path in **include_once('acf-cf7/acf-cf7.php');** please give me suggestions thanks in advance

Web Development php wordpress
Member Avatar for NitsPatel
0
184
Member Avatar for saravananosiz

i need to convert this following data to graph how can i convert this data in php uri:/instrument/1.0/GOOG/chartdata;type=quote;range=5d/csv/ ticker:goog unit:MIN timezone:EDT currency:USD gmtoffset:-14400 previous_close:848.5500 range:20130823,1377264600,1377288000 range:20130826,1377523800,1377547200 range:20130827,1377610200,1377633600 range:20130828,1377696600,1377720000 range:20130829,1377783000,1377806400 Timestamp:1377264600,1377806400 labels:1377264600,1377523800,1377610200,1377696600,1377783000 values:Timestamp,close,high,low,open,volume close:848.1600,876.3100 high:848.5500,877.3462 low:847.7700,875.4200 open:848.1700,876.4000 volume:0,219200 1377264898,876.3100,877.3462,875.0100,875.0100,72300 1377265162,875.5900,876.4500,875.4200,876.4000,23000 1377265495,873.5620,876.0300,873.5601,875.7300,20200 1377265786,873.5400,874.4200,873.0201,873.5100,32100 1377266090,873.3450,873.5100,872.3800,873.4900,22800 1377266399,872.0500,873.2600,871.6400,873.2600,20100 1377266678,871.9100,872.0100,870.5501,871.7100,26600 1377266986,871.7200,871.7200,870.5460,870.9700,9700 1377267296,872.5100,872.8700,870.4700,871.6150,19900 1377267599,871.9920,872.6900,871.7100,872.6700,17600 1377267882,871.7500,872.5000,871.2400,872.2700,6700 1377268197,872.6290,872.9929,871.6200,871.9400,18600 1377268497,872.3000,873.0490,872.2900,872.4450,14200 …

Web Development finance php
Member Avatar for saravananosiz
0
348
Member Avatar for websponge

Hi, I have a large monitor at work on the wall, and I want to display some simple information, I have set up WAMP on my desk PC, I want to enter information on my desk PC and submit that data, and it displays on the main screen, I have …

Web Development first-post php
Member Avatar for websponge
0
255
Member Avatar for diya45

hey all i complete with task upload file that is user upload their files and download it now here i want to ask when user upload file then this file forward to manager for approval .. then when manger login and view the uploaded file, and click an "approve or …

Web Development asp.net file-system
Member Avatar for JorgeM
0
263
Member Avatar for devianleong

Hi, I'm developing a mall script.Here is the senario. When user add item to the cart the session will store product ID. THen I've some function to display product name, price, merchant id & etc from product ID parameter. Now I want to get a shipping price base on the …

Web Development php session
Member Avatar for pritaeas
0
170
Member Avatar for LiBOC

Dear all, :confused: If I have a javascript variable with a value in it. How do I RETRIEVE the value of it and insert it into my <TD> cell? I am using a table to input values to <CANVAS> tag to draw a graph based on the values in <TD> …

Web Development html-css javascript
Member Avatar for hhhff
0
3K
Member Avatar for salii

I have a problem with php. I was trying to change my homepage on theme twentyeleven. Its a beginning of my functions.php script. Syntax error, unexpected T_IF is on line 1. Could you help me to find out whats the problem? <?php/** * Twenty Eleven functions and definitions * * …

Web Development php wordpress
Member Avatar for jessie.wauters.1
0
1K
Member Avatar for lloydsbackyard

will anybody please help me with this code..since it will give me this error: FPDF error: Some data has already been output, can't send PDF file... my php code below: <form method="POST" action=""> <input type="submit" name="print"value="PRINT"> </form> <?php if (isset($_POST['print'])) { require('fpdf/fpdf.php'); class PDF extends FPDF { // Page header …

Web Development pdf php
Member Avatar for lloydsbackyard
0
922
Member Avatar for patk570

Hi guys, I am looking to get a script that has all the variations of the name Admin/Administrator so customers/more advanced users cannot use those types of names. I am either looking to know if a mysql insert into code or a jquery/js code would be the best to use. …

Web Development
Member Avatar for patk570
0
109
Member Avatar for sammry

am trying to show assigned variable for failed submission on a smarty form. array assigned as $arr = array($_POST[number]); $smarty->assign(number,$arr); and on tpl form, i added as below. {foreach from=$number item=no} <input name="number[]" type="text" value="{$no[{counter start=1}]}" /> {/foreach} am starting the counter from 1 because this is for dynamically added …

Member Avatar for sammry
0
922
Member Avatar for Black_Lion

I am using Microsoft Visual Web developer 2010. I have Google Maps embedded on my webpage and a textbox (txtBoxInput) using the code: <input runat="server" type="text" id="txtBoxInput"/> A button which displays a new map loction: <input type="button" id="btnDisplay" value="Display map" style="height:34px;width:90px;" onclick="showPoint();"/> I also have an aspn.net button (btnTest) using …

Web Development asp.net google-api javascript
Member Avatar for JorgeM
0
785
Member Avatar for jotapx

Hey! I am a newbie to php, but very interested in. I am currently on highschool and i am trying to make an appointment SQL table that could be managed, in a simple way, via browser that my sister could use. I was getting some results but then i messed …

Web Development html-css mysql php
Member Avatar for EvolutionFallen
0
532
Member Avatar for Kim_2

Here is the error I am getting: Parse error: syntax error, unexpected T_STRING in /html/gallery/1BDres1.jpg on line 96 Where would I begin to look for this code? I had a programmer working on this site, but he left me high and dry with very little knowledge of php...I can usually …

Web Development php
Member Avatar for EvolutionFallen
0
481
Member Avatar for Black_Lion

Hi All. I am using Microsoft Visual Web Developer 2010. I have embedded google maps into my webpage. I am using 4 textboxes: Street, City, Province and Postal Code. The user will enter these details then it will get put into a string variable like this `string location = street …

Web Development api asp.net google google-api
Member Avatar for Black_Lion
0
359
Member Avatar for Dani

Receiving this CodeIgniter message in my error log every so often (and by every so often I mean quite often): ERROR - 2013-07-21 07:26:40 --> Severity: Notice --> unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 124 of 187 bytes /home/daniweb/httpdocs/system/libraries/Session.php 724 Could a problem unserializing() be caused by a session cookie …

Web Development php session
Member Avatar for Dani
0
889
Member Avatar for minitauros

**The text:** `<form action="ajaxa/login" method="post" class="odf_ajax loading_image_left" data-target="ajax_login_form">` **The regex (to find the form's action):** `$regex = '/<form.+?action="(.+?)"/i';` **The expected result:** `Array (2): [0] => '<form action="ajaxa/login"', [1] => 'ajaxa/login'` **The actual result:** `Array (1): [0] => 'ajaxa/login'` Can anyone help me explain why this regex is not returning the …

Web Development php regex
Member Avatar for minitauros
0
152

The End.