396 Posted Topics

Member Avatar for veledrom

Hi, I want to re-use already estanbished DB connection but I don't know know how to do it. Please help me to modify my code below. Thanks in advance [CODE]function connectDB(){ $host = "localhost"; $uid = "root"; $psw = ""; $db = "mydb"; $hostc = @mysql_connect($host, $uid, $psw); if($hostc){ $dbc …

Member Avatar for veledrom
0
93
Member Avatar for veledrom

Hi, I have a few SOAP+WSDL examples and all work fine. All have this bit in all my WSDL files: [CODE]<definitions name="MyExample" targetNamespace="http://localhost/myapache/friends.wsdl" xmlns:tns="http://localhost/myapache/friends.wsdl" [COLOR="Red"]xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"[/COLOR] >[/CODE] I am wondering if I can host these 3 links (last 3 with red coloured) on my local server as well. I …

0
46
Member Avatar for veledrom

Hi, When I send bulk emailsto many people I want to get reports like "how many delivered, how many failed, who opened, who didn't open etc.". Is this possible with PHP, if so which PHP mail package would be the best. Thanks in advance

Member Avatar for mschroeder
0
92
Member Avatar for jk_bscomp

For Oracle 10g Express Edition; [url]http://www.oracle.com/technology/software/products/database/xe/htdocs/102xewinsoft.html[/url] Download "Oracle Database 10g Express Edition (Universal) or (Western European)". Note: You have to create an account for permission. Easy and simple one. Also Download Oracle SQL Developer from [url]http://www.oracle.com/technology/software/products/sql/index.html[/url] for GUI. For MySQL; [url]http://www.en.wampserver.com/download.php[/url] Download Wampserver 2.0 in the page. After all, there …

Member Avatar for Ezzaral
0
273
Member Avatar for veledrom

Hi, I can print anything from any software. When I check the properties of my (hp LaserJet 1320), the 'owner' column has the name of my Windows XP login account which is 'Fella'. All fine up to here. When use code below, the properties of my (hp LaserJet 1320), the …

0
58
Member Avatar for veledrom

Hi, I want to create a page where I send something to print to print out. If the process commited I should get TRUE if not FALSE message. Is this possible with PHP? Thanks

Member Avatar for Ajit Arora
0
52
Member Avatar for veledrom

Hi guys, I have a query which returns 0 (zero) as a result not as a row in MySQL interface. However, when I run it in PHP the query doesn't return anything although there is one value which is 0. It is a Decimal type. Neither of these work. Result …

Member Avatar for ko ko
0
76
Member Avatar for veledrom

Hi, I have a laptop an want to install a Linux Distro to use Apache2, PHP 5 and MySQL. I don't want to run it CD though (I think it is called Live CD). I just want to intall it and never use CD again. What do you suggest me …

Member Avatar for Elihu5991
0
255
Member Avatar for veledrom

Hi guys, I am thinking to buy Sony VAIO S Series VPC-S12L9E/B but I have an important question. Do you think SONY is Linux compatible? Or if you have any other suggestions? Thanks

Member Avatar for khakilang
0
118
Member Avatar for veledrom

Hi guys, I accidently inserted "&nbsp;" into one column in mysql database. Column has one char length space as it is expected after insertion. However, in php code, I can not do this: None of these returns Yes. [code] if(substr($data, 0, 1) == "&nbsp;"){ echo "Yes"; } if(substr($data, 0, 1) …

Member Avatar for thebreadguru
0
229
Member Avatar for veledrom

Hi, I've done this silly thing. How can I bring old setting/permissions back. Thanks advance [code] ubuntu@ubuntu:~$ sudo chmod 444 /var/www [sudo] password for ubuntu: ubuntu@ubuntu:~$ ls -l /var/www ls: cannot access /var/www/index.html: Permission denied ls: cannot access /var/www/http: Permission denied total 0 d????????? ? ? ? ? ? http …

Member Avatar for veledrom
0
1K
Member Avatar for veledrom

Hi, I want to connect to a external server to either copy image.jpg to my local computer or list all the files stored in a path. How can I do this? I think cURL is used but examples on the web are not working for me. Thanks in advance For …

Member Avatar for hielo
0
241
Member Avatar for veledrom

Hi, I need a command line to list all the image files that are stored in another server. I have username, pasw, ip and port. However, code below doesn't work. Either with php or command line will be accepted. Thanks in advance [CODE]$pathToImages = root:123123@192.168.10.02:22 /var/www/vhosts/pictures/[/CODE]

Member Avatar for veledrom
0
242
Member Avatar for veledrom

Hi, I have a php script that runs on serverX(Reader Server) to read files that are in serverY(Source Server) to copy them one by one into a particular folder in serverX(Reader Server). Reader Server: host: 192.168.10.1 uid: root psw: 123123 whereToCopy: /var/www/html/store_here Source Server: host: 192.168.10.2 uid: root psw: 123123 …

Member Avatar for veledrom
0
63
Member Avatar for veledrom

Hi, There was a method that removes all the default setting of padding and margin for browser. I cannot remember it. Something like this. [code] ?????? { padding:0px; margin:0px } [/code] Thanks[code][/code]

Member Avatar for charlesying
1
95
Member Avatar for veledrom

Hi, I want to align this layout in the middle of the web page. How can I do it? I don't want to use table. Thanks in advance [code] <html> <head></head> <body> <div id="container"> <div id="header">Header bits go here</div> <div id="content">Content bits go here</div> <div id="footer">Footer bits go here</div> </div> …

Member Avatar for digital29
0
282
Member Avatar for veledrom

Hi, I can't find the missing thing in this code. "05-MAY-08" is in the table but, [inlinecode]( CURSOR_TARIH%FOUND )[/inlinecode] never returns TRUE. When i do manuel query it is ok. Thanks [CODE] create or replace PROCEDURE A_SIPARIS_EKLE_SP IS CURSOR CURSOR_TARIH IS SELECT TARIH FROM A_ACCOUNT WHERE TARIH = to_date('05-MAY-08', 'DD-MM-YY'); …

Member Avatar for babyDBA
0
198
Member Avatar for veledrom

Hi, I have never use CMS before and want to learn. For a beginner, do you think Joomla would be easy for me to learn or Drupal? Thanks

Member Avatar for peter_budo
0
135
Member Avatar for veledrom

Hi, Is this structure correct guys because I get this error message "Fatal error: Class doL contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (AbstractData......." Thanks in advance [code] abstract class AbstractDatabase{ ... Some function ... abstract public function setLogin(); abstract protected function …

Member Avatar for sergb
0
87
Member Avatar for veledrom

Hi, I need a script to resize JPG, GIF, BMP, TIFF so on. [B][COLOR="Red"]NOT only[/COLOR][/B] for JPG please. I'll be happy if anyone can help me out. Thanks in advance

Member Avatar for muralibobby2015
0
94
Member Avatar for veledrom

Hi, There is a webform which manipulates a lot of database tables after submit action by a user. Is there any easy way of finding out which tables have been affected after the process? Database has 259 tables and php pages and classes are very messy and complex. Also no …

Member Avatar for veledrom
0
65
Member Avatar for veledrom

Hi, If I use Paypal, I don't need to implement any security features in my website. All happens in Paypal's website. (I hope what I am saying here is correct!) What is the the difference between Paypal method and using normal banks like Barclays, Natwest, HSBS, RBS etc. Moneywise please. …

Member Avatar for ZacharyTaylor
0
118
Member Avatar for veledrom

Hi, I just installed Karmic Koala Ubuntu. Can I have PHP4 and PHP5 runing on my machine at same time? I ask this question because, some web applications use PHP4 others PHP5. If not, do I have to have 2 separate computer? If it is possible, how do I do …

Member Avatar for jmo
0
74
Member Avatar for veledrom

Hi, I have code below works fine but I want links to be listed different way. If you want you can use my code, otherwise I am open for your codes. [COLOR="Red"]Original style: [/COLOR] Previous 1 | 2 | 3 | 4 | 5 | 6 | 7 Next If …

Member Avatar for veledrom
0
485
Member Avatar for veledrom

Hi, I just installed Karmic Koala Ubuntu. I know that PHP4 (as CGI) and PHP5 (as module) can run at same time? There are some examples on the web but they are all old. I couldn't get around. Can anyone help me with this? I have LAMP already installed on …

Member Avatar for cwarn23
0
62
Member Avatar for veledrom

Hi, SQL below returns 1, 2, 3 in three rows. I want to see only 3 because there are total 3 records. How can I solve this problem. Thanks [CODE]SELECT COUNT(*) as totalProduct FROM customers INNER JOIN uploads ON customers.id = uploads.fk_id GROUP BY name[/CODE]

Member Avatar for veledrom
0
95
Member Avatar for veledrom

Hi guys, I use Ubuntu 9.04 and want to setup a secure server on my local computer. As I am new I need step by step guide how to do it. I'll be very happy if I get help from you to do it. Thanks in advance

Member Avatar for veledrom
0
186
Member Avatar for veledrom

Hi, What permission should I give to var/www folder in my ubuntu? Group: mywebusers Users under "mywebusers" : site1-user, site2-user, site3-user I'll have: var/www/ -> No one should access to this main root folder var/www/site1 -> accessible on the web (only for: site1-user) var/www/site2 -> accessible on the web (only …

Member Avatar for veledrom
0
127
Member Avatar for veledrom

Hi, I deliberately do mistake on line [inlinecode]INSERT INTO table2.......[/inlinecode] but, it still commits despite variable of rowcount is set to 0. How can solve it? Thanks [code] BEGIN DECLARE rowcount INT; INSERT INTO table1 ……… SELECT row_count() INTO rowcount; IF (rowcount=1) THEN SET rowcount=0; INSERT INTO table2 …………….. SELECT …

Member Avatar for ndowens
0
105
Member Avatar for veledrom

Hi guys, I opened this threat in here because unfortunately our Linux forum hasn't been supported well. I am sorry for the inconvenience caused by me. Problem: I cannot download a file (index.php) from a particular folder (/var/www/teams/team1) via Filezilla. I am sure that it is related to the permissions. …

0
55
Member Avatar for veledrom

Hi, I installed vsftp and filezilla. I use host:127.0.0.1, user:root, password:(don't have any), post:21 to connect to ftp but not successful. Does anyone know how to do this? Thanks

Member Avatar for veledrom
0
79
Member Avatar for veledrom

Hi, How do I change maximum connection to mysql database and maximim user connection to mysql? Thanks

Member Avatar for veledrom
0
85
Member Avatar for veledrom

Hi, This is what I do in Ubuntu Terminal to compress a folder but doesn't actually compreass and create backup file. [CODE]ubuntu@ubuntu:~$ tar cvzf backup.tgz /var/www/compression/1/ tar: Removing leading `/' from member names /var/www/compression/1/ /var/www/compression/1/text1.txt /var/www/compression/1/text2.txt ubuntu@ubuntu:~$ [/CODE] Help please. Thanks

Member Avatar for gerard4143
0
134
Member Avatar for veledrom

Hi, I have [icode]/var/www/compression/1[/icode] with 2 txt files in it. I want to compress those 2 txt files in same directory. How do I do it with Ubuntu Terminal and PHP script? Thanks

0
107
Member Avatar for veledrom

Hi, I have a captcha example and works fine. However, only image is dispayed on the screen. HTML form is not visible. I believe this related to the "header" bit in the class file. I added the code. Please help me solving this problem. Thanks [B]index.php[/B] [CODE]<?php require_once "CaptchaSecurityImages.php"; $width …

Member Avatar for veledrom
0
154
Member Avatar for veledrom

Hi, I have a folder with full of files. Instead of downloading files one by one, how can I zip or rar that folder to download? Thanks in advance

Member Avatar for samarudge
0
61
Member Avatar for veledrom

Hi guys, I am having difficulties to purchase a HONEST and DECENT Linux hosting for my PHP + MySQL website. I am asking you to suggest me one or two based on your experiences because most of hosting companies offer very exciting stuff but most of them are hustlers (I …

Member Avatar for mschroeder
0
898
Member Avatar for veledrom

Hi, I just start using Linux Ubuntu 8. I need a PHP development software like Dreamweaver with good features to use under Ubuntu. What do you prefer? It is to use PHP, HTML, XHTML, Javascript, CSS, XML etc. Thanks

Member Avatar for Stefano Mtangoo
0
172
Member Avatar for veledrom

Hi, This is what I am thinking to do. Do you think this approach is useful? Thanks index.php 1.Get user's ip 2.Get session id 3.Combine them together and do SHA1 it 4.Store result in a $_SESSION["secret"] login.php 1.Get user's ip 2.Get session id 3.Combine them together and do SHA1 it …

Member Avatar for webbespoke
0
63
Member Avatar for veledrom

Hi, Can we make secret.php bit invisible in action attribute of a form? I don't want users seing my post pages. [CODE]<form name='form1' method='post' action='secret.php'>[/CODE] Thanks

Member Avatar for diafol
0
20K
Member Avatar for veledrom

Hi, What is the best way of securing $_SESSIONs in PHP page that prevents $_SESSION spoofing? Any example! Thanks

Member Avatar for amd_k8
0
256
Member Avatar for veledrom

Hi, I want to create an example for buying multi products with Paypal button but I cannot do it. Can you help me with this? Thanks [CODE]<p>Buy Multi Products</p> <form name="form1" method="post" action="https://www.paypal.com/cgi-bin/webscr"> <input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="business" value="seller@hotmail.com" /> <input type="hidden" name="item_name_1" value="Charger" /> <input type="hidden" …

Member Avatar for veledrom
0
89
Member Avatar for veledrom

Hi, I have a resultset which is an array with either 1 or 2 or 3 or 4 ... dimentions. How can I find out how many dimentions are returned? Thanks

Member Avatar for diafol
0
101
Member Avatar for veledrom

Hi, Which one do you prefer CakePHP, Symfony, Zend Framework, CodeIgniter ? I need to decide on one to go for. Thanks

Member Avatar for veledrom
0
81
Member Avatar for veledrom

Hi, When I click BACK button on my Browser, all old variables were sent to URL are retrieved again. How can I destroy them? Thanks

Member Avatar for veledrom
0
3K
Member Avatar for veledrom

Hi, This is my URL [inlinecode]index.php?name=BSC&Subject=C++[/inlinecode] When I do [inlinecode]echo $_GET["Subject"];[/inlinecode], result is [B]C[/B] without ++ I also tried (string) and settype() functions but no luck How do I solve this problem? Thanks

Member Avatar for veledrom
0
165
Member Avatar for veledrom

Hi, I have this main folder (with some sub folders and files) in my ubuntu. [CODE]/var/www/asg[/CODE] When I run this [inlinecode]http://localhost/asg/index.php[/inlinecode]in browser, I get this error. [CODE]Forbidden You don't have permission to access /asg/index.php on this server. Apache/2.2.12 (Ubuntu) Server at localhost Port 80[/CODE] This is what i do but …

Member Avatar for veledrom
0
120
Member Avatar for veledrom

Hi, I have a folder with full of doc files. Instead of downloading the files one by one, is there any way of zip(rar)-ing them and download in one go with PHP? Thanks

Member Avatar for darkagn
0
23
Member Avatar for veledrom

Hi, When i try to restore a database, I get this error [CODE] ubuntu@ubuntu:~$ mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 44 Server version: 5.0.75-0ubuntu10.2 (Ubuntu) Type 'help;' or '\h' for help. Type '\c' to clear the buffer. …

Member Avatar for veledrom
0
135
Member Avatar for veledrom

Hi, I have a vertically sliding image gallery but the problem is when all the images are showed up one by one, it leaves long gap until it starts again. I want something without any space between. I mean no break, no picture-less space. Obviously all the images will have …

Member Avatar for almostbob
0
86

The End.